meals
meals
Page 22 of 43.
Overview
-
Egg White Omelette
#505
-
Overnight Oats
#506
-
Trail Mix
#507
-
Rice Cakes
#508
-
Avocado Toast
#509
-
Rice Cakes
#510
-
Hard Boiled Eggs
#511
-
Banana
#512
-
Brown Rice and Veggies
#513
-
Avocado Toast
#514
-
Tuna Wrap
#515
-
Lentil Soup
#516
-
Pasta with Marinara
#517
-
Scrambled Eggs
#518
-
Veggie Burger
#519
-
Pasta with Marinara
#520
-
Protein Shake
#521
-
Grilled Turkey Breast
#522
-
Almonds
#523
-
Banana
#524
-
Protein Bar
#525
-
Shrimp and Veggies
#526
-
Hummus and Veggies
#527
-
Chicken Caesar Salad
#528
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": 505,
"userId": 121,
"name": "Egg White Omelette",
"kind": "breakfast",
"calories": 394,
"proteinGrams": 31,
"carbsGrams": 54.3,
"fatGrams": 5.9,
"eatenAt": "2025-09-06T22:03:41.610Z",
"createdAt": "2025-09-06T22:09:04.790Z"
},
{
"id": 506,
"userId": 121,
"name": "Overnight Oats",
"kind": "breakfast",
"calories": 417,
"proteinGrams": 21.2,
"carbsGrams": 8.9,
"fatGrams": 33,
"eatenAt": "2026-03-08T01:12:38.286Z",
"createdAt": "2026-03-08T01:23:21.678Z"
},
{
"id": 507,
"userId": 121,
"name": "Trail Mix",
"kind": "snack",
"calories": 601,
"proteinGrams": 31.2,
"carbsGrams": 74.8,
"fatGrams": 19.7,
"eatenAt": "2026-04-10T03:40:02.469Z",
"createdAt": "2026-04-10T04:00:49.394Z"
}
],
"meta": {
"page": 22,
"limit": 24,
"total": 1016,
"totalPages": 43
},
"links": {
"self": "/api/v1/meals?page=22&limit=24",
"first": "/api/v1/meals?page=1&limit=24",
"last": "/api/v1/meals?page=43&limit=24",
"next": "/api/v1/meals?page=23&limit=24",
"prev": "/api/v1/meals?page=21&limit=24"
}
}