Skip to main content

Flights live pricing API (3.0)

Authentication

UserAuth

Security Scheme Type API Key
Header parameter name: x-api-key

FlightsService

/search/create

Authorizations:
Request Body schema: application/json
object (liveQuery)

Query object for request.

market
string

Market for which the search is for. e.g. UK. We provide a Culture API to get all the markets we support. See Culture API Documentation.

locale
string

Locale that the results are returned in. e.g. en-GB. We provide a Culture API to get all the locales we support. See Culture API Documentation.

currency
string

Currency that the search results are returned in. e.g. GBP. We provide a Culture API to get all the currencies we support. See Culture API Documentation.

Array of objects (liveQueryLeg) [ items ]

List of legs to search for.

cabinClass
string (liveCabinClass)
Default: "CABIN_CLASS_UNSPECIFIED"
Enum: "CABIN_CLASS_UNSPECIFIED" "CABIN_CLASS_ECONOMY" "CABIN_CLASS_PREMIUM_ECONOMY" "CABIN_CLASS_BUSINESS" "CABIN_CLASS_FIRST"

Cabin class Enum to specify class. E.g.: economy, business, first.

  • CABIN_CLASS_UNSPECIFIED: cabin class is not specified.
  • CABIN_CLASS_ECONOMY: cabin class is economy.
  • CABIN_CLASS_PREMIUM_ECONOMY: cabin class is premium economy.
  • CABIN_CLASS_BUSINESS: cabin class is business.
  • CABIN_CLASS_FIRST: cabin class is first class.
adults
integer <int32>

Number of adults. Should be greater than or equal to 1.

childrenAges
Array of integers <int32> [ items <int32 > ]

List of children ages.

includedCarriersIds
Array of strings

List of included carriers.

excludedCarriersIds
Array of strings

List of excluded carriers.

includedAgentsIds
Array of strings

List of included agents.

excludedAgentsIds
Array of strings

List of excluded agents.

includeSustainabilityData
boolean

Option to include sustainability data.

nearbyAirports
boolean (Option to include nearby airports)

Responses

Request samples

Content type
application/json
{
  • "query": {
    }
}

Response samples

Content type
application/json
{
  • "sessionToken": "string",
  • "status": "RESULT_STATUS_UNSPECIFIED",
  • "action": "RESULT_ACTION_UNSPECIFIED",
  • "content": {
    }
}

/search/poll

Authorizations:
path Parameters
sessionToken
required
string

Session token required for polling operations.

Responses

Response samples

Content type
application/json
{
  • "sessionToken": "string",
  • "status": "RESULT_STATUS_UNSPECIFIED",
  • "action": "RESULT_ACTION_UNSPECIFIED",
  • "content": {
    }
}