---
title: "Booking.com Property Search API | ScrapeReviews"
description: "Search Booking.com properties by destination or name and get their ids, guest scores and review counts as JSON, to read their reviews with one more call."
url: "https://scrapereviews.com/docs/api/booking-search"
markdown: "https://scrapereviews.com/docs/api/booking-search.md"
---

# Booking.com search endpoint

GET`https://api.scrapereviews.com/v1/booking/hotels/search`1 credit per call, up to 10 results (also when nothing matches)

The Booking.com search endpoint returns the properties Booking.com lists for a destination or a property name, without dates: id (handle), name, URL, guest score out of 10 and number of reviews. meta.total is Booking.com's number of results.

It is Booking.com’s destination search: a hotel name may return the list of its city, with the hotel among the first results.

## Parameters

#### Query parameters

| Parameter | Type         | Default  | Description                                                          |
| --------- | ------------ | -------- | -------------------------------------------------------------------- |
| query     | string       | required | Destination or property name (1-200 characters)                      |
| limit     | integer 1-10 | 10       | Results per response                                                 |
| cursor    | string       | \-       | meta.next\_cursor of the previous response, with the same parameters |

Authenticate with your API key in the `X-API-Key` header or as `Authorization: Bearer` (see [authentication](https://scrapereviews.com/docs/authentication.md)).

## Example request

```bash
curl "https://api.scrapereviews.com/v1/booking/hotels/search?query=Paris" \
  -H "X-API-Key: sr_your_api_key"
```

## Response

Shape

```text
{ "data": Entity[], "meta": ListMeta }
```

Example (shortened)

```jsonc
{
  "data": [
    { "source": "booking", "type": "place", "id": "537945", "handle": "fr-ibis-budget-paris-porte-de-bercy",
      "name": "ibis budget Paris Porte de Bercy", "url": "https://www.booking.com/hotel/fr/ibis-budget-paris-porte-de-bercy.html",
      "rating": 7.5, "rating_scale": 10, "review_count": 7658 }
  ],
  "meta": { "credits_used": 1, "cache_hit": false, "count": 10, "total": 11885, "has_more": true, "next_cursor": "eyJ..." }
}
```

Every field is described in the [response models](https://scrapereviews.com/docs/api.md#models). Successful responses also carry the `X-Credits-Used` header.

## Cost

Search costs 1 credit per call, up to 10 results (also when nothing matches).

Only successful calls are billed: every error costs 0 credits. You get 30 free calls every month; see [pricing](https://scrapereviews.com/pricing.md) for credit packs.

## Errors

Errors come with an HTTP status and this JSON body: branch on `detail.error`, show `detail.message` to humans.

Example error

```json
{
  "detail": { "error": "invalid_parameter", "message": "query must not be empty" }
}
```

| HTTP | error                               | Meaning                                                                                                                        |
| ---- | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| 400  | invalid\_parameter                  | A parameter is invalid: bad domain, stars, language or date, missing query, limit out of range...                              |
| 401  | missing\_api\_key                   | No API key in X-API-Key or Authorization: Bearer.                                                                              |
| 401  | invalid\_api\_key                   | The key does not exist or has been revoked.                                                                                    |
| 402  | insufficient\_credits               | Your credit balance is 0.                                                                                                      |
| 422  | invalid\_cursor                     | The cursor is malformed, tampered with, or was created for other filters.                                                      |
| 429  | rate\_limit\_exceeded               | Too many requests per minute.                                                                                                  |
| 429  | insufficient\_credits\_retry\_later | The balance ran out on recent calls and the key is cooling down.                                                               |
| 502  | upstream\_changed                   | The source (Trustpilot, App Store or Google Play, named in the message) changed its format and the response could not be read. |
| 503  | upstream\_blocked                   | The source is temporarily blocking requests.                                                                                   |
| 503  | feature\_disabled                   | The endpoint is temporarily switched off by us (detail.feature names it). The call is not billed.                              |
| 504  | upstream\_timeout                   | The source did not answer in time.                                                                                             |

What to do for each code: [error handling](https://scrapereviews.com/docs/errors.md).

## Use cases

- List the properties of a destination to compare their scores.
- Find the id of a hotel from its name.

Related endpoints

- [Booking.com property](https://scrapereviews.com/docs/api/booking-hotel.md) GET /v1/booking/hotels/{hotel\_id}: A Booking.com property: guest score out of 10, review count, aspect scores, address, stars.
- [Booking.com reviews](https://scrapereviews.com/docs/api/booking-reviews.md) GET /v1/booking/hotels/{hotel\_id}/reviews: Guest reviews of a property (scores out of 10), with sort, language, score, traveller type and season filters.

ScrapeReviews is an independent service and is not affiliated with or endorsed by Booking.com.
