YOOX API endpoint
Lists YOOX categories grouped by department (`women`, `men` and `kids`), each with its name, slug and URL. Every category slug is valid as `category` in YOOX search. Calls can take up to about 80 seconds, and a call that cannot finish, or one made while YOOX shows its maintenance page, returns `503`.
/yoox/categoriesReturns department-scoped category slugs discovered from YOOX navigation. Departments are women, men, and kids; every returned category slug can be used with yoox-search. Requires x-api-key.
Notable response behavior:
503 rather than timing out.503 with a message saying so. Retry later.503, never an empty result.| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/yoox/categories" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"departments": [
{
"department": "women",
"categories": [
{
"name": "Handbags",
"slug": "handbags",
"url": "https://www.yoox.com/us/women/handbags/shoponline"
}
]
}
]
}
}Request schema
No body schema
Response schema
#/definitions/yoox.categoriesDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | yoox.CategoriesResponse | No | ||||
| data.departments | array | No | ||||
| data.departments[].categories | array | No | ||||
| data.departments[].categories[].name | string | No | ||||
| data.departments[].categories[].slug | string | No | ||||
| data.departments[].categories[].url | string | No | ||||
| data.departments[].department | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 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/yoox/categories" \
-H "x-api-key: $CRAWLORA_API_KEY"