Avocado Toast
- userId
-
Perry Kerluke @perry_kerluke83
- name
- Avocado Toast
- kind
- breakfast
- calories
- 579
- proteinGrams
- 27.9
- carbsGrams
- 51.1
- fatGrams
- 29.2
- eatenAt
- createdAt
Overview
meals / #716
Avocado Toast
#716
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/716" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/716" ); 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/716"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/716"
)
meal = res.json() Response
{
"id": 716,
"userId": 174,
"name": "Avocado Toast",
"kind": "breakfast",
"calories": 579,
"proteinGrams": 27.9,
"carbsGrams": 51.1,
"fatGrams": 29.2,
"eatenAt": "2026-04-07T08:08:53.956Z",
"createdAt": "2026-04-07T08:25:50.151Z"
}