Pancakes
- userId
-
Ricky Langosh @ricky.langosh66
- name
- Pancakes
- kind
- breakfast
- calories
- 745
- proteinGrams
- 29.7
- carbsGrams
- 77.6
- fatGrams
- 35.1
- eatenAt
- createdAt
Overview
meals / #819
Pancakes
#819
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/819" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/819" ); 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/819"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/819"
)
meal = res.json() Response
{
"id": 819,
"userId": 198,
"name": "Pancakes",
"kind": "breakfast",
"calories": 745,
"proteinGrams": 29.7,
"carbsGrams": 77.6,
"fatGrams": 35.1,
"eatenAt": "2026-03-02T09:14:56.674Z",
"createdAt": "2026-03-02T09:22:36.214Z"
}