Sonic

List one Sonic Drive-In menu category's items

Returns the items in one Sonic Drive-In menu category, each with its name and published calorie count. Category slugs come from GET /sonic/categories. Some entries are themselves a nested size/variant group (e.g. "Coffee" expands to Small/Medium/Large/Rt.44 orderable sizes) rather than a single orderable product -- there is no price or full nutrition panel in this source, only calories; see GET /sonic/item for description, image, and a link to Sonic's nutrition guide.

get/sonic/menu

Request

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

Query parameters

categorystring required

Category slug from /sonic/categories

Headers

x-api-keystring required

API key required

Response

OK

codeinteger

Code is the HTTP status code or a custom code used to indicate the result of the request @example 200

msgunknown

Example response

{
  "data": {
    "category": "breakfast",
    "count": 24,
    "items": [
      {
        "calories": 530,
        "name": "Bacon, Egg and Cheese Bagel"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.