API di Booking.com

Booking.com Ricerca API

Cerca soggiorni su Booking.com per destinazione e date con occupazione facoltativa di ospiti e camere e ottieni i risultati degli hotel (nome, prezzo, punteggio delle recensioni, località) come JSON normalizzato.

0,80 USD/1k richieste, paghi a richiesta, nessun abbonamento.

New York: Hotels - Booking.com
booking.com/searchresults.html?ss=New%20York
Booking.com
List your propertyRegisterSign in
New YorkCheck-in - Check-out2 adults · 1 roomSearch

Filter by:

Popular filters

New York: 3 properties found

1.3 miles from downtown

Subway Access

Free cancellation

Fabulous

2140 reviews

8.9

$638

2 nights, 2 adults

1.3 miles from downtown

Subway Access

Free cancellation

Fabulous

5980 reviews

8.6

$512

2 nights, 2 adults

1.3 miles from downtown

Subway Access

Good

4310 reviews

7.9

$298

2 nights, 2 adults

Cosa ha restituito l'APIitems[0]
{
"id": "68472",
"name": "The Ludlow Hotel",
"url": "https://www.booking.com/hotel/us/the-ludlow.html",
"stars": 4,
"price": 638,
"pricePerNight": 319,
"currency": "USD",
"rating": 8.9,
... 19 campi in più
}
Disponibilità
98,33%
30d · 478 chiamate
Richieste
494
30 g · settimanale, ultime 12 sett.
Risposta
3,2s
mediana · 30d

Prezzi e provider

Prezzi dell'API Booking.com Ricerca: una sola API, 2 provider intercambiabili

Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.

Paghi
8,00 USD
0,80 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 125 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni Booking.com Ricerca in una sola richiesta

requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `discountBadge`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a hotel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta completa.

Questo esempio mostra 30 campi su 31. Vedi tutti i campi

