Skip to main content
GET
/
api
/
aviation
/
v1
/
search-flight-prices
SearchFlightPrices
curl --request GET \
  --url https://api.example.com/api/aviation/v1/search-flight-prices
{
  "quotes": [
    {
      "id": "<string>",
      "origin": "<string>",
      "destination": "<string>",
      "departureDate": "<string>",
      "returnDate": "<string>",
      "carrier": {
        "iataCode": "<string>",
        "icaoCode": "<string>",
        "name": "<string>"
      },
      "priceAmount": 123,
      "currency": "<string>",
      "cabin": "CABIN_CLASS_UNSPECIFIED",
      "stops": 123,
      "durationMinutes": 123,
      "bookingUrl": "<string>",
      "provider": "<string>",
      "isIndicative": true,
      "observedAt": 123,
      "checkoutRef": "<string>",
      "expiresAt": 123
    }
  ],
  "provider": "<string>",
  "isDemoMode": true,
  "updatedAt": 123,
  "isIndicative": true
}

Query Parameters

origin
string

Origin airport IATA code.

destination
string

Destination airport IATA code.

departure_date
string

Outbound departure date (ISO 8601).

return_date
string

Return date (ISO 8601), empty for one-way.

adults
integer<int32>

Number of adult passengers (1-9).

cabin
string

Desired cabin class.

nonstop_only
boolean

Whether to restrict to nonstop flights only.

max_results
integer<int32>

Maximum number of quotes to return (1-50).

currency
string

ISO 4217 currency code for prices (e.g., "usd", "eur", "try").

market
string

Market/locale code (e.g., "us", "tr").

Response

Successful response

SearchFlightPricesResponse contains flight price offers.

quotes
object[]
provider
string

Provider name (e.g., "amadeus", "demo").

isDemoMode
boolean

Whether results are from demo/simulated mode.

updatedAt
integer<int64>

Last update time as Unix epoch milliseconds.. Warning: Values > 2^53 may lose precision in JavaScript

isIndicative
boolean

Whether returned prices are indicative (subject to change).