Otto API endpoint
Lists the top-level categories shown in Otto.de's homepage navigation, each with its name and its canonical browse URL. The response also gives the `count` of categories and a `fetched_at` time. It takes no parameters.
/otto/categoriesNo query parameters.
Returns Otto.de's public homepage navigation categories and their canonical browse URLs.
| Field | Filled in, of 514 checked | Values in the sample |
|---|---|---|
| name | 500 | “Uhren” and 499 other values |
| url | 500 | otto.de |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/otto/categories" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"count": 14,
"categories": [
{
"name": "Sport",
"url": "https://www.otto.de/sport/"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/otto.categoriesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | otto.CategoriesResponse | No | ||||
| data.categories | array | No | ||||
| data.categories[].name | string | No | ||||
| data.categories[].url | string | No | ||||
| data.count | integer | No | ||||
| data.fetched_at | string | No | ||||
| data.source_url | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 429 | Too Many Requests | #/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/otto/categories" \
-H "x-api-key: $CRAWLORA_API_KEY"