Oatmeal with Berries
- userId
-
Wade Upton @wade_upton78
- name
- Oatmeal with Berries
- kind
- breakfast
- calories
- 636
- proteinGrams
- 52.8
- carbsGrams
- 78
- fatGrams
- 12.5
- eatenAt
- createdAt
Overview
meals / #536
Oatmeal with Berries
#536
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/536" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/536" ); const meal = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/meals.d.ts https://example-data.com/types/meals.d.ts
import type { Meal } from "./types/meals";
const res = await fetch(
"https://example-data.com/api/v1/meals/536"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/536"
)
meal = res.json() Response
{
"id": 536,
"userId": 129,
"name": "Oatmeal with Berries",
"kind": "breakfast",
"calories": 636,
"proteinGrams": 52.8,
"carbsGrams": 78,
"fatGrams": 12.5,
"eatenAt": "2026-02-19T09:31:57.497Z",
"createdAt": "2026-02-19T09:57:36.568Z"
}