# Hyatt Rooms API

Room types and returned cash, points, or mixed offers for a dated stay.

## Endpoint

`GET https://api.stayapi.com/v1/hyatt/rooms`

Authenticate with `X-API-Key`. Normal StayAPI quota applies. This limited-capacity beta endpoint is REST only. Temporary unavailability returns 503 with Retry-After.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| hotel\_code | string | Required | Exactly five ASCII letters or digits, for example MIACT. Normalized lowercase in the response. Use a known Hyatt code; this endpoint does not discover hotels or resolve URLs. |
| check\_in | date | Required | YYYY-MM-DD, today or later in UTC. |
| check\_out | date | Required | YYYY-MM-DD, 1–30 nights after check\_in. |
| adults | integer | Optional | 1–9 per room. Default 2. |
| rooms | integer | Optional | 1–2 identical rooms. Default 1. The same occupancy applies to each room. |
| children | integer | Optional | 0–4 per room. Default 0. |
| child\_ages | integer array | Conditional | Exactly one age 0–17 per child per room. Repeat the key: child\_ages=5&child\_ages=10. With two rooms, supply the party once, not twice. |

## Response

| Field | Type | Meaning |
| --- | --- | --- |
| success | boolean | true on a successful response. |
| hotel\_code, check\_in, check\_out | strings | Normalized code and requested dates. |
| adults, rooms, children, child\_ages, nights | integers / array | Requested occupancy, child ages, and stay length. |
| total | integer | Number of returned room types, including award-only rooms. |
| pricing\_scope | string | Always per\_room. Do not treat two-room amounts as combined totals. |
| cash\_available, awards\_available | booleans | cash\_available means a returned CASH rate. awards\_available means a returned POINTS, POINTS\_CASH, or CASH\_POINTS rate. Neither is exhaustive. |
| room\_types[] | array | room\_type\_code, name, nullable description/category/available\_rooms/accessible, photos (url and nullable caption), and rates. |
| room\_types[].rates[] | array | rate\_plan\_code, name, category (CASH, POINTS, POINTS\_CASH, CASH\_POINTS), nullable rate\_plan\_type, flags, taxes, and pricing fields. |
| rates[].per\_night, per\_night\_after\_tax, per\_night\_including\_fees\_before\_tax | number or null | Average nightly cash components per room when supplied. per\_night\_basis is average\_per\_room. |
| rates[].total, base\_total, currency | number / string or null | Explicit whole-stay cash and base cash amounts per room, with currency when supplied. Preserve null; never infer zero. |
| rates[].points, points\_average, points\_total | integer / number or null | Published nightly points, average nightly points, and explicit whole-stay points, respectively. Never multiply points by nights to invent points\_total. |
| rates[].points\_basis | string or null | upstream\_nightly\_quote for noncash rates; null for cash rates. |
| rates[].taxes[] | array | Nullable code, description, amount, and percentage. |
| rates[].description, payment\_description, cancellation\_description, cancellation\_code, penalty\_code, meal\_plan, guarantee\_type, loyalty\_eligible | nullable strings / boolean | Published rate terms when supplied; loyalty\_eligible is boolean or null. |

## Availability and pricing

All cash and points amounts are per room. Missing values remain null. Use exact whole-stay totals when supplied; a nightly quote does not establish a whole-stay points total. Cash and award flags describe only returned offers and do not prove exhaustive availability.

Confirmed empty inventory returns HTTP 200 with success true, total 0, room\_types [], and both flags false. This does not establish that the hotel is sold out. Ambiguous or failed responses remain errors.

There is no pagination, sorting, currency selection, locale selection, or cache-control parameter. Rates and availability may change before booking.

## Errors

Errors use RFC 7807 Problem Details with type, title, status, detail, instance, provider, and correlation\_id.

| Status | Meaning |
| --- | --- |
| 400 | Invalid hotel code, calendar dates, numeric bounds, or occupancy/date combination. |
| 422 | Missing required parameters or values that cannot be parsed as the declared integer or array types. |
| 401 / 402 / 429 | StayAPI authentication, quota, or rate-limit errors. |
| 502 | Invalid, ambiguous, challenged, or failed upstream response. An upstream rate limit is not a customer quota error. |
| 503 | Temporarily unavailable. Respect the Retry-After response header before retrying. |
| 504 | Upstream request timed out. |

[Hyatt API overview](/apis/hyatt)

Illustrative response. Rates and availability vary.

Request

```curl
curl 'https://api.stayapi.com/v1/hyatt/rooms?hotel_code=MIACT&check_in=2027-02-10&check_out=2027-02-12&adults=1&rooms=1' -H 'X-API-Key: YOUR_API_KEY'
```

Response

```json
{
  "success": true,
  "hotel_code": "miact",
  "check_in": "2027-02-10",
  "check_out": "2027-02-12",
  "adults": 1,
  "rooms": 1,
  "children": 0,
  "child_ages": [],
  "nights": 2,
  "total": 1,
  "pricing_scope": "per_room",
  "cash_available": true,
  "awards_available": false,
  "room_types": [
    {
      "room_type_code": "KING",
      "name": "1 King Bed",
      "description": null,
      "category": null,
      "available_rooms": null,
      "accessible": null,
      "photos": [],
      "rates": [
        {
          "rate_plan_code": "STANDARD",
          "name": "Standard Rate",
          "category": "CASH",
          "rate_plan_type": null,
          "flags": [],
          "per_night": 250.0,
          "per_night_after_tax": 280.0,
          "per_night_including_fees_before_tax": 250.0,
          "per_night_basis": "average_per_room",
          "total": 560.0,
          "base_total": 500.0,
          "currency": "USD",
          "taxes": [],
          "description": null,
          "payment_description": null,
          "cancellation_description": null,
          "cancellation_code": null,
          "penalty_code": null,
          "meal_plan": null,
          "guarantee_type": null,
          "loyalty_eligible": null,
          "points": null,
          "points_average": null,
          "points_total": null,
          "points_basis": null
        }
      ]
    }
  ]
}
```

```
{
  "success": true,
  "hotel_code": "miact",
  "check_in": "2027-02-10",
  "check_out": "2027-02-12",
  "adults": 1,
  "rooms": 1,
  "children": 0,
  "child_ages": [],
  "nights": 2,
  "total": 0,
  "pricing_scope": "per_room",
  "cash_available": false,
  "awards_available": false,
  "room_types": []
}
```
