MakeMyTrip Hotel Rates API
Read nightly room rate plans for one MakeMyTrip hotel.
Copy for your AI agent
Paste into Claude, ChatGPT, Cursor or Copilot — endpoint, parameters, response fields and a curl example in Markdown.
Overview
Get dated MakeMyTrip room rate plans in INR for an Indian property using its hotel ID, city code, and stay context.
Scope
Use hotel_id and city_code from Search with the same stay context. Prices are nightly fields for the returned rate plan, not stay totals. Do not multiply a nightly value or infer a whole-stay total. An empty rooms list is returned only when the upstream confirms no availability; upstream failures remain non-2xx Problem Details responses.
Authentication
Send your StayAPI key in the X-API-Key header. Successful requests return JSON; failures use RFC 7807 Problem Details.
Endpoint URL
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| hotel_id | string | Required | Numeric MakeMyTrip hotel ID from Search, 1 to 32 digits. Keep it as a string. |
| city_code | string | Required | MakeMyTrip India city code, 2 to 32 letters or digits. For example CTBLR (Bengaluru) or CTGOI (Goa). |
| check_in | date | Required | Check-in date, YYYY-MM-DD; today or later. |
| check_out | date | Required | Check-out date, YYYY-MM-DD; after check-in, with a maximum stay of 30 nights. |
| adults | integer | Optional | Adults, 1 to 8. Default: 2. |
| rooms | integer | Optional | One room only. Default and only accepted value: 1. |
| child_ages | integer[] | Optional | At most four child ages, each 0 to 17. Repeat the parameter: child_ages=6&child_ages=10. Omit for no children. |
Response schema
Examples are illustrative. Prices and available content depend on the requested stay and property.
| Field | Type | Description |
|---|---|---|
| success / hotel_id / currency | boolean / string / string | Success flag, requested hotel ID, and fixed INR currency. |
| rooms | array | Available room entries; empty only when the upstream confirms no availability. |
| rooms[].room_id / rooms[].name | string / string | Provider room identifier and published room name. |
| rooms[].rate_plans | array | One or more available rate plans for this room. |
| rooms[].rate_plans[].name / cancellation_policy | string|null | Nullable published rate-plan name and cancellation-policy text. |
| rooms[].rate_plans[].nightly_price_before_taxes | number | Required positive, finite per-night amount before taxes and fees. |
| rooms[].rate_plans[].nightly_taxes_and_fees | number|null | Nullable nonnegative per-night taxes and fees; null exactly when the tax-inclusive amount is null. |
| rooms[].rate_plans[].nightly_price_including_taxes | number|null | Nullable per-night amount including taxes and fees; null exactly when taxes are null, otherwise the before-tax amount plus fees rounded to two decimals. Never a stay total. |
Errors and limitations
Errors use RFC 7807 Problem Details with provider: "makemytrip", and a correlation id when supplied.
- 400 INVALID_INPUT: invalid endpoint parameters, including stay dates, city code, or occupancy where accepted.
- 401 / 402 / 429: check your API key, available quota, and account limits.
- 422: a required parameter is missing or outside its declared type, range, or enum.
- 502 UPSTREAM_ERROR: MakeMyTrip could not complete the request.
- 503: service temporarily unavailable. Honor
Retry-Afterwhen supplied. - 504 UPSTREAM_TIMEOUT: the provider request timed out.