Grilled Steak
- userId
-
Marlin Goldner @marlin_goldner6
- name
- Grilled Steak
- kind
- dinner
- calories
- 588
- proteinGrams
- 19.5
- carbsGrams
- 40.3
- fatGrams
- 38.8
- eatenAt
- createdAt
Overview
meals / #662
Grilled Steak
#662
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/662" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/662" ); 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/662"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/662"
)
meal = res.json() Response
{
"id": 662,
"userId": 160,
"name": "Grilled Steak",
"kind": "dinner",
"calories": 588,
"proteinGrams": 19.5,
"carbsGrams": 40.3,
"fatGrams": 38.8,
"eatenAt": "2026-01-19T03:46:18.579Z",
"createdAt": "2026-01-19T03:54:56.647Z"
}