Skip to main content

FlightSearchRequest

currency stringrequired

The currency selected by the user - ISO 4217 format. This currency is expected in the response unless not supported by the server.

Example: AED
language stringrequired

The language selected by the user - ISO 639-1 format. Applies to elements like the booking URL in the response.

Example: en
pointOfSale stringrequired

The country selected by the user - Alpha-2 ISO 3166-1 format. Applies to elements like the booking URL in the response.

Example: AE
passengers object[]required

Possible values: >= 1

  • Array [
  • ptc stringrequired

    Passenger type code

    Possible values: [ADT, CHD, INF]

    Example: ADT
    count integerrequired

    Possible values: >= 1 and <= 9

    Example: 1
  • ]
  • cabin stringrequired

    The intended cabin class. Higher cabin classes may be returned if cheaper or if lower classes are sold out.

    Possible values: [ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST]

    Example: ECONOMY
    journeys object[]required

    The list of directional journey criteria in chronological order.

    Possible values: >= 1

  • Array [
  • departure objectrequired
    code stringrequired

    IATA airport or city code

    Example: DXB
    type stringrequired

    Whether the code represents an airport or a city

    Possible values: [AIRPORT, CITY]

    Example: AIRPORT
    arrival objectrequired
    code stringrequired

    IATA airport or city code

    Example: DXB
    type stringrequired

    Whether the code represents an airport or a city

    Possible values: [AIRPORT, CITY]

    Example: AIRPORT
    departureDate daterequired

    Local calendar date at the point of departure in YYYY-MM-DD format

    Example: 2024-10-15
  • ]
  • FlightSearchRequest
    {
    "currency": "AED",
    "language": "en",
    "pointOfSale": "AE",
    "passengers": [
    {
    "ptc": "ADT",
    "count": 1
    }
    ],
    "cabin": "ECONOMY",
    "journeys": [
    {
    "departure": {
    "code": "DXB",
    "type": "AIRPORT"
    },
    "arrival": {
    "code": "DXB",
    "type": "AIRPORT"
    },
    "departureDate": "2024-10-15"
    }
    ]
    }