
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "fiber",
"path": "/v1/flights/deals",
"method": "POST",
"body": {
"departureAirports": "",
"currencyCode": "",
"languageCode": ""
}
}'
$0.0436per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 97.6% success · 1,136 ms median · 30 days
About this endpoint
Search flight deals. 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. Rate limit: 120 requests per 1 minute Cost: 2 credits per request
Body parameters
departureAirportsrequiredstringWhere 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.currencyCodestringISO 4217 currency code for prices in the response (e.g. 'EUR', 'GBP', 'CAD'). Case-insensitive. Defaults to USD.languageCodestringLanguage 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.discoveryobjectHow to narrow the deals. Omit to return the cheapest round-trip deals from the departure location. Use the freeText mode to describe the kind of destinations you want in plain language (e.g. 'beaches and islands'); use the filters mode for precise constraints on price, stops, cabin class, or airline. Provide exactly one mode — they cannot be combined.More from Fiber AI
- YouTube transcriptPOST/v1/youtube/transcript$0.0436 per callFixed
- Phone validationPOST/v1/validate-phone/single$0.0654 per callFixed
- Hashed email lookupPOST/v1/email-to-person/hashed$0.0436 per email returnedResponse-based · up to $4.36
- Premium phone lookupPOST/v1/contact-details/premium-phone/sync$0.109 per callFixed
- Person match lookupPOST/v1/kitchen-sink/person$0.0436 per result returnedResponse-based · up to $0.872
- LinkedIn post commentsPOST/v1/linkedin-live-fetch/post-comments$0.0436 per callFixed
- Social profile finderPOST/v1/social-media-lookup/triggerFrom $0.0654 per callRequest-based · up to $0.1308
- Skills autocompletePOST/v1/typeahead/skillsFree
- NAICS code listGET/v1/enums/naics-codesFree
- Time zone listGET/v1/enums/time-zonesFree
- TikTok followingPOST/v1/tiktok/user-following$0.0436 per callFixed
- Batch social finder resultsPOST/v1/social-media-lookup/batch/pollFree