Quince API endpoint
Returns Quince's full product facet taxonomy: every business department (Women, Men, Kids & Baby, Home, CPG, Emerging), department, category, material, primary color, and size value Quince currently has products for, each with its own live product count. The returned business_departments[].value/categories[].value/materials[].value/colors[].value/sizes[].value values are exactly what quince-search accepts as its own department/category/material/color/size parameters. sizes spans every product type Quince sells (apparel letter sizes, shoe sizes, rug/furniture dimensions, bedding sizes, and more) since it is one catalog-wide facet.
/quince/categoriesNo parameters.
Notable response behavior:
business_departments[].value is one of Women, Men, Kids & Baby, Home, CPG, Emerging (the full observed set at time of writing -- treat this endpoint's own response as authoritative if Quince adds a new department later).business_departments[].value, categories[].value, materials[].value, colors[].value, and sizes[].value are exactly the values quince-search accepts as its own department, category, material, color, and size parameters.sizes spans every product type Quince sells (apparel letter sizes, shoe sizes, rug/furniture dimensions, bedding sizes, and more) since it is one index-wide facet -- sort by count (the default) to see the most common values first.| Field | Filled in, of 100 checked | Values in the sample |
|---|---|---|
| value | 100 | “M” and 99 other values |
| count | 100 | 74 to 6,180, median 303 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/quince/categories" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"business_departments": [
{
"value": "Women",
"count": 1142
},
{
"value": "Men",
"count": 500
},
{
"value": "Kids & Baby",
"count": 284
},
{
"value": "Home",
"count": 31
},
{
"value": "CPG",
"count": 12
},
{
"value": "Emerging",
"count": 5
}
],
"departments": [
{
"value": "Sweaters",
"count": 338
},
{
"value": "Bedding",
"count": 120
}
],
"categories": [
{
"value": "Apparel",
"count": 6235
},
{
"value": "Home",
"count": 3621
},
{
"value": "Jewelry",
"count": 966
}
],
"materials": [
{
"value": "Cotton",
"count": 1200
},
{
"value": "Cashmere",
"count": 210
}
],
"colors": [
{
"value": "Black",
"count": 900
},
{
"value": "Grey",
"count": 700
},
{
"value": "White",
"count": 650
}
],
"sizes": [
{
"value": "M",
"count": 5406
},
{
"value": "L",
"count": 5395
},
{
"value": "S",
"count": 5382
}
]
}
}Request schema
No body schema
Response schema
#/definitions/quince.categoriesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | quince.CategoriesResponse | No | ||||
| data.business_departments | array | No | ||||
| data.business_departments[].count | integer | No | ||||
| data.business_departments[].value | string | No | ||||
| data.categories | array | No | ||||
| data.categories[].count | integer | No | ||||
| data.categories[].value | string | No | ||||
| data.colors | array | No | ||||
| data.colors[].count | integer | No | ||||
| data.colors[].value | string | No | ||||
| data.departments | array | No | ||||
| data.departments[].count | integer | No | ||||
| data.departments[].value | string | No | ||||
| data.fetched_at | string | No | ||||
| data.materials | array | No | ||||
| data.materials[].count | integer | No | ||||
| data.materials[].value | string | No | ||||
| data.sizes | array | No | ||||
| data.sizes[].count | integer | No | ||||
| data.sizes[].value | 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/quince/categories" \
-H "x-api-key: $CRAWLORA_API_KEY"