meals
meals
Page 35 of 43.
Overview
-
Grilled Steak
#817
-
Tuna Wrap
#818
-
Pancakes
#819
-
Scrambled Eggs
#820
-
Scrambled Eggs
#821
-
Egg White Omelette
#822
-
Roasted Chicken
#823
-
Chicken Caesar Salad
#824
-
Cottage Cheese
#825
-
Egg White Omelette
#826
-
Rice Cakes
#827
-
Shrimp and Veggies
#828
-
Greek Yogurt Parfait
#829
-
Overnight Oats
#830
-
Grilled Turkey Breast
#831
-
Sushi Roll
#832
-
Trail Mix
#833
-
Baked Salmon
#834
-
Banana
#835
-
Beef Tacos
#836
-
Avocado Toast
#837
-
Hummus and Veggies
#838
-
Avocado Toast
#839
-
String Cheese
#840
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": 817,
"userId": 198,
"name": "Grilled Steak",
"kind": "dinner",
"calories": 553,
"proteinGrams": 27.4,
"carbsGrams": 71,
"fatGrams": 17.7,
"eatenAt": "2025-12-09T19:24:41.010Z",
"createdAt": "2025-12-09T19:37:30.580Z"
},
{
"id": 818,
"userId": 198,
"name": "Tuna Wrap",
"kind": "lunch",
"calories": 340,
"proteinGrams": 34.1,
"carbsGrams": 28.4,
"fatGrams": 10,
"eatenAt": "2026-03-10T08:06:23.263Z",
"createdAt": "2026-03-10T08:29:40.296Z"
},
{
"id": 819,
"userId": 198,
"name": "Pancakes",
"kind": "breakfast",
"calories": 745,
"proteinGrams": 29.7,
"carbsGrams": 77.6,
"fatGrams": 35.1,
"eatenAt": "2026-03-02T09:14:56.674Z",
"createdAt": "2026-03-02T09:22:36.214Z"
}
],
"meta": {
"page": 35,
"limit": 24,
"total": 1016,
"totalPages": 43
},
"links": {
"self": "/api/v1/meals?page=35&limit=24",
"first": "/api/v1/meals?page=1&limit=24",
"last": "/api/v1/meals?page=43&limit=24",
"next": "/api/v1/meals?page=36&limit=24",
"prev": "/api/v1/meals?page=34&limit=24"
}
}