Endpoint Playground
Resolves a free-text city or airport name into IATA airport codes for flight search, with each city's direct and nearby airports.
14 Oct 2026: 10 suggestions; 4 fields had a value in every checked item and 3 varied between items.
Sample value profiles: name: “Bangkok” and 9 other values; airports: median 1 entry; country_name: “Thailand” and 6 other values.
curl 'https://api.crawlora.net/api/v1/agoda/flights/search-locations?keyword=Bangkok' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| keyword | string | Yes | Bangkok | 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
}
]
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.