example-data.com
Menu
Browse docs and collections

menu-items

menu-items

Page 51 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": 1201,
      "menuId": 128,
      "name": "Braised Shrimp Curry",
      "slug": "braised-shrimp-curry-1201",
      "description": "Finished with a drizzle of extra virgin olive oil.",
      "price": 73.92,
      "currency": "USD",
      "foodCategoryId": 8,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-1201/640/480",
      "createdAt": "2024-09-12T13:11:28.029Z"
    },
    {
      "id": 1202,
      "menuId": 128,
      "name": "Garden Cheese Sandwich",
      "slug": "garden-cheese-sandwich-1202",
      "description": "A customer favorite, crafted from locally sourced produce.",
      "price": 50.6,
      "currency": "USD",
      "foodCategoryId": null,
      "spicyLevel": 2,
      "isVegetarian": true,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-1202/640/480",
      "createdAt": "2025-08-07T11:44:59.507Z"
    },
    {
      "id": 1203,
      "menuId": 128,
      "name": "Savory Cheese Flatbread",
      "slug": "savory-cheese-flatbread-1203",
      "description": "Light and refreshing with a hint of citrus and herbs.",
      "price": 17.44,
      "currency": "USD",
      "foodCategoryId": 12,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": true,
      "imageUrl": "https://picsum.photos/seed/menu-item-1203/640/480",
      "createdAt": "2024-06-22T09:01:32.063Z"
    }
  ],
  "meta": {
    "page": 51,
    "limit": 24,
    "total": 1450,
    "totalPages": 61
  },
  "links": {
    "self": "/api/v1/menu-items?page=51&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=52&limit=24",
    "prev": "/api/v1/menu-items?page=50&limit=24"
  }
}