# Booking API

Search Booking accommodations using destinations, check-in dates and property types to obtain room quotes, guest reviews and availability details.

Get one property by its URL. Observed availability is not a booking guarantee.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "booking", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/booking-api](https://everyinfra.com/en/booking-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### search — Search
Find hotels, apartments and other stays on Booking.com for a destination. Get official stars, guest score, price, breakfast terms, chain and location. Send dates as a `check_in` and `check_out` pair. Prices are as shown and are not held until you book.
- Sync delivery · Price: $1.39 per 1,000 requests (every 10 rows count as one call)
- Catalog values: defaultLimit=10, maxLimit=30. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): Specifies the property destination name, such as Amsterdam. Used by the search action to find hotels, apartments, and other accommodations, rather than flight, attraction, or review keywords.
  - `check_in` (optional): Specifies the check-in date in YYYY-MM-DD format. Search and profile actions require both check_in and check_out to send stay dates. For prices, this acts as the start date when start_date is omitted. Does not create bookings.
  - `check_out` (optional): Specifies the check-out date in YYYY-MM-DD format, which must be after check_in and provided together with it. Setting check_out alone will not pass stay ranges to search or profile actions.
  - `currency` (optional): Specifies the currency for property price displays, defaulting to USD. Accepts listed lowercase codes for search and profile actions, and uppercase three-letter codes for prices. This parameter does not change EveryInfra API billing. One of: aed, ars, aud, azn, bgn, bhd, brl, cad, chf, clp, cny, cop, czk, dkk, egp, eur, fjd, gbp, gel, hkd, huf, idr, ils, inr, jod, jpy, krw, kwd, kzt, mdl, mxn, myr, nad, nok, nzd, omr, pln, qar, ron, rub, sar, sek, sgd, thb, try, twd, uah, usd, xof, zar.
  - `lang` (optional): Specifies the property page display language, defaulting to British English. Accepts engb or enus for British or US English, and zhcn or zhtw for Simplified or Traditional Chinese (do not pass generic en or zh). This parameter does not translate review text. One of: ar, bg, ca, cs, da, de, el, engb, enus, es, esar, et, fi, fr, he, hr, hu, id, is, it, ja, ko, lt, lv, ms, nl, no, pl, ptbr, ptpt, ro, ru, sk, sl, sr, sv, th, tl, tr, uk, vi, zhcn, zhtw.
  - `min_price` (optional): Filters properties by a nightly price-range string rather than a single minimum value (for example, 100-150 for a range or 100+ for at least 100). The currency is set by the currency parameter, and total stay prices are not supported.
  - `property_type` (optional): Filters search results by accommodation category, retaining case and spaces (for example, Hotels, Apartments, Hostels, Guest houses, Homestays, Bed and breakfasts, Holiday homes, Boats, Villas, Motels, Resorts, Holiday parks, Campsites, Luxury tents, or none for no restriction). This parameter filters property categories, not specific room types.
  - `sort` (optional): Sorts property results by distance relative to location, popular for composite review ranking, or top_rated for star rating rather than guest review score. Search defaults to popular, while profile queries ignore sorting. One of: distance, popular, top_rated.
  - `star_rating` (optional): Filters properties by star rating, accepting 1_star through 5_stars, unrated for unrated properties, or any to remove restrictions. Property star ratings are separate from guest review scores. One of: 1_star, 2_stars, 3_stars, 4_stars, 5_stars, any, unrated.
