example-data.com
Menu
Browse docs and collections

menu-items

menu-items

Page 37 of 61.

Overview

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/menu-items?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/menu-items?limit=25"
);
const { data, meta } = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/menu-items.d.ts https://example-data.com/types/menu-items.d.ts
import type { MenuItem, ListEnvelope } from "./types/menu-items";

const res = await fetch(
  "https://example-data.com/api/v1/menu-items?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<MenuItem>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/menu-items",
    params={"limit": 25},
)
data = res.json()

Response

{
  "data": [
    {
      "id": 865,
      "menuId": 90,
      "name": "Garden Tuna Fillet",
      "slug": "garden-tuna-fillet-865",
      "description": "Perfectly balanced with textures and complementary flavors.",
      "price": 4.19,
      "currency": "USD",
      "foodCategoryId": 17,
      "spicyLevel": 0,
      "isVegetarian": true,
      "isVegan": true,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-865/640/480",
      "createdAt": "2024-07-22T05:26:55.718Z"
    },
    {
      "id": 866,
      "menuId": 90,
      "name": "Butter-Poached Pork Flatbread",
      "slug": "butter-poached-pork-flatbread-866",
      "description": "A customer favorite, crafted from locally sourced produce.",
      "price": 54.61,
      "currency": "USD",
      "foodCategoryId": 8,
      "spicyLevel": 1,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-866/640/480",
      "createdAt": "2026-01-25T11:47:12.002Z"
    },
    {
      "id": 867,
      "menuId": 90,
      "name": "Classic Turkey Wrap",
      "slug": "classic-turkey-wrap-867",
      "description": "Light and refreshing with a hint of citrus and herbs.",
      "price": 67.44,
      "currency": "USD",
      "foodCategoryId": 3,
      "spicyLevel": 3,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-867/640/480",
      "createdAt": "2026-01-11T08:21:29.720Z"
    }
  ],
  "meta": {
    "page": 37,
    "limit": 24,
    "total": 1450,
    "totalPages": 61
  },
  "links": {
    "self": "/api/v1/menu-items?page=37&limit=24",
    "first": "/api/v1/menu-items?page=1&limit=24",
    "last": "/api/v1/menu-items?page=61&limit=24",
    "next": "/api/v1/menu-items?page=38&limit=24",
    "prev": "/api/v1/menu-items?page=36&limit=24"
  }
}