meals
meals
Page 10 of 43.
Overview
-
Banana
#217
-
Quinoa Bowl
#218
-
Rice Cakes
#219
-
Rice Cakes
#220
-
Baked Salmon
#221
-
Grilled Chicken Salad
#222
-
Apple and Peanut Butter
#223
-
Banana
#224
-
Mediterranean Bowl
#225
-
Greek Yogurt Parfait
#226
-
Cottage Cheese
#227
-
Scrambled Eggs
#228
-
Protein Shake
#229
-
Beef Tacos
#230
-
Grilled Chicken Salad
#231
-
Granola Bowl
#232
-
Scrambled Eggs
#233
-
Oatmeal with Berries
#234
-
Granola Bowl
#235
-
Tofu Curry
#236
-
Granola Bowl
#237
-
Smoothie Bowl
#238
-
Overnight Oats
#239
-
Trail Mix
#240
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": 217,
"userId": 52,
"name": "Banana",
"kind": "snack",
"calories": 647,
"proteinGrams": 25.1,
"carbsGrams": 53.5,
"fatGrams": 37,
"eatenAt": "2025-09-17T16:12:40.002Z",
"createdAt": "2025-09-17T16:18:11.324Z"
},
{
"id": 218,
"userId": 53,
"name": "Quinoa Bowl",
"kind": "lunch",
"calories": 433,
"proteinGrams": 20.6,
"carbsGrams": 13.6,
"fatGrams": 32.9,
"eatenAt": "2025-10-13T21:39:58.373Z",
"createdAt": "2025-10-13T21:53:14.012Z"
},
{
"id": 219,
"userId": 53,
"name": "Rice Cakes",
"kind": "snack",
"calories": 233,
"proteinGrams": 40.5,
"carbsGrams": 8.4,
"fatGrams": 4.1,
"eatenAt": "2025-11-11T09:32:28.337Z",
"createdAt": "2025-11-11T09:44:23.758Z"
}
],
"meta": {
"page": 10,
"limit": 24,
"total": 1016,
"totalPages": 43
},
"links": {
"self": "/api/v1/meals?page=10&limit=24",
"first": "/api/v1/meals?page=1&limit=24",
"last": "/api/v1/meals?page=43&limit=24",
"next": "/api/v1/meals?page=11&limit=24",
"prev": "/api/v1/meals?page=9&limit=24"
}
}