Endpoint Playground
Returns Hotels.com search-box suggestions for a partial destination or property name in `q` (up to 120 characters). Each suggestion has its type, primary and secondary text, full location name, coordinates, and region or property id. A query with no match returns an empty `suggestions` list.
14 Oct 2026: 9 suggestions; 3 fields had a value in every checked item and 6 varied between items.
Sample value profiles: geo_type: NEIGHBORHOOD (3), CITY (2), AIRPORT (2) and 1 more; primary_text: “New York” and 8 other values; secondary_text: New York, United States (4), New York, New York, United Stat… (4).
curl "https://api.crawlora.net/api/v1/hotels/autocomplete?q=New+York" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| q | string | Yes | New York | Partial destination or property name |
{
"code": 200,
"msg": "OK",
"data": {
"query": "New York",
"suggestions": [
{
"type": "SearchLocationBasicItem",
"geo_type": "CITY",
"region_id": "178293",
"primary_text": "New York",
"location_full_name": "New York, NY, United States",
"latitude": 40.7128,
"longitude": -74.006
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.