example-data.com
Menu
Browse docs and collections

menu-items

menu-items

Page 22 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": 505,
      "menuId": 52,
      "name": "Chef's Scallops Sandwich",
      "slug": "chef-s-scallops-sandwich-505",
      "description": "A light yet satisfying dish with vibrant flavors.",
      "price": 63.2,
      "currency": "USD",
      "foodCategoryId": 22,
      "spicyLevel": 1,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-505/640/480",
      "createdAt": "2025-12-29T00:38:19.735Z"
    },
    {
      "id": 506,
      "menuId": 53,
      "name": "Steamed Veggie Salad",
      "slug": "steamed-veggie-salad-506",
      "description": "A delightful blend of fresh ingredients and bold spices.",
      "price": 10.17,
      "currency": "USD",
      "foodCategoryId": 27,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-506/640/480",
      "createdAt": "2024-06-14T09:19:10.881Z"
    },
    {
      "id": 507,
      "menuId": 53,
      "name": "Spicy Cod Platter",
      "slug": "spicy-cod-platter-507",
      "description": "A customer favorite, crafted from locally sourced produce.",
      "price": 18.84,
      "currency": "USD",
      "foodCategoryId": 27,
      "spicyLevel": 0,
      "isVegetarian": true,
      "isVegan": true,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-507/640/480",
      "createdAt": "2025-10-30T14:32:30.281Z"
    }
  ],
  "meta": {
    "page": 22,
    "limit": 24,
    "total": 1450,
    "totalPages": 61
  },
  "links": {
    "self": "/api/v1/menu-items?page=22&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=23&limit=24",
    "prev": "/api/v1/menu-items?page=21&limit=24"
  }
}