Accor API endpoint
Returns the Accor brand directory published on the public brands page, with each brand's name, slug, and source URL. Booking, rates, rooms, reviews, contacts, and location are excluded.
/accor/brands| Field | Filled in, of 54 checked | Values in the sample |
|---|---|---|
| name | 54 | “21C” and 53 other values |
| slug | 54 | |
| source_url | 54 | all.accor.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/accor/brands" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"brands": [
{
"name": "Sofitel",
"slug": "sofitel",
"source_url": "https://all.accor.com/a/en/brands/sofitel.html"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/accor.brandsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | accor.BrandsResponse | No | ||||
| data.brands | array | No | ||||
| data.brands[].name | string | No | ||||
| data.brands[].slug | string | No | ||||
| data.brands[].source_url | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 429 | Too Many Requests | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/accor/brands" \
-H "x-api-key: $CRAWLORA_API_KEY"