example-data.com

goals

goals

Page 3 of 10.

userId
Hermina West @hermina.west3
name
Sleep 8 hours nightly
category
sleep
targetValue
7.9
currentValue
0.8
unit
hours/night
deadline
2026-06-12
isCompleted
false
createdAt
userId
Darian Schaden @darian_schaden36
name
Work out 4x per week
category
habit
targetValue
4.3
currentValue
2
unit
sessions/week
deadline
2026-07-27
isCompleted
false
createdAt
userId
Darian Schaden @darian_schaden36
name
Work out 4x per week
category
habit
targetValue
4.7
currentValue
1.8
unit
sessions/week
deadline
2026-12-10
isCompleted
false
createdAt
userId
Niko Wisozk @niko_wisozk
name
Lose weight
category
weight
targetValue
75.6
currentValue
20.2
unit
kg
deadline
2026-05-17
isCompleted
false
createdAt
userId
Raheem Kovacek @raheem_kovacek3
name
Drink 2L water daily
category
nutrition
targetValue
2.9
currentValue
0.1
unit
L/day
deadline
2026-09-22
isCompleted
false
createdAt
userId
Raheem Kovacek @raheem_kovacek3
name
Run a marathon
category
fitness
targetValue
42
currentValue
2.3
unit
km
deadline
2027-03-02
isCompleted
false
createdAt

Showing first 6 of 24 on this page.

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

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

res = requests.get(
    "https://example-data.com/api/v1/goals",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 49,
      "userId": 51,
      "name": "Sleep 8 hours nightly",
      "category": "sleep",
      "targetValue": 7.9,
      "currentValue": 0.8,
      "unit": "hours/night",
      "deadline": "2026-06-12",
      "isCompleted": false,
      "createdAt": "2026-04-21T01:48:38.789Z"
    },
    {
      "id": 50,
      "userId": 53,
      "name": "Work out 4x per week",
      "category": "habit",
      "targetValue": 4.3,
      "currentValue": 2,
      "unit": "sessions/week",
      "deadline": "2026-07-27",
      "isCompleted": false,
      "createdAt": "2026-01-02T20:28:01.415Z"
    },
    {
      "id": 51,
      "userId": 53,
      "name": "Work out 4x per week",
      "category": "habit",
      "targetValue": 4.7,
      "currentValue": 1.8,
      "unit": "sessions/week",
      "deadline": "2026-12-10",
      "isCompleted": false,
      "createdAt": "2025-12-08T05:34:00.236Z"
    }
  ],
  "meta": {
    "page": 3,
    "limit": 24,
    "total": 244,
    "totalPages": 11
  },
  "links": {
    "self": "/api/v1/goals?page=3",
    "next": "/api/v1/goals?page=4",
    "prev": "/api/v1/goals?page=2"
  }
}
Draftbit