example-data.com
Menu
Browse docs and collections

menu-items

menu-items

Page 14 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": 313,
      "menuId": 31,
      "name": "Seasonal Crab Roll",
      "slug": "seasonal-crab-roll-313",
      "description": "Perfectly balanced with textures and complementary flavors.",
      "price": 6.73,
      "currency": "USD",
      "foodCategoryId": null,
      "spicyLevel": 0,
      "isVegetarian": true,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-313/640/480",
      "createdAt": "2024-09-07T02:27:05.297Z"
    },
    {
      "id": 314,
      "menuId": 31,
      "name": "Chef's Tuna Steak",
      "slug": "chef-s-tuna-steak-314",
      "description": "Served with seasonal sides and house-made sauce.",
      "price": 10.27,
      "currency": "USD",
      "foodCategoryId": 30,
      "spicyLevel": 0,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": false,
      "imageUrl": "https://picsum.photos/seed/menu-item-314/640/480",
      "createdAt": "2025-03-25T04:59:58.792Z"
    },
    {
      "id": 315,
      "menuId": 31,
      "name": "Smoked Cod Steak",
      "slug": "smoked-cod-steak-315",
      "description": "Slow-cooked to perfection with aromatic herbs and spices.",
      "price": 5,
      "currency": "USD",
      "foodCategoryId": 26,
      "spicyLevel": 2,
      "isVegetarian": false,
      "isVegan": false,
      "isGlutenFree": true,
      "imageUrl": "https://picsum.photos/seed/menu-item-315/640/480",
      "createdAt": "2025-10-08T10:28:08.038Z"
    }
  ],
  "meta": {
    "page": 14,
    "limit": 24,
    "total": 1450,
    "totalPages": 61
  },
  "links": {
    "self": "/api/v1/menu-items?page=14&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=15&limit=24",
    "prev": "/api/v1/menu-items?page=13&limit=24"
  }
}