Roasted Chicken
- userId
-
Jennifer Hoeger @jennifer.hoeger
- name
- Roasted Chicken
- kind
- dinner
- calories
- 572
- proteinGrams
- 38.1
- carbsGrams
- 45
- fatGrams
- 26.6
- eatenAt
- createdAt
Overview
meals / #494
Roasted Chicken
#494
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/494" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/494" ); 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/494"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/494"
)
meal = res.json() Response
{
"id": 494,
"userId": 119,
"name": "Roasted Chicken",
"kind": "dinner",
"calories": 572,
"proteinGrams": 38.1,
"carbsGrams": 45,
"fatGrams": 26.6,
"eatenAt": "2025-10-08T21:11:45.285Z",
"createdAt": "2025-10-08T21:28:42.428Z"
}