meals
meals
Page 17 of 43.
Overview
-
Banana
#385
-
Granola Bowl
#386
-
Grilled Steak
#387
-
Cottage Cheese
#388
-
Lentil Soup
#389
-
Quinoa Bowl
#390
-
Hard Boiled Eggs
#391
-
Greek Yogurt Parfait
#392
-
Hard Boiled Eggs
#393
-
String Cheese
#394
-
Grilled Chicken Salad
#395
-
Falafel Bowl
#396
-
Sushi Roll
#397
-
Hummus and Veggies
#398
-
Protein Bar
#399
-
Scrambled Eggs
#400
-
Protein Bar
#401
-
Lentil Soup
#402
-
Falafel Bowl
#403
-
Sushi Roll
#404
-
Banana
#405
-
Rice Cakes
#406
-
Greek Yogurt Parfait
#407
-
Protein Shake
#408
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/meals?limit=25"
);
const { data, meta } = 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, ListEnvelope } from "./types/meals";
const res = await fetch(
"https://example-data.com/api/v1/meals?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Meal>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals",
params={"limit": 25},
)
data = res.json() Response
{
"data": [
{
"id": 385,
"userId": 92,
"name": "Banana",
"kind": "snack",
"calories": 428,
"proteinGrams": 26.2,
"carbsGrams": 64.7,
"fatGrams": 7.1,
"eatenAt": "2026-01-20T16:50:44.173Z",
"createdAt": "2026-01-20T17:07:39.693Z"
},
{
"id": 386,
"userId": 93,
"name": "Granola Bowl",
"kind": "breakfast",
"calories": 596,
"proteinGrams": 13.3,
"carbsGrams": 45.8,
"fatGrams": 39.9,
"eatenAt": "2026-03-28T01:18:02.152Z",
"createdAt": "2026-03-28T01:31:00.570Z"
},
{
"id": 387,
"userId": 93,
"name": "Grilled Steak",
"kind": "dinner",
"calories": 709,
"proteinGrams": 57.5,
"carbsGrams": 55.5,
"fatGrams": 28.5,
"eatenAt": "2025-12-13T06:38:28.202Z",
"createdAt": "2025-12-13T06:54:30.397Z"
}
],
"meta": {
"page": 17,
"limit": 24,
"total": 1016,
"totalPages": 43
},
"links": {
"self": "/api/v1/meals?page=17&limit=24",
"first": "/api/v1/meals?page=1&limit=24",
"last": "/api/v1/meals?page=43&limit=24",
"next": "/api/v1/meals?page=18&limit=24",
"prev": "/api/v1/meals?page=16&limit=24"
}
}