flightconnections.com APIflightconnections.com ↗
Search one-way flights between any two airports by IATA code and date. Returns pricing, schedules, layover details, and booking links via the FlightConnections API.
curl -X GET 'https://api.parse.bot/scraper/1f2490a2-e17c-4abc-b130-1e5d59bd7a66/search_flights?date=14Nov2026&origin=JFK&destination=LAX&max_layover_hours=5' \ -H 'X-API-Key: $PARSE_API_KEY'
Search for flights between two airports on a specific date. Returns one-way flight options with up to one connection, filtered by maximum layover duration. Results include pricing, airline, departure/arrival times, layover details, and booking links.
| Param | Type | Description |
|---|---|---|
| daterequired | string | Date of flight. Accepted formats: 14Nov2026, 2026-11-14, 14/11/2026. |
| originrequired | string | Origin airport IATA code (3-letter uppercase, e.g. ARN, IAD, IAH). |
| destinationrequired | string | Destination airport IATA code (3-letter uppercase, e.g. IAH, IAD, ARN). |
| max_layover_hours | number | Maximum layover duration in hours for flights with one connection. |
{
"type": "object",
"fields": {
"count": "integer total number of flights returned",
"params": "object echoing the search parameters used (origin, destination, date, max_layover_hours)",
"flights": "array of flight objects, each containing id, price, currency, departure_time, arrival_time, origin, destination, duration_total (seconds), layovers (array), airline, and booking_link"
},
"sample": {
"data": {
"count": 3,
"params": {
"date": "14/11/2026",
"origin": "ARN",
"destination": "IAH",
"max_layover_hours": 5
},
"flights": [
{
"id": "2602230e512300005ed67eb7_0|2602230e512300005ed67eb7_1",
"price": 1691,
"origin": "ARN",
"airline": "UA",
"currency": "USD",
"layovers": [
{
"airport": "FRA",
"duration_hours": 1.5
}
],
"destination": "IAH",
"arrival_time": "2026-11-14T14:10:00.000Z",
"booking_link": "https://www.kiwi.com/deep?affilid=flightconnectionsflightconnections¤cy=USD&flightsId=...&from=ARN&lang=us&passengers=1&to=IAH&booking_token=...",
"departure_time": "2026-11-14T06:10:00.000Z",
"duration_total": 54000
}
]
},
"status": "success"
}
}About the flightconnections.com API
The FlightConnections API exposes a single search_flights endpoint that returns up to one-connection flight options between any two airports, covering 14 response fields per flight including price, currency, departure and arrival times, total duration, layover details, and direct booking links. Specify origin and destination as IATA codes, provide a date in any of three accepted formats, and optionally cap layover duration to filter results to your tolerance.
What the API Returns
The search_flights endpoint accepts an origin IATA code, a destination IATA code, a travel date, and an optional max_layover_hours filter. It returns a count integer, a params object echoing your query, and a flights array. Each flight object carries a unique id, price, currency, departure_time, arrival_time, origin, destination, duration_total in seconds, airline information, layover details for connecting flights, and a booking link.
Filtering and Date Formats
The date field is flexible: you can pass 14Nov2026, 2026-11-14, or 14/11/2026 — all three are accepted. The max_layover_hours parameter is optional and only affects results that include a connection; direct flights are unaffected by it. The API covers itineraries with at most one connection, so multi-stop routes with two or more layovers are outside scope.
Coverage and Use
Results are scoped to one-way itineraries. The currency field travels alongside price, so you know the denomination without additional lookups. Booking links are included directly in each flight object, making it straightforward to surface deep-link calls to action in travel tools. The params echo in the response is useful for logging or UI confirmation without client-side state management.
- Build a flight price comparison widget using the
priceandcurrencyfields across multiple origin-destination pairs. - Alert users when fares drop below a threshold by polling
search_flightsand comparing the returnedpricevalues. - Filter out long layovers in travel-planning apps using the
max_layover_hoursparameter before presenting results. - Populate itinerary builders with
departure_time,arrival_time, andduration_totalfor accurate schedule display. - Surface direct booking links from the
booking_linkfield inside flight aggregator or metasearch interfaces. - Analyze airline frequency and pricing on a given route by logging results over time from the
flightsarray. - Feed travel chatbots with structured one-stop flight options including layover duration and connecting airport details.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does FlightConnections have an official public developer API?+
What does the `search_flights` endpoint return for connecting flights?+
price, currency, departure_time, arrival_time, origin, destination, duration_total, and a booking link. The max_layover_hours parameter lets you exclude connections whose layover exceeds your limit.