Rice Cakes
- userId
-
Roma Durgan @roma.durgan
- name
- Rice Cakes
- kind
- snack
- calories
- 564
- proteinGrams
- 45.9
- carbsGrams
- 70.3
- fatGrams
- 11
- eatenAt
- createdAt
Overview
meals / #886
Rice Cakes
#886
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/886" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/886" ); 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/886"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/886"
)
meal = res.json() Response
{
"id": 886,
"userId": 215,
"name": "Rice Cakes",
"kind": "snack",
"calories": 564,
"proteinGrams": 45.9,
"carbsGrams": 70.3,
"fatGrams": 11,
"eatenAt": "2026-03-12T14:07:41.191Z",
"createdAt": "2026-03-12T14:17:08.296Z"
}