- Returns fields: id, name, type, url, text, stars, rating, rating_scale, rating_label, review_count, price, currency, breakfast, hotel_chain, check_in_date, check_out_date, address, city, country, latitude, longitude, image_url, platform, category_ratings, image_urls, facilities
- Capability page: [https://everyinfra.com/en/booking-api/search](https://everyinfra.com/en/booking-api/search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/booking-api/search.md)

### profile — Details
Get one Booking.com property from its /hotel/ page link. It includes description, type, official stars, guest score with category ratings, facilities, address and a quoted price. Official `stars` and the guest `rating` are separate measures. Adding dates does not lock in the price.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `url` (required): Specifies the full URL to a single property page, preferably using the /hotel/ path format. Used by profile to fetch details, reviews to retrieve property reviews, and prices to check room rates. Destination search URLs are not supported.
  - `check_in` (optional): Specifies the check-in date in YYYY-MM-DD format. Search and profile actions require both check_in and check_out to send stay dates. For prices, this acts as the start date when start_date is omitted. Does not create bookings.
  - `check_out` (optional): Specifies the check-out date in YYYY-MM-DD format, which must be after check_in and provided together with it. Setting check_out alone will not pass stay ranges to search or profile actions.
  - `currency` (optional): Specifies the currency for property price displays, defaulting to USD. Accepts listed lowercase codes for search and profile actions, and uppercase three-letter codes for prices. This parameter does not change EveryInfra API billing. One of: aed, ars, aud, azn, bgn, bhd, brl, cad, chf, clp, cny, cop, czk, dkk, egp, eur, fjd, gbp, gel, hkd, huf, idr, ils, inr, jod, jpy, krw, kwd, kzt, mdl, mxn, myr, nad, nok, nzd, omr, pln, qar, ron, rub, sar, sek, sgd, thb, try, twd, uah, usd, xof, zar.
  - `lang` (optional): Specifies the property page display language, defaulting to British English. Accepts engb or enus for British or US English, and zhcn or zhtw for Simplified or Traditional Chinese (do not pass generic en or zh). This parameter does not translate review text. One of: ar, bg, ca, cs, da, de, el, engb, enus, es, esar, et, fi, fr, he, hr, hu, id, is, it, ja, ko, lt, lv, ms, nl, no, pl, ptbr, ptpt, ro, ru, sk, sl, sr, sv, th, tl, tr, uk, vi, zhcn, zhtw.
- Returns fields: id, name, type, url, text, stars, rating, rating_scale, rating_label, review_count, price, currency, breakfast, hotel_chain, check_in_date, check_out_date, address, city, country, latitude, longitude, image_url, platform, category_ratings, image_urls, facilities
- Capability page: [https://everyinfra.com/en/booking-api/profile](https://everyinfra.com/en/booking-api/profile?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/booking-api/profile.md)

### reviews — Reviews
Collect guest reviews of a Booking.com property, with liked and disliked text kept apart, score, stay month, traveler type, room and any hotel reply. Either half can be empty, and the batch may not include every review.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `url` (required): Specifies the full URL to a single property page, preferably using the /hotel/ path format. Used by profile to fetch details, reviews to retrieve property reviews, and prices to check room rates. Destination search URLs are not supported.
- Returns fields: id, title, text_positive, text_negative, rating, rating_scale, posted_at, stay_date, author_name, author_country, traveler_type, room_name, nights, language, owner_response, platform
- Capability page: [https://everyinfra.com/en/booking-api/reviews](https://everyinfra.com/en/booking-api/reviews?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/booking-api/reviews.md)

### prices — Prices
Compare room rates for a Booking.com property day by day. Get room type, original and current price, taxes, refundability, meal plan and rooms left. The `days` window defaults to 7 and caps at 30. In each row, `check_in` and `check_out` are the stay dates that row's price applies to.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `url` (required): Specifies the full URL to a single property page, preferably using the /hotel/ path format. Used by profile to fetch details, reviews to retrieve property reviews, and prices to check room rates. Destination search URLs are not supported.
  - `adults` (optional): Specifies the adult guest count for price queries, accepting an integer and defaulting to 2. Used as a price query parameter only; does not cap returned room options or initiate a booking. Search operates with a fixed count of 2 adults.
  - `check_in` (optional): Specifies the check-in date in YYYY-MM-DD format. Search and profile actions require both check_in and check_out to send stay dates. For prices, this acts as the start date when start_date is omitted. Does not create bookings.
  - `currency` (optional): Specifies the currency for property price displays, defaulting to USD. Accepts listed lowercase codes for search and profile actions, and uppercase three-letter codes for prices. This parameter does not change EveryInfra API billing.
  - `days` (optional): Specifies how many calendar days ahead to query for prices, defaulting to 7 and constrained to 1–30 (values outside this range are clamped). Determines the query date window, not the length of stay for individual room rates.
  - `rooms` (optional): Specifies the number of rooms for price queries, accepting an integer and defaulting to 1. Determines the requested room count rather than the number of returned room options. Search operates with a fixed count of 1 room.
  - `start_date` (optional): Specifies the start date for daily price lookups in prices using YYYY-MM-DD format. Overrides check_in when both are provided. Does not represent review posting dates or property opening dates.
  - `limit` (optional): Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without `limit`, whatever the value.
- Returns fields: id, url, hotel_name, room_name, check_in, check_out, price, original_price, discount_percent, currency, taxes_included, is_sold_out, availability_status, min_stay, bed_type, max_guests, room_size_sqm, meal_plan, is_breakfast_included, is_refundable, rate_options_count, platform, rooms_left, room_view
- Capability page: [https://everyinfra.com/en/booking-api/prices](https://everyinfra.com/en/booking-api/prices?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/booking-api/prices.md)

## Booking API questions

### What can I retrieve with the Booking API?

Set `platform` to `booking`. The current catalog lists search, details, reviews, and prices. These action names identify different Booking objects or views; they are not interchangeable search modes.

### Which input starts the Booking `search` request?

Specifies the property destination name, such as Amsterdam. Used by the search action to find hotels, apartments, and other accommodations, rather than flight, attraction, or review keywords. Send it as `keyword` inside `params`.

### Which fields can Booking `search` return?

Its declared schema includes `name`, `type`, `text`, and `stars`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every Booking action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=booking
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
