Endpoint Playground
Returns Costco category slugs and product counts relevant to an optional search term, each slug usable directly with GET /costco/search's category filter. Public data sourced from Costco's own search backend.
14 Oct 2026: 50 categories; 3 fields had a value in every checked item.
Sample value profiles: count: 4 to 408, median 13; name: “Appliances” and 49 other values.
curl 'https://api.crawlora.net/api/v1/costco/categories' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| query | string | No | Search text to scope the returned categories to, e.g. \ |
{
"code": 200,
"msg": "OK",
"data": {
"query": "refrigerator",
"categories": [
{
"slug": "compact-refrigerators",
"name": "Compact Refrigerators",
"count": 8
},
{
"slug": "french-door-refrigerators",
"name": "French Door Refrigerators",
"count": 54
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.