Market intelligence

Search flight deals

Changed on

Returns cheap round-trip flight deals from a given departure location, ranked by how much cheaper they are than usual. Dates and destinations are chosen per deal; use flight search when you already know the route and dates.

<span>⚡ <strong>Rate limit:</strong> 120 requests per 1 minute</span>

<span>💰 <strong>Cost:</strong> 2 credits per request <span title="Pricing shown is default pricing. Actual pricing may vary.">ⓘ</span></span>

post/v1/flights/deals

Request

  • Base URL: https://api.fiber.ai
  • URL: https://api.fiber.ai/v1/flights/deals
  • Auth: none declared

Request body

apiKeystring required

Your Fiber API key

departureAirportsstring required

Where to find deals from. Accepts a single 3-letter IATA airport code (e.g. 'JFK'), an X- metro alias that covers every airport in a metro area (e.g. 'X-NYC' — call GET /v1/enums/flight-regions for the full list), or a Freebase ID — a stable location identifier beginning with '/m/' or '/g/' (e.g. '/m/02_286' for New York City), listed as freebaseId in GET /v1/enums/flight-regions. Comma-separated airport lists are not supported; use an X- alias instead. Case-insensitive except Freebase IDs.

currencyCodestring

ISO 4217 currency code for prices in the response (e.g. 'EUR', 'GBP', 'CAD'). Case-insensitive. Defaults to USD.

languageCodestring

Language for destination names and descriptions. Pass a BCP-47 language tag such as 'en', 'en-US', 'pt-BR', 'zh-CN', 'ja', 'ko', 'fr', 'de', 'es'. Does not change which deals are returned. Defaults to en.

Response

Default Response

advicestring[] nullable

Tips, recommendations, and suggestions for using this API effectively.

Changes