---
title: "List all categories"
method: GET
path: "/api/category"
tags: ["Category"]
---

# List all categories

`GET /api/category`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/category`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/category/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of all categories with subcategory counts. Results are cached for 5 minutes.

## Query parameters

- `name` string

## Response `200`

List of categories

- object[]
  - `id` integer
  - `name` string
  - `synopsis` string, nullable
  - `subcategories_count` integer

## Other responses

- `401`: Unauthenticated

---

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