example-data.com
Menu
Browse docs and collections

menu-items

menu-items

Page 23 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": 529,
      "menuId": 55,
      "name": "Butter-Poached Lobster Sandwich",
      "slug": "butter-poached-lobster-sandwich-529",
      "description": "Finished with a drizzle of extra virgin olive oil.",
      "price": 24.05,
      "currency": "USD",
      "foodCategoryId": 23,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": true,
      "imageUrl": "https://picsum.photos/seed/menu-item-529/640/480",
      "createdAt": "2025-06-16T04:30:25.036Z"
    },
    {
      "id": 530,
      "menuId": 55,
      "name": "Chef's Pork Wrap",
      "slug": "chef-s-pork-wrap-530",
      "description": "A delightful blend of fresh ingredients and bold spices.",
      "price": 76.54,
      "currency": "USD",
      "foodCategoryId": 6,
      "spicyLevel": 0,
      "isVegetarian": true,
      "isVegan": false,
      "isGlutenFree": true,
      "imageUrl": "https://picsum.photos/seed/menu-item-530/640/480",
      "createdAt": "2024-09-23T06:06:04.512Z"
    },
    {
      "id": 531,
      "menuId": 56,
      "name": "Signature Mushroom Wrap",
      "slug": "signature-mushroom-wrap-531",
      "description": "Rich flavors layered with care by our kitchen team.",
      "price": 45.97,
      "currency": "USD",
      "foodCategoryId": 2,
      "spicyLevel": 1,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-531/640/480",
      "createdAt": "2024-11-20T01:12:22.841Z"
    }
  ],
  "meta": {
    "page": 23,
    "limit": 24,
    "total": 1450,
    "totalPages": 61
  },
  "links": {
    "self": "/api/v1/menu-items?page=23&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=24&limit=24",
    "prev": "/api/v1/menu-items?page=22&limit=24"
  }
}