---
title: "List Sonic Drive-In menu categories"
method: GET
path: "/sonic/categories"
tags: ["Sonic"]
---

# List Sonic Drive-In menu categories

`GET /sonic/categories`

## Request

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

Returns Sonic Drive-In's national menu's top-level categories -- Breakfast, Value, Limited Time, Combos, Burgers, Chicken, Hot Dogs, Sandwiches, Snacks & Sides, Sweets, Tea & Coffee, Lemonades & Limeades, Sodas, Slushes, Refreshers, Wacky Pack Kids Meals and others -- each with its slug (the value GET /sonic/menu takes) and a page_count of subcategory/item pages nested under it.

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SonicCategoriesResponseDoc
  - `code` integer: Code is the HTTP status code or a custom code used to indicate the result of the request @example 200
  - `data` SonicCategoriesResponse
    - `categories` SonicCategory[]
      - `name` string: Name is Sonic's own category name where known (see categoryDisplayNames), otherwise a best-effort title-cased form of Slug -- see titleCaseSlug's doc comment.
      - `page_count` integer: PageCount is the number of subcategory and item pages Sonic's own menu sitemap lists under this category -- a proxy for menu size, not a deduplicated product count (a size-variant group like "Coffee" counts as one page here even though it expands to several orderable sizes).
      - `slug` string
      - `url` string
    - `count` integer
    - `fetched_at` string
    - `source_url` string
  - `msg` unknown

## Other responses

- `429`: Too Many Requests
- `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/0497899e2016?raw)
