meals
meals
Page 18 of 43.
Overview
-
Greek Yogurt Parfait
#409
-
Veggie Burger
#410
-
Egg White Omelette
#411
-
Scrambled Eggs
#412
-
Falafel Bowl
#413
-
Roasted Chicken
#414
-
Scrambled Eggs
#415
-
Lentil Soup
#416
-
Tuna Wrap
#417
-
Lentil Soup
#418
-
Trail Mix
#419
-
Beef Tacos
#420
-
Sushi Roll
#421
-
Lentil Soup
#422
-
Protein Bar
#423
-
Tofu Curry
#424
-
Baked Salmon
#425
-
Hummus and Veggies
#426
-
Quinoa Bowl
#427
-
Protein Bar
#428
-
Roasted Chicken
#429
-
Smoothie Bowl
#430
-
Tuna Wrap
#431
-
Almonds
#432
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": 409,
"userId": 99,
"name": "Greek Yogurt Parfait",
"kind": "breakfast",
"calories": 444,
"proteinGrams": 25,
"carbsGrams": 11.4,
"fatGrams": 33.2,
"eatenAt": "2026-02-03T14:25:38.411Z",
"createdAt": "2026-02-03T14:29:02.062Z"
},
{
"id": 410,
"userId": 99,
"name": "Veggie Burger",
"kind": "lunch",
"calories": 446,
"proteinGrams": 45.9,
"carbsGrams": 27,
"fatGrams": 17.1,
"eatenAt": "2026-03-22T00:52:19.939Z",
"createdAt": "2026-03-22T00:56:07.805Z"
},
{
"id": 411,
"userId": 99,
"name": "Egg White Omelette",
"kind": "breakfast",
"calories": 534,
"proteinGrams": 21.1,
"carbsGrams": 69,
"fatGrams": 19.3,
"eatenAt": "2026-04-30T08:11:37.700Z",
"createdAt": "2026-04-30T08:14:09.863Z"
}
],
"meta": {
"page": 18,
"limit": 24,
"total": 1016,
"totalPages": 43
},
"links": {
"self": "/api/v1/meals?page=18&limit=24",
"first": "/api/v1/meals?page=1&limit=24",
"last": "/api/v1/meals?page=43&limit=24",
"next": "/api/v1/meals?page=19&limit=24",
"prev": "/api/v1/meals?page=17&limit=24"
}
}