Skip to main content
Search, details and change-options all return the same offer model, whichever airline or GDS it came from. Offers carry IATA codes only; names come once per response in the dictionaries block. Fields with no value are omitted from the JSON rather than sent as null: appliedFareBrand, leavingOfferId, returningOfferId, terminal, layoverMinutes and aircraft.

Offer

string (uuid)
Pass this as proposalId or flightProposalId in later calls.
string
OneWay or RoundTrip.
string
Economy, PremiumEconomy, Business or First.
boolean
integer
Seats left at this fare, as the provider reports it. 9 means 9 or more.
boolean
Call fare-brands only when true.
boolean
true when the offer can be booked with holdOnly. See On-hold bookings.
string
Present after change-options: the brand code now stored on this offer.
object
Journey[]
One journey for OneWay. Two for RoundTrip: outbound first, then inbound.
string (uuid)
Outbound half of a packed round trip. Present after details.
string (uuid)
Return half of a packed round trip. Present after details.

Journey

object
iataCode.
object
iataCode.
string
Local airport time, yyyy-MM-ddTHH:mm:ss, no UTC offset.
string
Local airport time, no UTC offset.
integer
integer
Segment[]
The flights that make up this journey.

Segment

string
IATA airline code.
string
IATA airline code.
string
object
iataCode, plus terminal when known.
object
iataCode, plus terminal when known.
string
Local airport time, no UTC offset.
string
Local airport time, no UTC offset.
integer
integer
Connection time before the next segment. Omitted on the last segment of a journey.
string
Aircraft code, for example 738.
string
string
Reservation booking designator (RBD), for example Y.
integer
object
Keyed by passenger type (adult, child, infant), only the types you searched for. Each has checked and cabin allowances. See Baggage.

Baggage

Allowances follow the Amadeus and IATA NDC convention for included bags. weightUnit is KG or LB.

Dictionaries

Every response that carries offers (search, details, change-options) carries one dictionaries block. It holds English names for every carrier and airport code used in those offers, so you can render a results page without your own IATA reference data.
  • airports[].country is ISO 3166-1 alpha-2, such as IQ. It’s omitted for an airport that isn’t in our catalogue, when the name comes from the airline instead.
  • A code can occasionally be missing when no source reported a name. Always fall back to showing the code.

Full example