Rice Cakes
- userId
-
Jamal Gerhold @jamal.gerhold
- name
- Rice Cakes
- kind
- snack
- calories
- 348
- proteinGrams
- 35.2
- carbsGrams
- 43
- fatGrams
- 3.9
- eatenAt
- createdAt
Overview
meals / #481
Rice Cakes
#481
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/481" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/481" ); 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/481"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/481"
)
meal = res.json() Response
{
"id": 481,
"userId": 115,
"name": "Rice Cakes",
"kind": "snack",
"calories": 348,
"proteinGrams": 35.2,
"carbsGrams": 43,
"fatGrams": 3.9,
"eatenAt": "2025-11-02T00:11:03.674Z",
"createdAt": "2025-11-02T00:12:03.395Z"
}