Almonds
- userId
-
Marlin Goldner @marlin_goldner6
- name
- Almonds
- kind
- snack
- calories
- 557
- proteinGrams
- 37.6
- carbsGrams
- 31.1
- fatGrams
- 31.3
- eatenAt
- createdAt
Overview
meals / #661
Almonds
#661
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/661" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/661" ); 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/661"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/661"
)
meal = res.json() Response
{
"id": 661,
"userId": 160,
"name": "Almonds",
"kind": "snack",
"calories": 557,
"proteinGrams": 37.6,
"carbsGrams": 31.1,
"fatGrams": 31.3,
"eatenAt": "2026-04-12T01:34:53.260Z",
"createdAt": "2026-04-12T01:53:31.565Z"
}