example-data.com
Menu
Browse docs and collections

menu-items

menu-items

Page 57 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": 1345,
      "menuId": 143,
      "name": "Steamed Tempeh Platter",
      "slug": "steamed-tempeh-platter-1345",
      "description": "Topped with house-made salsa and a squeeze of fresh lime.",
      "price": 71.58,
      "currency": "USD",
      "foodCategoryId": null,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": true,
      "imageUrl": "https://picsum.photos/seed/menu-item-1345/640/480",
      "createdAt": "2025-11-14T04:20:50.167Z"
    },
    {
      "id": 1346,
      "menuId": 143,
      "name": "Baked Mushroom Fillet",
      "slug": "baked-mushroom-fillet-1346",
      "description": "Made fresh to order with the finest quality ingredients.",
      "price": 15.86,
      "currency": "USD",
      "foodCategoryId": 29,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-1346/640/480",
      "createdAt": "2024-07-26T17:24:14.735Z"
    },
    {
      "id": 1347,
      "menuId": 144,
      "name": "Charcoal Shrimp Skewers",
      "slug": "charcoal-shrimp-skewers-1347",
      "description": "Perfectly balanced with textures and complementary flavors.",
      "price": 59.9,
      "currency": "USD",
      "foodCategoryId": 27,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-1347/640/480",
      "createdAt": "2025-05-24T16:47:39.467Z"
    }
  ],
  "meta": {
    "page": 57,
    "limit": 24,
    "total": 1450,
    "totalPages": 61
  },
  "links": {
    "self": "/api/v1/menu-items?page=57&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=58&limit=24",
    "prev": "/api/v1/menu-items?page=56&limit=24"
  }
}