Farfetch API endpoint
Returns every department's top-level category directory (name, slug, URL). Each slug is usable directly as the category filter on GET /farfetch/search. Public data sourced live from Farfetch's own listing pages.
/farfetch/categoriesTakes no parameters — every department (women, men, kids) is returned
in one call.
Notable response behavior:
categories list.503 instead of three empty lists.503 rather than timing out.| Field | Filled in, of 3 checked |
|---|---|
| gender | 3 |
| categories | 0 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/farfetch/categories" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"genders": [
{
"gender": "women",
"categories": [
{
"name": "Clothing",
"slug": "clothing-1",
"url": "https://www.farfetch.com/shopping/women/gucci/clothing-1/items.aspx"
},
{
"name": "Bags",
"slug": "bags-purses-1",
"url": "https://www.farfetch.com/shopping/women/gucci/bags-purses-1/items.aspx"
},
{
"name": "Shoes",
"slug": "shoes-1",
"url": "https://www.farfetch.com/shopping/women/gucci/shoes-1/items.aspx"
},
{
"name": "Accessories",
"slug": "accessories-all-1",
"url": "https://www.farfetch.com/shopping/women/gucci/accessories-all-1/items.aspx"
},
{
"name": "Jewelry",
"slug": "jewellery-1",
"url": "https://www.farfetch.com/shopping/women/gucci/jewellery-1/items.aspx"
},
{
"name": "Lingerie & Nightwear",
"slug": "lingerie-hosiery-1",
"url": "https://www.farfetch.com/shopping/women/gucci/lingerie-hosiery-1/items.aspx"
},
{
"name": "Homeware",
"slug": "lifestyle-1",
"url": "https://www.farfetch.com/shopping/women/gucci/lifestyle-1/items.aspx"
}
]
},
{
"gender": "men",
"categories": [
{
"name": "Clothing",
"slug": "clothing-2",
"url": "https://www.farfetch.com/shopping/men/dolce-gabbana/clothing-2/items.aspx"
}
]
},
{
"gender": "kids",
"categories": []
}
]
}
}Request schema
No body schema
Response schema
#/definitions/farfetch.categoriesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | farfetch.CategoriesResponse | No | ||||
| data.genders | array | No | ||||
| data.genders[].categories | array | No | ||||
| data.genders[].categories[].name | string | No | ||||
| data.genders[].categories[].slug | string | No | ||||
| data.genders[].categories[].url | string | No | ||||
| data.genders[].gender | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 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/farfetch/categories" \
-H "x-api-key: $CRAWLORA_API_KEY"