Endpoint Playground
Test Crawlora's Accor Search Suggestions 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/accor/search/suggest?query=<query>" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| query | string | Yes | Partial destination or hotel query (at least two characters) | |
| language | string | No | Optional locale used by the suggestion source |
{
"code": 200,
"msg": "OK",
"data": {
"query": "London",
"language": "en",
"suggestions": [
{
"source": "google_places",
"id": "ChIJdd4hrwug2EcRmSrV3Vo6llI",
"type": "political",
"description": "London, UK",
"matched_substrings": [
{
"length": 6,
"offset": 0
}
]
},
{
"source": "hod_hotels",
"id": "3099",
"type": "hotel",
"description": "ibis London Stratford",
"score": 3,
"rank": 5620,
"matched_substrings": [
{
"length": 6,
"offset": 5
}
]
}
],
"status": [
{
"source": "google_places",
"code": "ok"
},
{
"source": "hod_hotels",
"code": "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 Accor typeahead suggestions for a partial destination or hotel query, including destination/place and hotel identifiers, types, labels, and match metadata. It uses the public search-box suggestion source only; booking, rates, rooms, reviews, and result-list requests are excluded.
{
"code": 200,
"msg": "OK",
"data": {
"query": "London",
"language": "en",
"suggestions": [
{
"source": "google_places",
"id": "ChIJdd4hrwug2EcRmSrV3Vo6llI",
"type": "political",
"description": "London, UK",
"matched_substrings": [
{
"length": 6,
"offset": 0
}
]
},
{
"source": "hod_hotels",
"id": "3099",
"type": "hotel",
"description": "ibis London Stratford",
"score": 3,
"rank": 5620,
"matched_substrings": [
{
"length": 6,
"offset": 5
}
]
}
],
"status": [
{
"source": "google_places",
"code": "ok"
},
{
"source": "hod_hotels",
"code": "ok"
}
]
}
}curl "https://api.crawlora.net/api/v1/accor/search/suggest?query=<query>" \
-H "x-api-key: $CRAWLORA_API_KEY"