Hard Boiled Eggs
- userId
-
Allan Buckridge @allan_buckridge
- name
- Hard Boiled Eggs
- kind
- snack
- calories
- 354
- proteinGrams
- 11.6
- carbsGrams
- 53.4
- fatGrams
- 10.4
- eatenAt
- createdAt
Overview
meals / #439
Hard Boiled Eggs
#439
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/439" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/439" ); 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/439"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/439"
)
meal = res.json() Response
{
"id": 439,
"userId": 106,
"name": "Hard Boiled Eggs",
"kind": "snack",
"calories": 354,
"proteinGrams": 11.6,
"carbsGrams": 53.4,
"fatGrams": 10.4,
"eatenAt": "2026-02-24T23:41:12.957Z",
"createdAt": "2026-02-24T23:43:40.774Z"
}