Get Your API Key
Sign in at hasdata.com, go to your account settings, and copy your API key. All requests must include your key in thex-api-key header.
Request Cost and API Credits
Each request to the Booking Place API consumes API Credits from your account balance.- Cost per request: 10 API Credits
- Credits are deducted only for successful requests.
- Your total available credits depend on your active plan.
Make Your First Request
API Parameters
| Parameter | Default Value | Required | Description |
|---|---|---|---|
url | https://www.booking.com/hotel/fr/le-bristol-paris.html | Yes | Full Booking.com URL of the property page. Only booking.com and www.booking.com hosts are accepted. |
checkInDate | 2026-06-01 | Yes | Check-in date in YYYY-MM-DD format. Must be in the future and earlier than checkOutDate. |
checkOutDate | 2026-06-05 | Yes | Check-out date in YYYY-MM-DD format. Must be later than checkInDate. |
rooms | 1 | Yes | Number of rooms to book. |
adults | 2 | Yes | Number of adult guests across all rooms. |
children | - | Yes | Number of child guests across all rooms (0–10). Pass 0 if there are no children. |
childrenAgesJson | - | No | JSON-encoded array of child ages, one entry per child (each 0–17). Required when children > 0 and the array length must equal children. Must not be passed when children = 0.Example: [1, 3, 7] |
language | - | No | Language of the Booking.com interface and localized fields in the response. |
currency | - | No | Currency of the prices returned in the response. Use hotelCurrency to keep each property’s native currency. |