example-data.com
Menu
Browse docs and collections

menu-items

menu-items

Page 33 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": 769,
      "menuId": 81,
      "name": "Savory Chicken Steak",
      "slug": "savory-chicken-steak-769",
      "description": "A customer favorite, crafted from locally sourced produce.",
      "price": 13.47,
      "currency": "USD",
      "foodCategoryId": 8,
      "spicyLevel": 1,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": true,
      "imageUrl": "https://picsum.photos/seed/menu-item-769/640/480",
      "createdAt": "2024-07-16T19:39:15.648Z"
    },
    {
      "id": 770,
      "menuId": 81,
      "name": "House Turkey Platter",
      "slug": "house-turkey-platter-770",
      "description": "A crowd-pleasing selection that never disappoints.",
      "price": 48.12,
      "currency": "USD",
      "foodCategoryId": 24,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": true,
      "imageUrl": "https://picsum.photos/seed/menu-item-770/640/480",
      "createdAt": "2025-06-28T08:06:37.729Z"
    },
    {
      "id": 771,
      "menuId": 81,
      "name": "Pan-Seared Scallops Fillet",
      "slug": "pan-seared-scallops-fillet-771",
      "description": "Inspired by traditional recipes with a modern twist.",
      "price": 17.95,
      "currency": "USD",
      "foodCategoryId": 4,
      "spicyLevel": 0,
      "isVegetarian": true,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-771/640/480",
      "createdAt": "2025-10-23T08:56:59.783Z"
    }
  ],
  "meta": {
    "page": 33,
    "limit": 24,
    "total": 1450,
    "totalPages": 61
  },
  "links": {
    "self": "/api/v1/menu-items?page=33&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=34&limit=24",
    "prev": "/api/v1/menu-items?page=32&limit=24"
  }
}