example-data.com
Menu
Browse docs and collections

menu-items

menu-items

Page 41 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": 961,
      "menuId": 100,
      "name": "Herb-Crusted Cheese Risotto",
      "slug": "herb-crusted-cheese-risotto-961",
      "description": "Rich flavors layered with care by our kitchen team.",
      "price": 43.49,
      "currency": "USD",
      "foodCategoryId": 11,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-961/640/480",
      "createdAt": "2025-06-13T14:05:05.901Z"
    },
    {
      "id": 962,
      "menuId": 100,
      "name": "Pan-Seared Tuna Pizza",
      "slug": "pan-seared-tuna-pizza-962",
      "description": "Rich flavors layered with care by our kitchen team.",
      "price": 60.65,
      "currency": "USD",
      "foodCategoryId": 6,
      "spicyLevel": 1,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": true,
      "imageUrl": "https://picsum.photos/seed/menu-item-962/640/480",
      "createdAt": "2025-10-12T10:29:04.165Z"
    },
    {
      "id": 963,
      "menuId": 100,
      "name": "Fire-Roasted Beef Pasta",
      "slug": "fire-roasted-beef-pasta-963",
      "description": "Made fresh to order with the finest quality ingredients.",
      "price": 18.88,
      "currency": "USD",
      "foodCategoryId": 29,
      "spicyLevel": 0,
      "isVegetarian": true,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-963/640/480",
      "createdAt": "2025-06-10T15:23:42.154Z"
    }
  ],
  "meta": {
    "page": 41,
    "limit": 24,
    "total": 1450,
    "totalPages": 61
  },
  "links": {
    "self": "/api/v1/menu-items?page=41&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=42&limit=24",
    "prev": "/api/v1/menu-items?page=40&limit=24"
  }
}