post
https://api.liteapi.travel/v3.0/flights/rates
Overview
Search for available flights with real-time pricing from multiple providers. The itinerary must be sent as a non-empty legs array. Each leg follows the provider SearchLeg shape: required origin, destination, and date (YYYY-MM-DD); optional direction (OUTBOUND or INBOUND); optional per-leg filters that override global filters for that leg only.
Not supported: top-level origin, destination, departureDate, or returnDate — use legs only.
When to Use
- Listings — live prices for search results UI
- One-way, round-trip, or multi-city — one leg per segment, in order
- Filtering — cabin class, stops, price, refundability, times (globally or per leg)
- Streaming — incremental provider results over SSE
What You Get
- Offers from multiple providers
- Itineraries with segments, layovers, and durations
- Price breakdown (fares, taxes, fees) and baggage hints
Key Features
- Multi-provider aggregation in one request
- SSE: send header
Accept: text/event-streamonPOST /flights/rates, orPOST /flights/rates/streamwith the same JSON body - Global
filters,sort, and optionaloptions.providers
Quick Start
Required: legs (at least one object with origin, destination, date), adults (≥ 1), currency
Round-trip: two legs (e.g. outbound then return with direction OUTBOUND / INBOUND). One-way: one leg.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…