example-data.com
Menu
Browse docs and collections

menu-items

menu-items

Page 25 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": 577,
      "menuId": 60,
      "name": "Slow-Cooked Turkey Salad",
      "slug": "slow-cooked-turkey-salad-577",
      "description": "A delightful blend of fresh ingredients and bold spices.",
      "price": 28.27,
      "currency": "USD",
      "foodCategoryId": 16,
      "spicyLevel": 1,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-577/640/480",
      "createdAt": "2025-02-13T11:51:57.372Z"
    },
    {
      "id": 578,
      "menuId": 61,
      "name": "Tangy Duck Wrap",
      "slug": "tangy-duck-wrap-578",
      "description": "Garnished with fresh herbs and a side of dipping sauce.",
      "price": 66.39,
      "currency": "USD",
      "foodCategoryId": 10,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-578/640/480",
      "createdAt": "2024-06-20T23:24:28.705Z"
    },
    {
      "id": 579,
      "menuId": 61,
      "name": "Fried Tuna Skewers",
      "slug": "fried-tuna-skewers-579",
      "description": "Made fresh to order with the finest quality ingredients.",
      "price": 17.49,
      "currency": "USD",
      "foodCategoryId": 6,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-579/640/480",
      "createdAt": "2024-12-31T20:23:28.475Z"
    }
  ],
  "meta": {
    "page": 25,
    "limit": 24,
    "total": 1450,
    "totalPages": 61
  },
  "links": {
    "self": "/api/v1/menu-items?page=25&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=26&limit=24",
    "prev": "/api/v1/menu-items?page=24&limit=24"
  }
}