---
title: "Get Whatnot's category list"
method: GET
path: "/whatnot/categories"
tags: ["Whatnot"]
---

# Get Whatnot's category list

`GET /whatnot/categories`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/whatnot/categories`
- Auth: API key in header `x-api-key`

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.

## Headers

- `x-api-key` string, required

## Response `200`

OK

- WhatnotCategoriesResponseDoc
  - `code` integer
  - `data` WhatnotCategoriesResponse
    - `categories` WhatnotCategory[]
      - `id` string
      - `name` string
      - `slug` string: e.g. "trading_card_games"
  - `msg` string

## Other responses

- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
