post
https://api.liteapi.travel/v3.0/hotels/rates/batch
Overview
Enterprise-only endpoint that prices every length of stay (LOS) × occupancy combination for a single check-in across up to 200 hotels. LOS is the number of nights between check-in and check-out. Returns an NDJSON stream (one hotel object per line) so you can process results as they arrive.
When to Use
- Build a LOS matrix for a check-in date across many hotels without calling
/hotels/ratesrepeatedly - Compare occupancy options (e.g. 2 adults vs 2 adults + child) for the same stay window
What You Get
- One NDJSON line per hotel with every LOS × occupancy cell exactly once
- Trimmed rates — cheapest RFN (free-cancel until checkin−N days, default N=5) and cheapest NRFN per
mappedRoomId× feed - Prebookable
offerIdvalues — same booking flow as/hotels/rates - Per-cell status —
ok,no_availability, orerrorwith a machine-readable code
Key Features
- Inclusive LOS range via
lengthsOfStay.min/lengthsOfStay.max(max 28 nights) - Up to 8 occupancy options priced independently (not multi-room in one booking)
- Multi-feed support with the same
feed/feedsrules as/hotels/rates - Configurable trim depth via
maxRatesPerHotel(default 10 rates requested per cell before RFN/NRFN trim) - Refundable deadline control via
refundableDeadlineDaysBeforeCheckin(default 5; set 0 to disable)
Quick Start
Required fields: hotelIds, checkin, lengthsOfStay, occupancies, currency, guestNationality
Tip: Start with a small LOS range (e.g. min=1, max=2) and one occupancy while integrating. Enable roomMapping when you need mappedRoomId for room content.
Rate limit: Each call costs losCount × occupancyCount × feedCount against your API key quota. Check the X-RateLimit-Cost response header.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…