{
  "found": true,
  "data": {
    "items": [
      {
        "id": "68472",
        "name": "The Ludlow Hotel",
        "url": "https://www.booking.com/hotel/us/the-ludlow.html",
        "stars": 4,
        "price": 638,
        "pricePerNight": 319,
        "currency": "USD",
        "rating": 8.9,
        "reviewScore": 8.9,
        "reviewsCount": 2140,
        "address": "180 Ludlow Street, Lower East Side, New York",
        "city": "New York",
        "country": "US",
        "location": "Lower East Side",
        "latitude": 40.7215,
        "longitude": -73.9877,
        "image": "https://cf.bstatic.com/xdata/images/hotel/max1024x768/ludlow-exterior.jpg",
        "thumbnail": "https://cf.bstatic.com/xdata/images/hotel/square200/ludlow-exterior.jpg",
        "originalPrice": 718,
        "discountBadge": "Getaway Deal",
        "distanceFromCenter": "2.1 miles from center",
        "freeCancellation": true,
        "noPrepayment": true,
        "isClosed": false,
        "isSoldOut": false,
        "roomId": "rm-queen-101",
        "reviewScoreLabel": "Fabulous"
      },
      {
        "id": "51239",
        "name": "citizenM New York Times Square",
        "url": "https://www.booking.com/hotel/us/citizenm-new-york-times-square.html",
        "stars": 4,
        "price": 512,
        "pricePerNight": 256,
        "currency": "USD",
        "rating": 8.6,
        "reviewScore": 8.6,
        "reviewsCount": 5980,
        "address": "218 West 50th Street, Midtown, New York",
        "city": "New York",
        "country": "US",
        "location": "Midtown",
        "latitude": 40.7622,
        "longitude": -73.984,
        "image": "https://cf.bstatic.com/xdata/images/hotel/max1024x768/citizenm-lobby.jpg",
        "thumbnail": "https://cf.bstatic.com/xdata/images/hotel/square200/citizenm-lobby.jpg",
        "freeCancellation": true,
        "noPrepayment": false,
        "isClosed": false,
        "isSoldOut": false,
        "roomId": "rm-king-204",
        "reviewScoreLabel": "Fabulous"
      },
      {
        "id": "30217",
        "name": "Pod 51 Hotel",
        "url": "https://www.booking.com/hotel/us/pod-51.html",
        "stars": 3,
        "price": 298,
        "pricePerNight": 149,
        "currency": "USD",
        "rating": 7.9,
        "reviewScore": 7.9,
        "reviewsCount": 4310,
        "address": "230 East 51st Street, Midtown East, New York",
        "city": "New York",
        "country": "US",
        "location": "Midtown East",
        "latitude": 40.7548,
        "longitude": -73.9689,
        "image": "https://cf.bstatic.com/xdata/images/hotel/max1024x768/pod51-room.jpg",
        "thumbnail": "https://cf.bstatic.com/xdata/images/hotel/square200/pod51-room.jpg",
        "freeCancellation": false,
        "noPrepayment": false,
        "isClosed": false,
        "isSoldOut": false,
        "roomId": "rm-pod-single",
        "reviewScoreLabel": "Good"
      }
    ]
  }
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-11-21 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo endpoint.

  • querystring

    New York

    Città di destinazione in cui cercare soggiorni (es. Paris).

  • adultsinteger

    2

    Numero di ospiti adulti (es. 2).

  • checkInstring

    2026-09-01

    Data di check-in in formato YYYY-MM-DD (es. 2026-07-01). Il valore predefinito è domani.

  • checkOutstring

    2026-09-03

    Data di check-out in formato YYYY-MM-DD (es. 2026-07-05). Il valore predefinito è il giorno dopo il check-in.

  • childreninteger

    Numero di ospiti bambini (es. 1).

  • currencystring

    Codice valuta per i prezzi (es. EUR).

  • limitinteger

    3

    Maximum number of hotels to return (1-20, default 20). Some sources bill per result returned, so a lower limit can cost less.

  • requireFieldsarray

    Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `discountBadge`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a hotel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.

  • roomsinteger

    Numero di camere da prenotare (es. 1).

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per campo.

each itemdata.items[]

Hotel result records: name, price, review score, star rating, address, and location. Populated whenever the provider has data for the entity.

  • addressstring

    180 Ludlow Street, Lower East Side, New York

  • citystring

    New York

  • countrystring

    US

    ISO country code.

  • currencystring

    USD

  • discountBadgestringpuò richiedere

    Getaway Deal

    Promotion label Booking.com shows on the offer (e.g. Getaway Deal). Not every source returns it; name it in requireFields to be served by one that does.

  • distanceFromCenterstring

    2.1 miles from center

    Distance from the city center as Booking.com phrases it.

  • freeCancellationboolean

    true

    Whether the offer can be cancelled free of charge.

  • idstring

    68472

    Booking.com hotel identifier. Populated whenever the provider has data for the entity.

  • imagestring

    https://cf.bstatic.com/xdata/images/hotel/max1024x768/ludlow-exterior.jpg

    Primary hotel photo URL. Populated whenever the provider has data for the entity.

  • isClosedboolean

    false

    Whether the property is closed.

  • isSoldOutboolean

    false

    Whether the property is sold out for the requested dates.

  • latitudenumber

    40.7215

  • locationstring

    Lower East Side

    Neighborhood or area label.

  • longitudenumber

    -73.9877

  • namestring

    The Ludlow Hotel

    Populated whenever the provider has data for the entity.

  • noPrepaymentboolean

    true

    Whether the offer needs no payment up front.

  • originalPricenumber

    718

    Pre-discount total stay price in the requested currency.

  • pricenumber

    638

    Total stay price in the requested currency.

  • pricePerNightnumber

    319

  • ratingnumber

    8.9

    Guest review score (0-10).

  • reviewScorenumber

    8.9

    Guest review score (0-10).

  • reviewScoreLabelstring

    Fabulous

    Word Booking.com uses for the review score (e.g. Fabulous).

  • reviewsCountinteger

    2140

  • roomIdstring

    rm-queen-101

    Identifier of the room the quoted price is for.

  • starsinteger

    4

    Star rating class (1-5).

  • thumbnailstring

    https://cf.bstatic.com/xdata/images/hotel/square200/ludlow-exterior.jpg

    Small hotel photo URL.

  • urlstring

    https://www.booking.com/hotel/us/the-ludlow.html

    Populated whenever the provider has data for the entity.

top level
  • foundboolean

    true

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

FAQ

Sull'API Booking.com Ricerca

L'API Booking.com Ricerca di AnyAPI restituisce dati Booking.com come JSON normalizzato da una sola chiamata POST a /v1/run/booking.search. Cerca soggiorni su Booking.com per destinazione e date con occupazione facoltativa di ospiti e camere e ottieni i risultati degli hotel (nome, prezzo, punteggio delle recensioni, località) come JSON normalizzato. AnyAPI instrada ogni richiesta su 2 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 0,80 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 98,3% delle chiamate Booking.com Ricerca tramite AnyAPI è riuscito, con un tempo di risposta mediano di 3,2 secondi su 478 chiamate misurate.

Costa da 0,80 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

Cerca soggiorni su Booking.com per destinazione e date con occupazione facoltativa di ospiti e camere e ottieni i risultati degli hotel (nome, prezzo, punteggio delle recensioni, località) come JSON normalizzato. La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 98,3% delle chiamate Booking.com Ricerca tramite AnyAPI è riuscito, con un tempo di risposta mediano di 3,2 secondi su 478 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 125 chiamate Booking.com Ricerca a 0,0008 USD ciascuna.

AnyAPI interroga la successiva delle sue 2 fonti nella stessa richiesta, partendo dalla più economica, quindi una fonte che cade non fa fallire la tua chiamata.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/booking.search con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.