example-data.com

meals / #96

userId
Antoinette Greenfelder @antoinette_greenfelder61
name
Oatmeal with Berries
kind
breakfast
calories
419
proteinGrams
53.1
carbsGrams
13.4
fatGrams
17
eatenAt
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/meals/96" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/meals/96"
);
const meal = await res.json();
import type { Meal } from "https://example-data.com/types/meals.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/meals/96"
);
const meal = (await res.json()) as Meal;
import requests

res = requests.get(
    "https://example-data.com/api/v1/meals/96"
)
meal = res.json()
{
  "id": 96,
  "userId": 22,
  "name": "Oatmeal with Berries",
  "kind": "breakfast",
  "calories": 419,
  "proteinGrams": 53.1,
  "carbsGrams": 13.4,
  "fatGrams": 17,
  "eatenAt": "2026-04-03T01:14:50.971Z",
  "createdAt": "2026-04-03T01:37:35.347Z"
}
Draftbit