Scrambled Eggs
- userId
-
Frederic Armstrong @frederic_armstrong96
- name
- Scrambled Eggs
- kind
- breakfast
- calories
- 312
- proteinGrams
- 10.8
- carbsGrams
- 55.6
- fatGrams
- 5.1
- eatenAt
- createdAt
Overview
meals / #821
Scrambled Eggs
#821
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/821" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/821" ); 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/821"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/821"
)
meal = res.json() Response
{
"id": 821,
"userId": 199,
"name": "Scrambled Eggs",
"kind": "breakfast",
"calories": 312,
"proteinGrams": 10.8,
"carbsGrams": 55.6,
"fatGrams": 5.1,
"eatenAt": "2026-04-18T22:07:42.902Z",
"createdAt": "2026-04-18T22:17:22.144Z"
}