Endpoint Playground
Test Crawlora's Search Agoda one-way flights API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
curl "https://api.crawlora.net/api/v1/agoda/flights/search?origin=<origin>&destination=<destination>&departure_date=<departure_date>&cabin_class=Economy" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| origin | string | Yes | Origin IATA airport code | |
| destination | string | Yes | Destination IATA airport code | |
| departure_date | string | Yes | 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=..."
}
]
}
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
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. Credential-free public data from Agoda's own flight search.
{
"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=..."
}
]
}
}curl "https://api.crawlora.net/api/v1/agoda/flights/search?origin=<origin>&destination=<destination>&departure_date=<departure_date>" \
-H "x-api-key: $CRAWLORA_API_KEY"