Threshold Rentals Quotes API

Binding prices for specific dates

GitHub OpenAPI

Operations 2

POST /v1/properties/{property_id}/quotes Quote a stay #
GET /v1/quotes/{quote_id} Get a quote #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/threshold-rentals:threshold-rentals-quotes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

threshold-rentals-quotes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Threshold Stays Quotes API
  version: 0.1.0
  summary: Search and book verified independent vacation rentals directly from hosts, with no guest fees.
  description: 'Find, quote and request bookings at verified independent vacation rentals, booked directly with the host. Guests pay no service fee.


    Flow: search → get the property → create a quote (the only binding price; it re-checks the host''s calendars) → show the guest the quote''s house_rules and cancellation.refund_schedule → request the booking → give the guest payment_url if one is returned → poll the booking.


    Money is in the smallest currency unit (cents). Dates are YYYY-MM-DD in the property''s time zone. Errors are application/problem+json with a stable `code`. Rate limits per IP and per agent token: searches 60 per minute, quotes 30 per minute, booking requests 10 per hour; over the limit you get 429 with Retry-After.


    Identify your agent with `Authorization: Bearer `: any stable token of 8+ characters. It''s required for booking requests and for reading or changing bookings, which are only visible to the token that made them. Never invent amenities; if the property doesn''t answer a question, use askHost.


    An MCP server with the same capabilities is at https://threshold.rentals/api/mcp.'
  contact:
    name: Threshold
    email: hello@threshold.rentals
    url: https://threshold.rentals/for-agents
  termsOfService: https://threshold.rentals/terms
servers:
- url: https://threshold.rentals/api
security:
- {}
- agentToken: []
tags:
- name: Quotes
  description: Binding prices for specific dates
paths:
  /v1/properties/{property_id}/quotes:
    post:
      tags:
      - Quotes
      operationId: createQuote
      summary: Quote a stay
      description: Binding price for dates and a party, after re-checking the host's calendars. Includes line items, booking mode, payment terms, refund schedule and house rules. Valid until expires_at. If the dates are taken, the 409 lists nearby alternatives.
      parameters:
      - name: property_id
        in: path
        required: true
        schema:
          type: string
        example: prop_01M3WQ4EDNN1GSRPG1MP1GETRD
      - name: Idempotency-Key
        in: header
        schema:
          type: string
          maxLength: 200
        description: Unique per attempt (e.g. a UUID). Retrying with the same key returns the original response instead of acting twice.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteRequest'
      responses:
        '201':
          description: The quote
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Quote'
        '400':
          $ref: '#/components/responses/Problem400'
        '404':
          $ref: '#/components/responses/Problem404'
        '409':
          $ref: '#/components/responses/Problem409'
        '422':
          $ref: '#/components/responses/Problem422'
        '429':
          $ref: '#/components/responses/Problem429'
  /v1/quotes/{quote_id}:
    get:
      tags:
      - Quotes
      operationId: getQuote
      summary: Get a quote
      description: A quote created earlier, with its current status (open, expired or converted).
      parameters:
      - name: quote_id
        in: path
        required: true
        schema:
          type: string
        example: quo_01M3XAMPLE
      responses:
        '200':
          description: The quote
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Quote'
        '404':
          $ref: '#/components/responses/Problem404'
        '429':
          $ref: '#/components/responses/Problem429'
