example-data.com

food-categories

food-categories

Browse 30 food-categories records. Free mock data API by Draftbit — fetch over REST or browse paginated HTML.

Appetizers

Starters, snacks, and small bites to begin a meal.

Mains

Main course dishes and entrees.

Desserts

Sweet treats, pastries, and after-meal indulgences.

Drinks

Beverages including hot drinks, cold drinks, and cocktails.

Sides

Side dishes and accompaniments to complement main courses.

Specials

Chef specials, seasonal items, and limited-time offerings.

Showing first 6 of 24 on this page.

curl -sS \
  "https://example-data.com/api/v1/food-categories?limit=25"
const res = await fetch(
  "https://example-data.com/api/v1/food-categories?limit=25"
);
const { data, meta } = await res.json();
import type { FoodCategorie, ListEnvelope } from "https://example-data.com/types/food-categories.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/food-categories?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<FoodCategorie>;
import requests

res = requests.get(
    "https://example-data.com/api/v1/food-categories",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 1,
      "name": "Appetizers",
      "slug": "appetizers",
      "description": "Starters, snacks, and small bites to begin a meal.",
      "parentId": null,
      "sortOrder": 1
    },
    {
      "id": 2,
      "name": "Mains",
      "slug": "mains",
      "description": "Main course dishes and entrees.",
      "parentId": null,
      "sortOrder": 2
    },
    {
      "id": 3,
      "name": "Desserts",
      "slug": "desserts",
      "description": "Sweet treats, pastries, and after-meal indulgences.",
      "parentId": null,
      "sortOrder": 3
    }
  ],
  "meta": {
    "page": 1,
    "limit": 25,
    "total": 30,
    "totalPages": 2
  },
  "links": {
    "self": "/api/v1/food-categories?page=1",
    "first": "/api/v1/food-categories?page=1",
    "last": "/api/v1/food-categories?page=2",
    "next": "/api/v1/food-categories?page=2",
    "prev": null
  }
}

View full response →

Draftbit