Hard Boiled Eggs
- userId
-
Melvina Reilly @melvina_reilly83
- name
- Hard Boiled Eggs
- kind
- snack
- calories
- 673
- proteinGrams
- 56.3
- carbsGrams
- 63.8
- fatGrams
- 21.4
- eatenAt
- createdAt
Overview
meals / #114
Hard Boiled Eggs
#114
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/114" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/114" ); 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/114"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/114"
)
meal = res.json() Response
{
"id": 114,
"userId": 26,
"name": "Hard Boiled Eggs",
"kind": "snack",
"calories": 673,
"proteinGrams": 56.3,
"carbsGrams": 63.8,
"fatGrams": 21.4,
"eatenAt": "2026-01-18T07:12:48.385Z",
"createdAt": "2026-01-18T07:31:59.073Z"
}