Endpoint Playground
Returns bookable one-way flight itineraries between two IATA airport codes for a departure date, including per-segment flight number, airline, times, layovers, aircraft type, and price. Resolve free-text city/airport names to codes first via the flight destination search endpoint.
14 Oct 2026: 20 itineraries; 7 fields had a value in every checked item.
Sample value profiles: stops_count: 0 to 2, median 1; duration: “16h 45m” and 19 other values; source_url: agoda.com.
curl 'https://api.crawlora.net/api/v1/agoda/flights/search?origin=BKK&destination=HKT&departure_date=2026-09-15&cabin_class=Economy' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| origin | string | Yes | BKK | Origin IATA airport code |
| destination | string | Yes | HKT | Destination IATA airport code |
| departure_date | string | Yes | 2026-09-15 | Departure date, YYYY-MM-DD |
| adults | integer | No | Adult passengers (age 12+), defaults to 1 | |
| children | integer | No | Child passengers (age 2-11), defaults to 0 | |
| infants | integer | No | Infant passengers (under age 2), defaults to 0 | |
| cabin_class | string | No | Economy | Cabin class, defaults to Economy |
| page | integer | No | 1-indexed result page, defaults to 1 |
{
"code": 200,
"msg": "OK",
"data": {
"origin": "SYD",
"destination": "BKK",
"departure_date": "2026-10-20",
"cabin_class": "Economy",
"adults": 1,
"page": 1,
"last_page": false,
"count": 1,
"itineraries": [
{
"bundle_ref_id": "783056524",
"price": {
"amount": "710",
"currency": "USD"
},
"duration": "34h 50m",
"stops_count": 2,
"airline": {
"code": "VN",
"name": "Vietnam Airlines"
},
"segments": [
{
"departure": {
"date_time": "2026-10-20T11:15",
"airport": {
"code": "SYD",
"name": "Sydney Airport",
"city": "Sydney"
}
},
"arrival": {
"date_time": "2026-10-20T16:15",
"airport": {
"code": "SGN",
"name": "Tan Son Nhat International Airport",
"city": "Ho Chi Minh City"
}
},
"duration": "9h 0m",
"cabin_class": "Economy",
"cabin_code": "ECO",
"flight_number": "772",
"airline": {
"code": "VN",
"name": "Vietnam Airlines"
},
"layover": {
"airport": "Ho Chi Minh City (SGN)",
"duration": "12h 45m layover"
},
"aircraft": "Airbus A359",
"fare_basis_code": "TLOXAU"
}
],
"source_url": "https://www.agoda.com/en-us/packages/book?cid=-1&pk=..."
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.