example-data.com
Menu
Browse docs and collections

menu-items

menu-items

Page 48 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": 1129,
      "menuId": 121,
      "name": "Wood-Fired Lobster Sandwich",
      "slug": "wood-fired-lobster-sandwich-1129",
      "description": "Garnished with fresh herbs and a side of dipping sauce.",
      "price": 35.48,
      "currency": "USD",
      "foodCategoryId": 13,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-1129/640/480",
      "createdAt": "2024-10-06T19:28:55.519Z"
    },
    {
      "id": 1130,
      "menuId": 121,
      "name": "Baked Tofu Sandwich",
      "slug": "baked-tofu-sandwich-1130",
      "description": "A customer favorite, crafted from locally sourced produce.",
      "price": 44.29,
      "currency": "USD",
      "foodCategoryId": 18,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-1130/640/480",
      "createdAt": "2025-06-07T04:07:48.490Z"
    },
    {
      "id": 1131,
      "menuId": 121,
      "name": "Garden Chicken Wrap",
      "slug": "garden-chicken-wrap-1131",
      "description": "Perfectly balanced with textures and complementary flavors.",
      "price": 48.37,
      "currency": "USD",
      "foodCategoryId": 19,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-1131/640/480",
      "createdAt": "2024-11-28T22:02:56.206Z"
    }
  ],
  "meta": {
    "page": 48,
    "limit": 24,
    "total": 1450,
    "totalPages": 61
  },
  "links": {
    "self": "/api/v1/menu-items?page=48&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=49&limit=24",
    "prev": "/api/v1/menu-items?page=47&limit=24"
  }
}