example-data.com
Menu
Browse docs and collections

menu-items

menu-items

Page 59 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": 1393,
      "menuId": 149,
      "name": "Pan-Seared Duck Pasta",
      "slug": "pan-seared-duck-pasta-1393",
      "description": "A customer favorite, crafted from locally sourced produce.",
      "price": 33,
      "currency": "USD",
      "foodCategoryId": null,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-1393/640/480",
      "createdAt": "2025-07-21T09:34:24.314Z"
    },
    {
      "id": 1394,
      "menuId": 149,
      "name": "Grilled Duck Curry",
      "slug": "grilled-duck-curry-1394",
      "description": "A hearty choice for those who love bold, satisfying meals.",
      "price": 79.84,
      "currency": "USD",
      "foodCategoryId": 24,
      "spicyLevel": 1,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-1394/640/480",
      "createdAt": "2025-10-29T22:48:02.878Z"
    },
    {
      "id": 1395,
      "menuId": 149,
      "name": "Spicy Mushroom Soup",
      "slug": "spicy-mushroom-soup-1395",
      "description": "A customer favorite, crafted from locally sourced produce.",
      "price": 51.97,
      "currency": "USD",
      "foodCategoryId": 21,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-1395/640/480",
      "createdAt": "2024-07-30T17:30:42.078Z"
    }
  ],
  "meta": {
    "page": 59,
    "limit": 24,
    "total": 1450,
    "totalPages": 61
  },
  "links": {
    "self": "/api/v1/menu-items?page=59&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=60&limit=24",
    "prev": "/api/v1/menu-items?page=58&limit=24"
  }
}