GET
# Google Travel Rooms API

See which rooms each booking site sells for a stay, with cancellation terms and breakfast per rate.

## Overview

Get room-level offers per booking site for one hotel and stay: room names, photos, bed and view features, and per rate the nightly and whole-stay price, free cancellation, and breakfast.

#### Contract note

Same parameters, validation, and default dates as Prices: supply check\_in and check\_out together in YYYY-MM-DD format, check-in today or later and check-out after check-in, or omit both to let Google choose. Google shows room detail only for booking sites with a sponsored listing on the hotel, usually a few, so Prices lists more sites than Rooms. A hotel with no bookable rate, or no room-level offers for the stay (vacation rentals have none), returns 404. No booking links are returned; use the partner's offer in Prices for a link.

### Endpoint URL

GET https://api.stayapi.com/v1/google\_travel/rooms 

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| entity\_token | string | Required | Opaque Google Travel token returned by Resolve, Search, or Similar. Tokens can be short or long (for example, a short token is CgoI0PjV-Zzk1JpgEAE). Use this token, not hotel\_id, for property drilldowns. |
| check\_in | date | Optional | Check-in date (YYYY-MM-DD). Must be today or later and supplied with check\_out. |
| check\_out | date | Optional | Check-out date (YYYY-MM-DD). Must be after check\_in and supplied with it. |
| adults | integer | Optional | Number of adults, 1 to 10. Default: 2. |
| currency | string | Optional | ISO 4217 code shaping every money field. Default: USD. |
| hl | string | Optional | UI language code. Default: en. |
| gl | string | Optional | Region or country code. Default: us. |

## Response schema

| Field | Type | Description |
| --- | --- | --- |
| check\_in / check\_out / currency | mixed | Requested stay dates (or Google's defaults when omitted) and the money currency. |
| partners | array | Booking sites with room-level offers: name, logo, official (true for the hotel's own website), perks, and rooms. |
| partners[].rooms | array | Room types as that site names them, with photos and features (beds, occupancy, view). Rooms are not matched across sites. |
| partners[].rooms[].rates | array | Per rate: price (nightly) and total\_price (whole stay) as formatted and value, free\_cancellation, cancellation\_policy (Google's text), free\_cancellation\_until (ISO date, null when the year is ambiguous or the text is not English), and breakfast\_included. |
| search\_metadata.provider | string | Always google\_travel. |

## Errors

Errors use RFC 7807 Problem Details (`application/problem+json`) with an `error_code`. Successful responses are always 2xx.

| Status | error\_code | When |
| --- | --- | --- |
| 400 | INVALID\_PARAMETERS | Invalid stay dates: only one of check\_in and check\_out, check-in before today, or check-out not after check-in. |
| 404 | NO\_RESULTS | No bookable rate, or no room-level offers for the stay. |
| 422 | VALIDATION\_ERROR | entity\_token is missing, or adults is outside 1 to 10. |
| 502 | SCHEMA\_DRIFT / UPSTREAM\_ERROR | Google's answer could not be read. Retry later. |
| 503 | SERVICE\_UNAVAILABLE | Temporarily unavailable. Honour the Retry-After header. |
| 504 | UPSTREAM\_TIMEOUT | Google did not answer in time. |

## Identifier workflow

#### Resolve once, reuse the token

Resolve a hotel name or run Search to get an entity\_token. Cache that token and use it for Summary, Info, Photos, Prices, Rooms, Similar, and Nearby requests.

## Related Google Travel endpoints

[Google Travel Resolve](/docs/endpoints/google-travel/resolve)[Google Travel Search](/docs/endpoints/google-travel/search)[Google Travel Review Summary](/docs/endpoints/google-travel/summary)[Google Travel Hotel Info](/docs/endpoints/google-travel/info)[Google Travel Photos](/docs/endpoints/google-travel/photos)[Google Travel Prices](/docs/endpoints/google-travel/prices)[Google Travel Similar Hotels](/docs/endpoints/google-travel/similar)[Google Travel Nearby Places](/docs/endpoints/google-travel/nearby)

Request

```curl
curl -G "https://api.stayapi.com/v1/google_travel/rooms" \
  -H "X-API-Key: YOUR_API_KEY" \
  --data-urlencode "entity_token=ChkI-tSR2IGm6OI7Gg0vZy8xMWg4NThxeGJ0EAE" \
  --data-urlencode "check_in=2026-11-10" \
  --data-urlencode "check_out=2026-11-12" \
  --data-urlencode "adults=2" \
  --data-urlencode "currency=USD" \
  --data-urlencode "hl=en" \
  --data-urlencode "gl=us"
```

Response

```json
{
  "success": true,
  "entity_token": "ChkI-tSR2IGm6OI7Gg0vZy8xMWg4NThxeGJ0EAE",
  "check_in": "2026-11-10",
  "check_out": "2026-11-12",
  "currency": "USD",
  "partners": [
    {
      "name": "Booking.com",
      "logo": "https://www.gstatic.com/travel-hotels/branding/icon_184.png",
      "official": false,
      "perks": [
        "Read Real Guest Reviews",
        "24/7 Customer service"
      ],
      "rooms": [
        {
          "name": "Superior Double or Twin Room",
          "photos": [
            "https://lh3.googleusercontent.com/hrppk/example"
          ],
          "features": [
            "1 double bed",
            "Balcony"
          ],
          "rates": [
            {
              "price": {
                "formatted": "$178",
                "value": 178.0
              },
              "total_price": {
                "formatted": "$355",
                "value": 355.0
              },
              "free_cancellation": false,
              "cancellation_policy": null,
              "free_cancellation_until": null,
              "breakfast_included": false
            },
            {
              "price": {
                "formatted": "$197",
                "value": 197.0
              },
              "total_price": {
                "formatted": "$394",
                "value": 394.0
              },
              "free_cancellation": true,
              "cancellation_policy": "Free cancellation until Nov 9",
              "free_cancellation_until": "2026-11-09",
              "breakfast_included": false
            }
          ]
        }
      ]
    }
  ],
  "search_metadata": {
    "provider": "google_travel"
  }
}
```
