Endpoint Playground
Test Crawlora's Booking.com flight autocomplete 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/booking-flights/autocomplete?query=<query>&type=to" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| query | string | Yes | 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,
"data": {
"query": "sample",
"results": [
{
"code": "sample",
"country": "sample",
"country_name": "sample",
"name": "sample",
"photo_url": "https://example.com/resource",
"region_name": "sample",
"type": "sample"
}
]
},
"msg": "OK"
}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 Booking.com flight-search location suggestions (airports/cities) for a query string.
{
"code": 200,
"data": {
"query": "sample",
"results": [
{
"code": "sample",
"country": "sample",
"country_name": "sample",
"name": "sample",
"photo_url": "https://example.com/resource",
"region_name": "sample",
"type": "sample"
}
]
},
"msg": "OK"
}curl "https://api.crawlora.net/api/v1/booking-flights/autocomplete?query=<query>" \
-H "x-api-key: $CRAWLORA_API_KEY"