---
title: "Top-level categories, or the children of one parent; with `slug`, the categories of any level carrying that slug (the site resolves `/categories/…` paths with it)."
method: GET
path: "/v1/categories"
tags: ["categories"]
---

# Top-level categories, or the children of one parent; with \`slug\`, the categories of any level carrying that slug (the site resolves \`/categories/…\` paths with it).

`GET /v1/categories`

## Request

- Base URL: `https://api.storequant.com`
- URL: `https://api.storequant.com/v1/categories`
- Auth: HTTP bearer

Top-level categories, or the children of one parent; with `slug`, the categories of any level carrying that slug (the site resolves `/categories/…` paths with it). Scope `categories:read`; cache `daily`.

## Query parameters

- `limit` integer
- `cursor` string
- `parent_id` string, uuid
- `slug` string

## Response `200`

A page; `meta.cursor` is present when more follow.

- object
  - `data` object[], required
    - `id` string, uuid, required
    - `slug` string, required
    - `name` string, required
    - `level` integer, required
    - `url` string, uri, required
    - `parent` object, nullable, required
      - `id` string, uuid, required
      - `slug` string, required
      - `name` string, required
    - `brands` integer, required
    - `active_ads` integer, required
    - `as_of` string, date-time, required
  - `meta` object, required
    - `request_id` string, required
    - `as_of` string, date-time, required
    - `lag_hours` number
    - `cursor` string
    - `count` integer

## Other responses

- `4XX`: The one error shape.
- `5XX`: The one error shape.

---

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