meals
meals
Page 32 of 43.
Overview
-
Baked Salmon
#745
-
Hummus and Veggies
#746
-
Apple and Peanut Butter
#747
-
Pasta with Marinara
#748
-
Avocado Toast
#749
-
String Cheese
#750
-
Veggie Burger
#751
-
String Cheese
#752
-
Smoothie Bowl
#753
-
Grilled Chicken Salad
#754
-
Veggie Burger
#755
-
Grilled Chicken Salad
#756
-
Falafel Bowl
#757
-
Protein Bar
#758
-
Pasta with Marinara
#759
-
Turkey Sandwich
#760
-
Protein Shake
#761
-
Tuna Wrap
#762
-
Turkey Sandwich
#763
-
Rice Cakes
#764
-
Cottage Cheese
#765
-
Almonds
#766
-
Tuna Wrap
#767
-
Scrambled Eggs
#768
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": 745,
"userId": 181,
"name": "Baked Salmon",
"kind": "dinner",
"calories": 333,
"proteinGrams": 32.1,
"carbsGrams": 20.2,
"fatGrams": 13.7,
"eatenAt": "2025-10-20T20:03:29.913Z",
"createdAt": "2025-10-20T20:22:49.967Z"
},
{
"id": 746,
"userId": 182,
"name": "Hummus and Veggies",
"kind": "snack",
"calories": 304,
"proteinGrams": 24.8,
"carbsGrams": 32,
"fatGrams": 8.5,
"eatenAt": "2025-08-10T14:15:46.520Z",
"createdAt": "2025-08-10T14:26:55.127Z"
},
{
"id": 747,
"userId": 182,
"name": "Apple and Peanut Butter",
"kind": "snack",
"calories": 484,
"proteinGrams": 57.5,
"carbsGrams": 6.3,
"fatGrams": 25.4,
"eatenAt": "2025-12-11T08:40:44.698Z",
"createdAt": "2025-12-11T08:53:58.569Z"
}
],
"meta": {
"page": 32,
"limit": 24,
"total": 1016,
"totalPages": 43
},
"links": {
"self": "/api/v1/meals?page=32&limit=24",
"first": "/api/v1/meals?page=1&limit=24",
"last": "/api/v1/meals?page=43&limit=24",
"next": "/api/v1/meals?page=33&limit=24",
"prev": "/api/v1/meals?page=31&limit=24"
}
}