Booking
Booking.com flight autocomplete
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.
get/booking-flights/autocomplete
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/booking-flights/autocomplete
- Auth: API key in header x-api-key
Query parameters
querystring required
City or airport name/code to search
type'to' | 'from'
Location role, default to
originstring
Optional origin location code, biases results by proximity
origin_typestring
Origin location type
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"code": 200,
"msg": "OK"
}Changes
No recorded changes to this operation across all 3 revisions of this API.