Scrambled Eggs
- userId
-
Allan Buckridge @allan_buckridge
- name
- Scrambled Eggs
- kind
- breakfast
- calories
- 626
- proteinGrams
- 42
- carbsGrams
- 36.1
- fatGrams
- 34.8
- eatenAt
- createdAt
Overview
meals / #438
Scrambled Eggs
#438
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/438" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/438" ); 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/438"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/438"
)
meal = res.json() Response
{
"id": 438,
"userId": 106,
"name": "Scrambled Eggs",
"kind": "breakfast",
"calories": 626,
"proteinGrams": 42,
"carbsGrams": 36.1,
"fatGrams": 34.8,
"eatenAt": "2026-03-19T19:42:25.440Z",
"createdAt": "2026-03-19T19:52:39.256Z"
}