FlightLabs API - Flight Prices API

Flight Prices API


The following Endpoint will provide you with the price of a flight based on the input parameters entered. In addition to the price, it will provide you with detailed information about the origin, destination, duration, information about the carrier, among others.

Example API Request:

Use Edit parameters to customize the call, then run it and review the live response below.

Edit the parameters below. The example request updates as you type.

Origin airport IATA code.

Destination airport IATA code.

Departure date.

Return date for roundtrips.

Sort order: best, cheapest, quickest.

roundtrip or oneway.

Test In Postman

API Response Objects

Flight price results include the following fields.

Field Description
flights Array of flight options (default when group_by_roundtrip is false or omitted).
pairs Roundtrip itineraries when group_by_roundtrip=true; each item has outbound and inbound legs.
pairs[].outbound Outbound leg (origin to destination).
pairs[].inbound Inbound leg (destination to origin).
unpaired Legs that could not be grouped into a roundtrip pair (when group_by_roundtrip=true).
price Numeric price for the flight or leg.
currency Currency code for the price (e.g. USD).
origin Departure airport object.
origin.code Origin airport IATA code.
origin.city Origin city name.
destination Arrival airport object.
destination.code Destination airport IATA code.
destination.city Destination city name.
departure Departure datetime (ISO 8601).
arrival Arrival datetime (ISO 8601).
durationInMinutes Total duration in minutes.
stopCount Number of stops or layovers.
flightNumber Marketing flight number.
marketingCarrier Marketing carrier name.
operatingCarrier Operating carrier name.