Endpoint Playground
Test Crawlora's Agoda Flight Locations 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-locations?keyword=<keyword>" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| keyword | string | Yes | Free-text city or airport name |
{
"code": 200,
"msg": "OK",
"data": {
"keyword": "Bangkok",
"count": 1,
"suggestions": [
{
"name": "Bangkok",
"city_code": "BKK",
"country_code": "TH",
"country_name": "Thailand",
"state_name": "Bangkok Province",
"airports": [
{
"code": "BKK",
"name": "Suvarnabhumi Airport",
"lat": 13.681108,
"lng": 100.747283
}
]
}
]
}
}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.
Resolves a free-text city or airport name into IATA airport codes for flight search, with each city's direct and nearby airports. Credential-free public data from Agoda's own flight destination search.
{
"code": 200,
"msg": "OK",
"data": {
"keyword": "Bangkok",
"count": 1,
"suggestions": [
{
"name": "Bangkok",
"city_code": "BKK",
"country_code": "TH",
"country_name": "Thailand",
"state_name": "Bangkok Province",
"airports": [
{
"code": "BKK",
"name": "Suvarnabhumi Airport",
"lat": 13.681108,
"lng": 100.747283
}
]
}
]
}
}curl "https://api.crawlora.net/api/v1/agoda/flights/search-locations?keyword=<keyword>" \
-H "x-api-key: $CRAWLORA_API_KEY"