Whatnot API endpoint
Returns Whatnot's full top-level category list (e.g. "Trading Card Games", "Sneakers & Streetwear"). Each entry's slug is usable directly with /whatnot/browse's category filter.
/whatnot/categoriesRequires the x-api-key header. No query or path parameters.
Notable response behavior:
slug is the value to pass as
/whatnot/browse's category query parameter.| Field | Filled in, of 35 checked | Values in the sample |
|---|---|---|
| id | 35 | |
| name | 35 | “Trading Card Games” and 34 other values |
| slug | 35 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/whatnot/categories" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"categories": [
{
"id": "Q2F0ZWdvcnlOb2RlOjE0OQ==",
"name": "Trading Card Games",
"slug": "trading_card_games"
},
{
"id": "Q2F0ZWdvcnlOb2RlOjM=",
"name": "Sports Cards",
"slug": "sports_cards"
},
{
"id": "Q2F0ZWdvcnlOb2RlOjY1Ng==",
"name": "Women's Fashion",
"slug": "womens_fashion"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/whatnot.categoriesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | whatnot.CategoriesResponse | No | ||||
| data.categories | array | No | ||||
| data.categories[].id | string | No | ||||
| data.categories[].name | string | No | ||||
| data.categories[].slug | string | No | e.g. "trading_card_games" | |||
| 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/whatnot/categories" \
-H "x-api-key: $CRAWLORA_API_KEY"