example-data.com

sleep-entries

sleep-entries

Page 6 of 10.

userId
Trace Witting-Stamm @trace_witting-stamm17
date
2025-05-29
sleepAt
wakeAt
durationMinutes
522
quality
2
createdAt
userId
Trace Witting-Stamm @trace_witting-stamm17
date
2026-01-28
sleepAt
wakeAt
durationMinutes
262
quality
5
createdAt
userId
Trace Witting-Stamm @trace_witting-stamm17
date
2025-11-09
sleepAt
wakeAt
durationMinutes
403
quality
1
createdAt
userId
Trace Witting-Stamm @trace_witting-stamm17
date
2026-03-24
sleepAt
wakeAt
durationMinutes
240
quality
2
createdAt
userId
Trace Witting-Stamm @trace_witting-stamm17
date
2025-12-22
sleepAt
wakeAt
durationMinutes
477
quality
3
createdAt
userId
Lamar Wilkinson @lamar_wilkinson43
date
2025-06-15
sleepAt
wakeAt
durationMinutes
476
quality
3
createdAt

Showing first 6 of 24 on this page.

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

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

res = requests.get(
    "https://example-data.com/api/v1/sleep-entries",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 121,
      "userId": 42,
      "date": "2025-05-29",
      "sleepAt": "2025-05-29T22:54:00.000Z",
      "wakeAt": "2025-05-30T07:36:00.000Z",
      "durationMinutes": 522,
      "quality": 2,
      "createdAt": "2025-05-30T08:28:54.329Z"
    },
    {
      "id": 122,
      "userId": 42,
      "date": "2026-01-28",
      "sleepAt": "2026-01-28T21:19:00.000Z",
      "wakeAt": "2026-01-29T01:41:00.000Z",
      "durationMinutes": 262,
      "quality": 5,
      "createdAt": "2026-01-29T01:53:17.470Z"
    },
    {
      "id": 123,
      "userId": 42,
      "date": "2025-11-09",
      "sleepAt": "2025-11-09T23:10:00.000Z",
      "wakeAt": "2025-11-10T05:53:00.000Z",
      "durationMinutes": 403,
      "quality": 1,
      "createdAt": "2025-11-10T06:34:12.948Z"
    }
  ],
  "meta": {
    "page": 6,
    "limit": 24,
    "total": 773,
    "totalPages": 33
  },
  "links": {
    "self": "/api/v1/sleep-entries?page=6",
    "next": "/api/v1/sleep-entries?page=7",
    "prev": "/api/v1/sleep-entries?page=5"
  }
}
Draftbit