Skip to main content

Your menu in your own frontend

Read a restaurant's public menu with a single call, no key, and present it with your own design.

The public menu of any restaurant is at https://delimenu.co/api/v1/menus/{identifier}, where identifier is the same one that appears in https://delimenu.co/{identifier}. It returns exactly what a diner sees: the categories with at least one visible product, in order, and their products with prices, promotions, availability, variants and photos.

const res = await fetch('https://delimenu.co/api/v1/menus/demo')
const { restaurant, categories } = await res.json()

for (const category of categories) {
  console.log(category.name)
  for (const product of category.products) {
    console.log(' ', product.name, product.price, restaurant.currency)
  }
}

It can be called straight from the browser (CORS is open) and it is cached at the edge: every change you make in the dashboard, through the API or with an agent refreshes it within seconds. If the restaurant has no active plan, it answers 403 with only its name, just like the public page.

Complete examples

Two Next.js sites that read a real menu with that single call and present it with a design of their own. Copy the one you prefer and replace the identifier with yours.

Developers