example-data.com
Menu
Browse docs and collections

menu-items

menu-items

Page 17 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": 385,
      "menuId": 38,
      "name": "Classic Mushroom Salad",
      "slug": "classic-mushroom-salad-385",
      "description": "A hearty choice for those who love bold, satisfying meals.",
      "price": 77.47,
      "currency": "USD",
      "foodCategoryId": 9,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-385/640/480",
      "createdAt": "2025-11-07T13:22:43.820Z"
    },
    {
      "id": 386,
      "menuId": 39,
      "name": "Pan-Seared Lamb Platter",
      "slug": "pan-seared-lamb-platter-386",
      "description": "Garnished with fresh herbs and a side of dipping sauce.",
      "price": 37.55,
      "currency": "USD",
      "foodCategoryId": null,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": true,
      "imageUrl": "https://picsum.photos/seed/menu-item-386/640/480",
      "createdAt": "2025-08-19T06:49:24.700Z"
    },
    {
      "id": 387,
      "menuId": 39,
      "name": "Savory Chicken Pasta",
      "slug": "savory-chicken-pasta-387",
      "description": "A customer favorite, crafted from locally sourced produce.",
      "price": 28.46,
      "currency": "USD",
      "foodCategoryId": 6,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-387/640/480",
      "createdAt": "2026-01-22T03:13:41.858Z"
    }
  ],
  "meta": {
    "page": 17,
    "limit": 24,
    "total": 1450,
    "totalPages": 61
  },
  "links": {
    "self": "/api/v1/menu-items?page=17&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=18&limit=24",
    "prev": "/api/v1/menu-items?page=16&limit=24"
  }
}