Commerce5 min readBy Purrkey teamUpdated

How to search Booking.com stays by destination and dates

Search Booking.com stays for a destination and date range and get normalized hotel results with prices and review scores

On this page

You have 12 New York hotels to compare for a two-night stay in December 2026, and you need a shortlist for a client. Run a Booking.com search with two adults and one room, then sort the results by total price and review score

The worksheet below is the deliverable: one row per hotel, with price, review fields and a Shortlist column you add. No run has been executed for this article, so the table is a design, not a result

Example input and shortlist table design

The example input is invented for this guide. The reader replaces it with a real destination, dates and occupancy. Dates use YYYY-MM-DD

FieldExample value
queryNew York
checkIn2026-12-05
checkOut2026-12-07
adults2
rooms1
limit12
currencyUSD

The agent fills a table with these columns. Values here are placeholders showing the shape

namepricepricePerNightcurrencyreviewScorereviewScoreLabelreviewsCountstarsdistanceFromCenterfreeCancellationnoPrepaymentisSoldOuturlShortlist
Example Hotel A0.000.00USD0.0Example label03Example distancetruefalsefalse(hotel URL)yes or no
Example Hotel B0.000.00USD0.0Example label04Example distancefalsetruefalse(hotel URL)yes or no

Sort the filled table by price and then reviewScore, and mark the Shortlist column. The last column is yours; the tool does not return it

What the search input takes

anyapi.booking.search takes a destination city in query; query is required. The contract lists checkIn, checkOut, adults, children, rooms, currency and limit as optional properties. The reader supplies the destination and dates, adds guest and room counts, and sets limit to control how many hotels return. Agents call it through POST /v1/runs with toolId anyapi.booking.search

checkIn and checkOut use YYYY-MM-DD. If checkIn is omitted it defaults to tomorrow, and if checkOut is omitted it defaults to the day after check-in. currency defaults to USD. adults has a minimum of 1, children has a minimum of 0, and rooms has a minimum of 1

limit is the field that controls how many hotels return. It is 1 to 20 and defaults to 20. The contract says you are billed per result returned, so a lower limit costs less. For a first pass on the 12-hotel comparison, set limit to 12; for a cheaper test, set it to 3

How to read the result fields

The output has found and data. When found is false, reason is not_found, and the contract says a found: false answer is a successful call, not an error. When found is true, data.items holds hotel records

The fields that drive a shortlist are name, price, pricePerNight, currency, reviewScore, reviewScoreLabel, reviewsCount, stars, distanceFromCenter, freeCancellation, noPrepayment, isSoldOut and url. price is the total stay price in the requested currency. originalPrice is the pre-discount total stay price when present, and discountBadge is the promotion label Booking.com shows on the offer

Use reviewScore and reviewScoreLabel for the guest review score, with reviewsCount as the number of reviews. stars is the star rating class from 1 to 5. distanceFromCenter is the distance from the city center as Booking.com phrases it. freeCancellation and noPrepayment are boolean offer signals. isSoldOut tells you whether the property is sold out for the requested dates, and isClosed tells you whether the property is closed

For the shortlist, drop rows with isSoldOut true for the requested dates. Use freeCancellation and noPrepayment as notes for the client, not as substitutes for the price comparison

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to search Booking.com stays for a destination and date range. Check the current inputs and price of anyapi.booking.search before running anything. Call it once with the example input below, using limit 12. Return a table with name, price, pricePerNight, currency, reviewScore, reviewScoreLabel, reviewsCount, stars, distanceFromCenter, freeCancellation, noPrepayment, isSoldOut, url and a Shortlist column. Do not book anything.

Example input:
query: New York
checkIn: 2026-12-05
checkOut: 2026-12-07
adults: 2
rooms: 1
limit: 12
currency: USD

Replace the example input with your own destination and dates. Keep the first run small if you are testing the setup

Estimated tool cost

Prices from the Purrkey catalog, read November 13, 2026. The unit is max_call: "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings, not settled charges

StepFormulaUnit pricePlanned quantityTotal
One search, limit 31 call x max price$0.102 per call1$0.102
Ten searches, limit 2010 calls x max price$0.102 per call10$1.02

Model fees for the agent are not counted. The 12-hotel comparison sets limit to 12. The one-search row above uses limit 3 as the cheaper test

Next action

Open the Booking.com search tool page to run the example

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Booking.com.
Explore Booking.com tools and pricing

FAQ

How do I search Booking.com stays by destination and dates?

Use anyapi.booking.search with the required query field and optional checkIn and checkOut dates in YYYY-MM-DD format, plus guest counts, room count and limit. It returns hotel records with prices and review scores.

What inputs does anyapi.booking.search take?

The contract lists query as required and checkIn, checkOut, adults, children, rooms, currency and limit as optional properties. checkIn defaults to tomorrow, checkOut defaults to the day after check-in, and currency defaults to USD.

How many hotels can one search return?

limit is 1 to 20 and defaults to 20. The contract says you are billed per result returned, so a lower limit costs less.

What output fields should I use to build a shortlist?

Use name, price, pricePerNight, currency, reviewScore, reviewScoreLabel, reviewsCount, stars, distanceFromCenter, freeCancellation, noPrepayment, isSoldOut and url. Sort by price and reviewScore, then mark a Shortlist column.

What does found false mean for anyapi.booking.search?

When found is false, reason is not_found. The contract says a found false answer is a successful call, not an error.

How much does a Booking.com stay search cost?

The unit price is up to $0.102 per call under max_call. One search with limit 3 is one planned call at most $0.102, and ten searches with limit 20 are ten planned calls at most $1.02.

Next step

Try this with Booking.com

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See Booking.com tools

Share this article