# Cracker Barrel API

> Cracker Barrel store menus with prices and item modifier groups

- Vendor: `crackerbarrelapi` · version 1.0 · category Food · tags cracker barrel api, cracker barrel menu api, cracker barrel prices api, restaurant menu api, cracker barrel modifiers api, family meals menu api
- Datasource: custom HTTP routes
- Marketplace page: https://apiclay.com/api/crackerbarrelapi
- This document: https://apiclay.com/docs/crackerbarrelapi.md
- OpenAPI 3.1: https://apiclay.com/api/crackerbarrelapi/openapi.json
- MCP: connect https://api.apiclay.com/v1/mcp (see https://apiclay.com/llms.txt), then `apiclay_describe_api` with vendor `crackerbarrelapi`
- Updated: 2026-11-18

## About

## Cracker Barrel API

Read a Cracker Barrel store's online menu (categories, nested subcategories, items, prices, images) and the modifier groups of any item.

Data comes from **crackerbarrel.com** (https://www.crackerbarrel.com). Every route below calls the site's own endpoint directly and returns the upstream response unchanged.

Typical flow: `/menus` -&gt; `/customizations`

### Routes

#### GET `/menus` - Menus (store menu)
Returns the store's menu categories with items and prices.

| Param | In | Type | Required | Description |
|---|---|---|---|---|
| restaurant_id | path | string | yes | Store's online-ordering name, e.g. `mtarlingtonnj`. |

Returns (fields in the upstream response, as MealMe's parser reads them):
- `[].Slug`, `[].DisplayName`: categories
- `[].Products[]`: items (`StoreProductId`, `DisplayName`, `Description`, `ListPrice` in dollars, `ImageFilePath`, `DetailLink`)
- `[].Categories[]`: nested subcategories (same shape)
- an empty list means the id is not the store's online-ordering name

#### GET `/customizations` - Customizations (item modifiers)
Returns one item with its modifier groups.

| Param | In | Type | Required | Description |
|---|---|---|---|---|
| item_id | path | string | yes | `StoreProductId` from `/menus`. |

Returns (fields in the upstream response, as MealMe's parser reads them):
- `Modifiers.productModifiers[]`: groups (`optionGroupId`, `description`, `mandatory`)
- `Modifiers.productModifiers[].productModifierOptions[]`: options (`optionId`, `optionName`, `cost` in dollars), nested groups under `productModifierOptionsGroup`

### Not yet available

| Endpoint | Why |
|---|---|
| store-page lookup of the online-ordering name | needs the store page's full URL (HTML) |

### Caveats

- The source site uses bot protection (Vercel Firewall); calls may be blocked until that is handled.
- These routes were written from MealMe's integration code and have not yet returned live data through this listing.
- Upstream calls change over time (embedded keys, field names). Verify responses before relying on them.
- Not affiliated with crackerbarrel.com.

## Pricing

- Pay as you go: 0.0012 credits/request
- Trial: 1 free requests per buyer
- Billing order: trial requests -> subscribed plan requests -> pay as you go. 1 credit's USD value is shown on the marketplace page.

## HTTP routes

Only the public, buyer-facing parts of each route are listed; vendor-side credentials stay on the gateway.

### GET /menus — Menus (store menu)
- Gateway: `GET https://api.apiclay.com/v1/api/crackerbarrelapi/menus`
- Public query params: `restaurant_id` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### GET /customizations — Customizations (item modifiers)
- Gateway: `GET https://api.apiclay.com/v1/api/crackerbarrelapi/customizations`
- Public query params: `item_id` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

## Call example

```bash
curl -X GET "https://api.apiclay.com/v1/api/crackerbarrelapi/menus?restaurant_id=<restaurant_id>" \
  -H "token: <YOUR_APICLAY_TOKEN>"
```

Index of every published API: https://apiclay.com/llms.txt
