← Back to marketplace

Booking.com Hotels Prices and Availability Data

Booking.com worldwide hotel and property listings with stay prices, review scores and property details, one row per entity.

travel
by kaneliu101 endpoint100% uptime219ms avg

Endpoints

POST/v1/search
$0.0500/req

Search Booking.com hotels and room prices

Request schema

destinationstring

Destination. City, region, country, area or landmark, such as Tokyo or Lombardia. Fill this or detailUrls; leaving both empty starts a small example search.

detailUrlsarray

Hotel detail URLs. Booking.com hotel page URLs; these take priority over destination search and require enrichDetails=true. The list shares maxResults and detailEnrichLimit (at most 30); fewer properties may be returned when details are unavailable.

maxResultsinteger

Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).

checkinstring

Check-in Date. Arrival date in YYYY-MM-DD, today or later and no more than 500 days ahead. Leave both dates empty for arrival in 21 days and a two-night stay.

checkoutstring

Check-out Date. Departure date in YYYY-MM-DD, after arrival. If only one date is supplied, the missing date completes a two-night stay.

adultsinteger

Number of Adults. Number of adult guests, from 1 to 10.

childreninteger

Number of Children. Number of children, from 0 to 10. Missing child ages are filled with 8.

childAgesarray

Child Ages. Child ages from 0 to 17. When children is set, the list is padded with age 8 or shortened to match; otherwise valid ages determine the child count.

roomsinteger

Number of Rooms. Number of rooms requested, from 1 to 10.

currencystring

Currency. Preferred ISO currency code (e.g. 'USD', 'EUR', 'SGD'). Each row's currency field says which currency the shown price is in.

langstring

Language. Display language for property information, such as en-us, en-gb, de, fr or ja.

sortstring

Sort. Order of properties in destination search results.

propertyTypesarray

Property Types. Accommodation categories to include. Leave empty to include all categories.

starsarray

Star Ratings. Hotel star classes to include, from 1 to 5. Leave empty for no star filter.

minReviewScorenumber

Minimum Review Score. Minimum guest review score, from 0 to 10. Leave empty for no review-score filter.

freeCancellationboolean

Free Cancellation Only. Restrict destination searches to offers with free cancellation.

enrichDetailsboolean

Enrich hotel details. Add available public hotel details to up to detailEnrichLimit property rows. Contact fields can remain empty; rows without enrichment include reasons for missing information.

detailEnrichLimitinteger

Detail enrichment limit. Maximum properties to enrich, from 1 to 30, default 3. This also limits the number of supplied hotel URLs processed; other search rows remain in the results without enrichment.

destIdstring

Destination ID. Known Booking.com destination identifier. Supply it with destType to use that destination directly.

destTypestring

Destination Type. Destination kind paired with destId, such as city, region, country or landmark.

customNfltFiltersarray

Custom nflt Filters. Additional Booking.com filter fragments, such as class=5, oos=1 or review_score=80. These are combined with the selected accommodation filters.

countrystring

Country hint. Country name or code, such as US, GB or Germany. Use as a hint when a postal code or address cannot be matched to a destination.

requestIdstring

Optional. Your id for this request: repeating it while the job runs returns the same job.

Response schema

{
  "allOf": [
    {
      "type": "object",
      "properties": {
        "jobId": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "queued",
            "running",
            "succeeded",
            "partial",
            "failed",
            "cancelled"
          ]
        },
        "done": {
          "type": "boolean"
        },
        "rowsAvailable": {
          "type": "integer"
        },
        "rowsDelivered": {
          "type": "integer",
          "description": "Rows already delivered (and billed) to you for this job."
        },
        "rowsLimit": {
          "type": "integer",
          "description": "Most rows this job can deliver."
        },
        "estimatedFinishSec": {
          "type": "integer",
          "description": "While running: estimated seconds until done."
        },
        "statusUrl": {
          "type": "string"
        },
        "resultsUrl": {
          "type": "string"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        },
        "retentionHours": {
          "type": "integer"
        },
        "error": {
          "$ref": "#/components/schemas/ErrorDetail"
        }
      }
    },
    {
      "type": "object",
      "properties": {
        "offset": {
          "type": "integer"
        },
        "nextOffset": {
          "type": "integer"
        },
        "hasMore": {
          "type": "boolean"
        },
        "rowCount": {
          "type": "integer"
        },
        "rowsBilled": {
          "type": "integer",
          "description": "Rows delivered by this response."
        },
        "rows": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/Row"
          }
        },
        "meta": {
          "type": "object",
          "additionalProperties": true
        }
      }
    }
  ]
}

Quick start

Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.

# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call this service
npx @apihubio/cli call "https://proxy.apihub.io/booking-com/v1/search" \
  -d '{"destination":"Singapore","detailUrls":["string"],"maxResults":3,"checkin":"example checkin","checkout":"example checkout","adults":2,"children":0,"childAges":[],"rooms":1,"currency":"USD","lang":"en-us","sort":"popularity","propertyTypes":[],"stars":[],"minReviewScore":0,"freeCancellation":false,"enrichDetails":true,"detailEnrichLimit":3,"destId":"","destType":"","customNfltFilters":[],"country":"","requestId":"example requestId"}'

Or call the proxy directly (curl / any HTTP client):

curl -X POST https://proxy.apihub.io/booking-com/v1/search \
  -H "Authorization: Bearer ahk_your_key" \
  -H "Content-Type: application/json" \
  -d '{"destination":"Singapore","detailUrls":["string"],"maxResults":3,"checkin":"example checkin","checkout":"example checkout","adults":2,"children":0,"childAges":[],"rooms":1,"currency":"USD","lang":"en-us","sort":"popularity","propertyTypes":[],"stars":[],"minReviewScore":0,"freeCancellation":false,"enrichDetails":true,"detailEnrichLimit":3,"destId":"","destType":"","customNfltFilters":[],"country":"","requestId":"example requestId"}'

# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)

Pricing calculator

Estimate your monthly cost for Booking.com Hotels Prices and Availability Data.

POST /v1/search$0.0500/req
-