# /momondo/stays/search

`POST /api/momondo/stays/search`

Price: 20 credits

Search momondo hotels for a destination city over a check-in/check-out date range, guest and room count. Returns ranked hotels with name, star rating, guest review score and label, property type, the cheapest nightly and total price, per-provider booking offers with deeplinks, neighbourhood, exact coordinates, distance to the city centre, amenities, photos, description, phone and hotel website. Optional filters narrow the results by max price, minimum star rating, minimum review score, property types, amenities and free perks. The destination is a momondo city id (resolve it via the places search city_id).

## How to use it

Search hotels for a destination city_id (resolve via places/search) over a checkin_date..checkout_date range for adults, children_ages and rooms. Optionally filter by max_price, min_stars, min_review_score, property_types, amenities and freebies. Returns ranked hotels with id, name, stars, review_score, review_count, review_label, property_type, chain, image(s), price (cheapest nightly), price_total, historic_high_price, discount_percent, currency, latitude, longitude, neighborhood, city, distance, amenities, description, phone, website_url, url, is_free_cancellation and offers (per-provider price, is_free_cancellation and booking url).

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `city_id` (string, required) — Destination city id (from places/search city_id) (examples: "15830"; pattern: ^\d+$)
- `checkin_date` (string, required) — Check-in date (format: date; examples: "2026-08-15")
- `checkout_date` (string, required) — Check-out date (format: date; examples: "2026-08-16")
- `adults` (integer) — Number of adult guests (default: 2; min: 1; max: 8)
- `children_ages` (array) — Ages of child guests (0-17) (default: [])
- `rooms` (integer) — Number of rooms (default: 1; min: 1; max: 8)
- `max_price` (number, nullable) — Maximum nightly price (>: 0)
- `min_stars` (integer, nullable) — Minimum hotel star rating (2-5) (min: 2; max: 5)
- `min_review_score` (string, nullable) — Minimum guest review score (one of: "6", "7", "8", "9")
- `property_types` (array) — Restrict to these property types (default: []; one of: "aparthotel", "bed_and_breakfast", "guesthouse", "hostel", "hotel", "inn", "motel", "resort", "apartment", "condo", "homestay", "house", "lodge", "villa", "campground")
- `amenities` (array) — Require these amenities (default: []; one of: "air_conditioning", "hairdryer", "wifi", "non_smoking", "elevator", "front_desk_24h", "fitness", "parking", "accessible", "business_center", "pet_friendly", "restaurant", "internet", "kitchen", "airport_shuttle", "ev_charging", "pool", "spa", "hot_tub", "terrace", "casino", "grill", "adults_only", "golf", "fireplace", "game_room", "beachfront")
- `freebies` (array) — Require these free perks (default: []; one of: "free_internet", "free_cancellation", "free_breakfast", "pay_later", "free_parking", "free_airport_shuttle")
- `sort` (string) — Sort order (default: "best"; one of: "best", "cheapest", "review_score", "stars")
- `count` (integer, required) — Max number of hotels to return (min: 1)

## Response

### 200 — Successful Response

- `@type` (string) (default: "MomondoStay")
- `id` (string, required)
- `name` (string, nullable)
- `stars` (number, nullable)
- `review_score` (number, nullable)
- `review_count` (integer, nullable)
- `review_label` (string, nullable)
- `property_type` (string, nullable)
- `chain` (string, nullable)
- `image` (string, nullable)
- `images` (array) (default: [])
- `price` (number, nullable)
- `price_total` (number, nullable)
- `historic_high_price` (number, nullable)
- `discount_percent` (number, nullable)
- `currency` (string, nullable)
- `latitude` (number, nullable)
- `longitude` (number, nullable)
- `neighborhood` (string, nullable)
- `city` (string, nullable)
- `distance` (string, nullable)
- `phone` (string, nullable)
- `website_url` (string, nullable)
- `url` (string, nullable)
- `description` (string, nullable)
- `amenities` (array) (default: [])
- `provider_count` (integer, nullable)
- `is_free_cancellation` (boolean, nullable)
- `offers` (array) (default: [])
  - `@type` (string) (default: "MomondoHotelOffer")
  - `provider_code` (string, nullable)
  - `provider_name` (string, nullable)
  - `price` (number, nullable)
  - `total_price` (number, nullable)
  - `currency` (string, nullable)
  - `rate_type` (string, nullable)
  - `is_direct` (boolean, nullable)
  - `is_free_cancellation` (boolean, nullable)
  - `booking_url` (string, nullable)

## Errors

### 422 — Validation Error

The request body did not validate

What to do: Check the fields against this schema. A URN with the wrong prefix is the most common cause.

- `detail` (array)
  - `loc` (array, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (object)

### 408

The request ran past its time limit

What to do: Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.

### 412

Destination not found or no hotels available for the given dates

What to do: Retrying will not help: either the entity does not exist, or the input points at a different one.

### 429

Too many requests: a rate limit or a usage window is exhausted

What to do: When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.

### 500

Something broke on our side

What to do: Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.

### 529

Rate limit reached, or the endpoint is overloaded

What to do: Wait at least 30 seconds, then retry.

## Response envelope

Success: Array of objects (may be empty if no results)

Error: Error may coexist with partial results if it occurs mid-execution. Check X-Error header and status code.

Every response carries these headers:

- `X-Error` — Error message text (present only on error)
- `X-Request-ID` — Unique request identifier
- `X-Execution-Time` — Execution time in seconds
- `X-Result-Count` — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.
- `X-Total-Available-Results` — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.
- `X-Warning` — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.
- `X-Retry-After` — Seconds to wait before retrying. Present only on 429.

