Hard Boiled Eggs
- userId
-
Roosevelt Ullrich @roosevelt.ullrich75
- name
- Hard Boiled Eggs
- kind
- snack
- calories
- 623
- proteinGrams
- 50.9
- carbsGrams
- 34.7
- fatGrams
- 31.2
- eatenAt
- createdAt
Overview
meals / #968
Hard Boiled Eggs
#968
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/968" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/968" ); 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/968"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/968"
)
meal = res.json() Response
{
"id": 968,
"userId": 237,
"name": "Hard Boiled Eggs",
"kind": "snack",
"calories": 623,
"proteinGrams": 50.9,
"carbsGrams": 34.7,
"fatGrams": 31.2,
"eatenAt": "2025-07-15T00:45:49.650Z",
"createdAt": "2025-07-15T01:14:35.281Z"
}