API

Your till knows what is sold out. Now the menu can too.

Push a sold-out dish, a new price, or a whole new section to Menu King over plain HTTP. Reading a published menu needs no key and costs nothing, on every plan.

Base URL: https://www.menuking.co/v1

Read a menu. No key.

Every published menu is a JSON document at a fixed address. It carries every language, price, allergen, diet and photo. Responses are cached and send an ETag, so polling is cheap and a browser can call it directly.

curl
curl https://www.menuking.co/v1/public/menus/your-venue/your-menu
Response, trimmed
{
  "venueSlug": "harbour-cafe",
  "slug": "dinner",
  "venueName": "Harbour Cafe",
  "currency": "EUR",
  "defaultLocale": "en",
  "locales": ["en", "fr"],
  "version": 14,
  "publishedAt": "2026-11-03T04:12:09.000Z",
  "sections": [{ "id": "sec_1", "name": { "en": "Starters", "fr": "Entrées" }, "type": "category", "parentId": null }],
  "items": [{
    "id": "item_1",
    "name": { "en": "Salt cod", "fr": "Morue salée" },
    "price": 18.5,
    "status": "offline",
    "allergens": ["fish"],
    "diets": [],
    "imageUrl": "https://…",
    "nodeIds": ["sec_1"]
  }]
}

Change a menu with a key

Create a key in Settings, then send it as a bearer token. Writes change the draft, so a half-finished edit never reaches a guest. Publish when you are ready. Keys are on Pro and Group. See plans

curl
# 86 two dishes at once
curl -X POST https://www.menuking.co/v1/venues/$VENUE_ID/items/availability \
  -H "Authorization: Bearer $MENUKING_KEY" \
  -H "Content-Type: application/json" \
  -d '{"itemIds": ["item_id_1", "item_id_2"], "status": "offline"}'

# Change a price
curl -X PATCH https://www.menuking.co/v1/venues/$VENUE_ID/items/$ITEM_ID \
  -H "Authorization: Bearer $MENUKING_KEY" \
  -H "Content-Type: application/json" \
  -d '{"price": 14.5}'
JavaScript
const res = await fetch("https://www.menuking.co/v1/venues/" + venueId + "/items?status=online", {
  headers: { Authorization: "Bearer " + process.env.MENUKING_KEY },
})
const { items, nextCursor } = await res.json()

Publish

One call pushes a menu live and refreshes the guest page and the cached JSON.

curl
curl -X POST https://www.menuking.co/v1/venues/$VENUE_ID/sections/$SECTION_ID/publish \
  -H "Authorization: Bearer $MENUKING_KEY"

Keys and scopes

Each key is read only, read and write, or read, write and publish. A key can be locked to one venue. Revoking a key stops it on the next request.

  • Keep keys on a server. The keyed API refuses calls from a web page, so a key in browser code will not work and should not be there.
  • Make one key per integration. If one leaks, you revoke it and the rest keep running.
  • A key is shown once, at creation. Store it like a password. If you lose it, make a new one.

Prices, drafts, errors and limits

  • Prices are plain decimals in the venue currency: 12.5, not 1250.
  • Writes change the draft. Guests see the last published version.
  • Errors are JSON: an error sentence you can show, and a code you can switch on.
  • 120 requests a minute per key. A 429 says how many seconds to wait in Retry-After.
  • Lists page with a cursor. Send back the nextCursor you were given.
  • Times are ISO 8601 in UTC.
An error
HTTP/1.1 402
{ "error": "API keys are on Pro and Group. This account is on Free.", "code": "plan_required" }

For scripts and agents

The same contract is published as an OpenAPI 3.1 file, and as plain text for language models. Menu King also speaks MCP, so Claude and ChatGPT can edit a menu in conversation. Webhooks tell you when a menu goes live.

Reference

The interactive reference loads in your browser. Everything in it is also in the OpenAPI file above.