example-data.com

meals

meals

Page 3 of 10.

userId
Mara Johnson @mara.johnson17
name
Brown Rice and Veggies
kind
lunch
calories
326
proteinGrams
40.6
carbsGrams
9.5
fatGrams
13.9
eatenAt
createdAt
userId
Mara Johnson @mara.johnson17
name
Rice Cakes
kind
snack
calories
394
proteinGrams
12.4
carbsGrams
55.9
fatGrams
13.4
eatenAt
createdAt
userId
Mara Johnson @mara.johnson17
name
Beef Tacos
kind
dinner
calories
680
proteinGrams
53
carbsGrams
45.9
fatGrams
31.6
eatenAt
createdAt
userId
Mara Johnson @mara.johnson17
name
Rice Cakes
kind
snack
calories
532
proteinGrams
46.4
carbsGrams
29.5
fatGrams
25.4
eatenAt
createdAt
userId
Judy Hackett @judy_hackett49
name
Sushi Roll
kind
lunch
calories
648
proteinGrams
11.6
carbsGrams
71.7
fatGrams
35
eatenAt
createdAt
userId
Judy Hackett @judy_hackett49
name
Sushi Roll
kind
lunch
calories
409
proteinGrams
26.7
carbsGrams
57.7
fatGrams
7.9
eatenAt
createdAt

Showing first 6 of 24 on this page.

curl -sS \
  "https://example-data.com/api/v1/meals?limit=25"
const res = await fetch(
  "https://example-data.com/api/v1/meals?limit=25"
);
const { data, meta } = await res.json();
import type { Meal, ListEnvelope } from "https://example-data.com/types/meals.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/meals?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Meal>;
import requests

res = requests.get(
    "https://example-data.com/api/v1/meals",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 49,
      "userId": 12,
      "name": "Brown Rice and Veggies",
      "kind": "lunch",
      "calories": 326,
      "proteinGrams": 40.6,
      "carbsGrams": 9.5,
      "fatGrams": 13.9,
      "eatenAt": "2025-12-10T15:57:12.468Z",
      "createdAt": "2025-12-10T16:03:56.285Z"
    },
    {
      "id": 50,
      "userId": 12,
      "name": "Rice Cakes",
      "kind": "snack",
      "calories": 394,
      "proteinGrams": 12.4,
      "carbsGrams": 55.9,
      "fatGrams": 13.4,
      "eatenAt": "2026-03-22T11:08:44.664Z",
      "createdAt": "2026-03-22T11:19:30.787Z"
    },
    {
      "id": 51,
      "userId": 12,
      "name": "Beef Tacos",
      "kind": "dinner",
      "calories": 680,
      "proteinGrams": 53,
      "carbsGrams": 45.9,
      "fatGrams": 31.6,
      "eatenAt": "2026-02-03T11:05:32.164Z",
      "createdAt": "2026-02-03T11:18:32.043Z"
    }
  ],
  "meta": {
    "page": 3,
    "limit": 24,
    "total": 1016,
    "totalPages": 43
  },
  "links": {
    "self": "/api/v1/meals?page=3",
    "next": "/api/v1/meals?page=4",
    "prev": "/api/v1/meals?page=2"
  }
}
Draftbit