example-data.com
Menu
Browse docs and collections

menu-items

menu-items

Page 53 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": 1249,
      "menuId": 133,
      "name": "Fried Turkey Pasta",
      "slug": "fried-turkey-pasta-1249",
      "description": "A hearty choice for those who love bold, satisfying meals.",
      "price": 26.49,
      "currency": "USD",
      "foodCategoryId": 24,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": true,
      "imageUrl": "https://picsum.photos/seed/menu-item-1249/640/480",
      "createdAt": "2024-09-16T08:28:54.036Z"
    },
    {
      "id": 1250,
      "menuId": 133,
      "name": "Herb-Crusted Mushroom Wrap",
      "slug": "herb-crusted-mushroom-wrap-1250",
      "description": "A light yet satisfying dish with vibrant flavors.",
      "price": 7.22,
      "currency": "USD",
      "foodCategoryId": 12,
      "spicyLevel": 1,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-1250/640/480",
      "createdAt": "2026-01-15T07:26:30.100Z"
    },
    {
      "id": 1251,
      "menuId": 133,
      "name": "Grilled Lamb Steak",
      "slug": "grilled-lamb-steak-1251",
      "description": "A customer favorite, crafted from locally sourced produce.",
      "price": 25.06,
      "currency": "USD",
      "foodCategoryId": 17,
      "spicyLevel": 1,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-1251/640/480",
      "createdAt": "2026-05-02T21:14:38.684Z"
    }
  ],
  "meta": {
    "page": 53,
    "limit": 24,
    "total": 1450,
    "totalPages": 61
  },
  "links": {
    "self": "/api/v1/menu-items?page=53&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=54&limit=24",
    "prev": "/api/v1/menu-items?page=52&limit=24"
  }
}