components:
  responses:
    Problem422:
      description: The stay or guest details don't meet the listing's rules (e.g. min nights, max guests, house_rules_not_accepted)
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    Problem400:
      description: Invalid input (e.g. invalid_dates, unknown_amenity, place_not_found)
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    Problem404:
      description: Not found (property_not_found, quote_not_found, booking_not_found)
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    Problem409:
      description: Conflict (dates_unavailable with alternatives, quote_converted, refund_changed, not_cancellable, stay_started)
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    Problem429:
      description: 'Rate limited or too many open requests: see Retry-After'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
  schemas:
    Quote:
      type: object
      properties:
        id:
          type: string
        property_id:
          type: string
        status:
          type: string
          enum:
          - open
          - expired
          - converted
        check_in:
          type: string
          format: date
          example: '2026-11-13'
        check_out:
          type: string
          format: date
          example: '2026-11-13'
        check_in_time:
          type: string
        check_out_time:
          type: string
        nights:
          type: integer
        party:
          $ref: '#/components/schemas/Party'
        line_items:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
              label:
                type: string
              amount:
                $ref: '#/components/schemas/Money'
        total:
          $ref: '#/components/schemas/Money'
        due_now:
          $ref: '#/components/schemas/Money'
        compare_at:
          $ref: '#/components/schemas/CompareAt'
        security_hold:
          $ref: '#/components/schemas/Money'
        damage_deposit:
          type: object
          additionalProperties: true
          description: 'Present when the stay carries a damage deposit handled by Threshold. Nothing is held: the card the guest pays with is kept on file and charged, up to `amount`, only if the host reports damage within `claim_window_days` of check-out and the claim is upheld. Tell the guest this before they book (it is also the last item of house_rules).'
        booking_mode:
          type: string
          enum:
          - instant
          - host_confirms
        confirm_within_minutes:
          type: integer
          description: host_confirms only
        payment:
          type: object
          description: Who collects payment and when the card is charged. Tell the guest note.
          properties:
            collected_by:
              type: string
              enum:
              - threshold
              - host
            merchant_of_record:
              type: string
              enum:
              - threshold
              - host
            methods:
              type: array
              items:
                type: string
            checkout:
              type: string
            plan:
              type: string
              enum:
              - full
              - pay_later
            authorized_at_request:
              $ref: '#/components/schemas/Money'
            charged_on:
              type: string
              enum:
              - booking
              - host_acceptance
            charge_date:
              type: string
              format: date-time
            note:
              type: string
        cancellation:
          type: object
          properties:
            code:
              type: string
            summary:
              type: string
            refund_schedule:
              type: array
              items:
                $ref: '#/components/schemas/RefundTier'
        house_rules:
          type: array
          items:
            type: string
          description: Show these to the guest before requestBooking
        guest_verification:
          type: string
        availability_checked_at:
          type: string
          format: date-time
        expires_at:
          type: string
          format: date-time
    QuoteRequest:
      type: object
      required:
      - check_in
      - check_out
      properties:
        check_in:
          type: string
          format: date
          example: '2026-11-13'
        check_out:
          type: string
          format: date
          example: '2026-11-13'
        party:
          $ref: '#/components/schemas/Party'
    Party:
      type: object
      properties:
        adults:
          type: integer
          minimum: 1
          default: 1
        children:
          type: integer
          minimum: 0
        infants:
          type: integer
          minimum: 0
        pets:
          type: integer
          minimum: 0
        service_animals:
          type: integer
          minimum: 0
    RefundTier:
      type: object
      properties:
        until:
          type: string
          format: date-time
          description: Cancel before this time…
        refund:
          $ref: '#/components/schemas/Money'
          description: …to get this back
    Problem:
      type: object
      required:
      - type
      - title
      - status
      - code
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        code:
          type: string
      additionalProperties: true
      description: RFC 9457 problem details. Extra members depend on code, e.g. alternatives and unavailable_nights for dates_unavailable, valid_codes for unknown_amenity, preview for refund_changed.
    CompareAt:
      type: object
      description: 'Only when the host passes savings on: an estimate of the same stay on the host''s main booking site. Present it as an estimate.'
      properties:
        site:
          type: string
        estimated_total:
          $ref: '#/components/schemas/Money'
        savings:
          $ref: '#/components/schemas/Money'
        basis:
          type: string
    Money:
      type: object
      required:
      - amount
      - currency
      properties:
        amount:
          type: integer
          description: In cents
        currency:
          type: string
          example: USD
  securitySchemes:
    agentToken:
      type: http
      scheme: bearer
      description: Any stable token of 8+ characters identifying your agent. Bookings are visible only to the token that made them.
externalDocs:
  description: Guide for agent builders
  url: https://threshold.rentals/for-agents