nutrition-logs
nutrition-logs
Browse 496 nutrition-logs records. Explore sample records and fetch JSON over a free REST API for prototypes, tests, and learning.
Overview
Cards
Compact
- nutrition-logs/1
- nutrition-logs/2
- nutrition-logs/3
- nutrition-logs/4
- nutrition-logs/5
- nutrition-logs/6
- nutrition-logs/7
- nutrition-logs/8
- nutrition-logs/9
- nutrition-logs/10
- nutrition-logs/11
- nutrition-logs/12
- nutrition-logs/13
- nutrition-logs/14
- nutrition-logs/15
- nutrition-logs/16
- nutrition-logs/17
- nutrition-logs/18
- nutrition-logs/19
- nutrition-logs/20
- nutrition-logs/21
- nutrition-logs/22
- nutrition-logs/23
- nutrition-logs/24
Detailed
nutrition-logs #1
- userId
-
Charlene Roberts @charlene_roberts
- date
- 2026-04-16
- totalCalories
- 2795
- totalProteinGrams
- 82.6
- totalCarbsGrams
- 393.1
- totalFatGrams
- 99.1
- waterMl
- 1137
- createdAt
nutrition-logs #2
- userId
-
Charlene Roberts @charlene_roberts
- date
- 2025-07-07
- totalCalories
- 2509
- totalProteinGrams
- 88.9
- totalCarbsGrams
- 312.1
- totalFatGrams
- 100.5
- waterMl
- 2819
- createdAt
nutrition-logs #3
- userId
-
Amina King @amina_king41
- date
- 2025-11-27
- totalCalories
- 2446
- totalProteinGrams
- 142.3
- totalCarbsGrams
- 275
- totalFatGrams
- 86.3
- waterMl
- 1365
- createdAt
nutrition-logs #4
- userId
-
Amina King @amina_king41
- date
- 2025-12-15
- totalCalories
- 2318
- totalProteinGrams
- 69.6
- totalCarbsGrams
- 310.8
- totalFatGrams
- 88.5
- waterMl
- 3032
- createdAt
nutrition-logs #5
- userId
-
Amina King @amina_king41
- date
- 2026-05-02
- totalCalories
- 2299
- totalProteinGrams
- 154.4
- totalCarbsGrams
- 189.7
- totalFatGrams
- 102.5
- waterMl
- 3390
- createdAt
nutrition-logs #6
- userId
-
Conner Bernhard @conner.bernhard33
- date
- 2025-05-29
- totalCalories
- 1624
- totalProteinGrams
- 83.3
- totalCarbsGrams
- 207.8
- totalFatGrams
- 51.1
- waterMl
- 2079
- createdAt
Showing first 6 of 24 on this page.
Request
curl example
curl -sS \ "https://example-data.com/api/v1/nutrition-logs?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/nutrition-logs?limit=25"
);
const { data, meta } = await res.json(); TypeScript example
// Download once: mkdir -p types && curl -o types/nutrition-logs.d.ts https://example-data.com/types/nutrition-logs.d.ts
import type { NutritionLog, ListEnvelope } from "./types/nutrition-logs";
const res = await fetch(
"https://example-data.com/api/v1/nutrition-logs?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<NutritionLog>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/nutrition-logs",
params={"limit": 25},
)
data = res.json() Response
{
"data": [
{
"id": 1,
"userId": 1,
"date": "2026-04-16",
"totalCalories": 2795,
"totalProteinGrams": 82.6,
"totalCarbsGrams": 393.1,
"totalFatGrams": 99.1,
"waterMl": 1137,
"createdAt": "2026-04-16T23:59:59.999Z"
},
{
"id": 2,
"userId": 1,
"date": "2025-07-07",
"totalCalories": 2509,
"totalProteinGrams": 88.9,
"totalCarbsGrams": 312.1,
"totalFatGrams": 100.5,
"waterMl": 2819,
"createdAt": "2025-07-07T23:59:59.999Z"
},
{
"id": 3,
"userId": 2,
"date": "2025-11-27",
"totalCalories": 2446,
"totalProteinGrams": 142.3,
"totalCarbsGrams": 275,
"totalFatGrams": 86.3,
"waterMl": 1365,
"createdAt": "2025-11-27T23:59:59.999Z"
}
],
"meta": {
"page": 1,
"limit": 25,
"total": 496,
"totalPages": 20
},
"links": {
"self": "/api/v1/nutrition-logs?page=1",
"first": "/api/v1/nutrition-logs?page=1",
"last": "/api/v1/nutrition-logs?page=20",
"next": "/api/v1/nutrition-logs?page=2",
"prev": null
}
}