Endpoint Playground
Returns Booking.com flight-search location suggestions (airports and cities) for `query`, which is required. `type` is `to` (default) or `from`; `origin` and `origin_type` bias results by proximity. Each result has `name`, `code`, `type`, `country`, `country_name` and `region_name`. Combine `code` and `type` as `{code}.{TYPE}` for `booking-flights-search`.
14 Oct 2026: 3 results; 7 fields had a value in every checked item.
Sample value profiles: type: “CITY” and 1 other value; photo_url: q-xx.bstatic.com; name: “Chengdu” and 2 other values.
curl 'https://api.crawlora.net/api/v1/booking-flights/autocomplete?query=Chengdu&type=to' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| query | string | Yes | Chengdu | City or airport name/code to search |
| type | string | No | to | Location role, default to |
| origin | string | No | Optional origin location code, biases results by proximity | |
| origin_type | string | No | Origin location type |
{
"code": 200,
"msg": "OK",
"data": {
"query": "Chengdu",
"results": [
{
"type": "city",
"name": "Chengdu",
"code": "CTU",
"country": "cn",
"country_name": "China"
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.