# Booking.com Rooms

Returns visible room names, prices, occupancy, and bed text when Booking renders room availability for the supplied dates.

- **Documentation:** [https://scrappa.co/docs/booking-api/booking_rooms](https://scrappa.co/docs/booking-api/booking_rooms)
- **API group:** Booking.com API
- **Endpoint:** `GET https://scrappa.co/api/booking/rooms`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | No | Full Booking.com hotel URL (e.g. https://www.booking.com/hotel/fr/ritz-paris.html). Either url OR (country + slug) is required. |
| `country` | string | No | 2-letter country code (e.g. fr, us, de). Used together with slug. |
| `slug` | string | No | Hotel slug from the Booking.com URL (e.g. ritz-paris). The trailing .html is optional. |
| `checkin` | string | No | Check-in date (YYYY-MM-DD). |
| `checkout` | string | No | Check-out date (YYYY-MM-DD). |
| `group_adults` | integer | No | Number of adults (1-30). |
| `group_children` | integer | No | Number of children (0-20). |
| `no_rooms` | integer | No | Number of rooms (1-30). |
| `lang` | string | No | UI language hint (e.g. en-us, de). |
| `currency` | string | No | 3-letter currency code (e.g. EUR, USD). |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/booking/rooms?country=fr&slug=muguet&checkin=2026-07-04&checkout=2026-07-06&group_adults=2"
```

## Example response

```json
{
    "data": {
        "rooms": []
    }
}
```

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
