Endpoint Playground
Test Crawlora's Hotels.com 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/hotels/autocomplete?q=<q>" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| q | string | Yes | Partial destination or property name |
{
"code": 200,
"data": {
"query": "sample",
"suggestions": [
{
"airport_code": "sample",
"geo_type": "sample",
"latitude": 1.23,
"location_full_name": "sample",
"longitude": 1.23,
"primary_text": "sample",
"property_id": "sample-id",
"region_id": "sample-id",
"secondary_text": "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 anonymous Hotels.com search-box suggestions for a partial destination or property name. Availability and prices are not included.
{
"code": 200,
"data": {
"query": "sample",
"suggestions": [
{
"airport_code": "sample",
"geo_type": "sample",
"latitude": 1.23,
"location_full_name": "sample",
"longitude": 1.23,
"primary_text": "sample",
"property_id": "sample-id",
"region_id": "sample-id",
"secondary_text": "sample",
"type": "sample"
}
]
},
"msg": "OK"
}curl "https://api.crawlora.net/api/v1/hotels/autocomplete?q=<q>" \
-H "x-api-key: $CRAWLORA_API_KEY"