Hard Boiled Eggs
- userId
-
Fritz Skiles @fritz_skiles
- name
- Hard Boiled Eggs
- kind
- snack
- calories
- 484
- proteinGrams
- 50.2
- carbsGrams
- 16.5
- fatGrams
- 24.1
- eatenAt
- createdAt
Overview
meals / #603
Hard Boiled Eggs
#603
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/603" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/603" ); 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/603"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/603"
)
meal = res.json() Response
{
"id": 603,
"userId": 144,
"name": "Hard Boiled Eggs",
"kind": "snack",
"calories": 484,
"proteinGrams": 50.2,
"carbsGrams": 16.5,
"fatGrams": 24.1,
"eatenAt": "2025-07-19T04:42:11.931Z",
"createdAt": "2025-07-19T05:04:39.512Z"
}