example-data.com

goals

goals

Page 10 of 10.

userId
Sarah West @sarah.west
name
Bench press bodyweight
category
fitness
targetValue
77.4
currentValue
6.1
unit
kg
deadline
2026-11-13
isCompleted
false
createdAt
userId
Sarah West @sarah.west
name
Run a 5K
category
fitness
targetValue
5
currentValue
0
unit
km
deadline
2026-07-16
isCompleted
false
createdAt
userId
Dasia Volkman @dasia_volkman65
name
Bench press bodyweight
category
fitness
targetValue
66.4
currentValue
32.4
unit
kg
deadline
isCompleted
false
createdAt
userId
Joseph Steuber @joseph_steuber
name
Meditate daily
category
habit
targetValue
23.7
currentValue
13.7
unit
minutes/day
deadline
isCompleted
false
createdAt
userId
Joseph Steuber @joseph_steuber
name
Sleep 8 hours nightly
category
sleep
targetValue
9
currentValue
6
unit
hours/night
deadline
isCompleted
false
createdAt
userId
Lilly Rosenbaum @lilly.rosenbaum
name
Eat 150g protein daily
category
nutrition
targetValue
154.5
currentValue
80.3
unit
g/day
deadline
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": 217,
      "userId": 217,
      "name": "Bench press bodyweight",
      "category": "fitness",
      "targetValue": 77.4,
      "currentValue": 6.1,
      "unit": "kg",
      "deadline": "2026-11-13",
      "isCompleted": false,
      "createdAt": "2025-06-19T17:00:43.138Z"
    },
    {
      "id": 218,
      "userId": 217,
      "name": "Run a 5K",
      "category": "fitness",
      "targetValue": 5,
      "currentValue": 0,
      "unit": "km",
      "deadline": "2026-07-16",
      "isCompleted": false,
      "createdAt": "2025-08-31T08:38:05.594Z"
    },
    {
      "id": 219,
      "userId": 219,
      "name": "Bench press bodyweight",
      "category": "fitness",
      "targetValue": 66.4,
      "currentValue": 32.4,
      "unit": "kg",
      "deadline": null,
      "isCompleted": false,
      "createdAt": "2025-09-05T13:48:00.278Z"
    }
  ],
  "meta": {
    "page": 10,
    "limit": 24,
    "total": 244,
    "totalPages": 11
  },
  "links": {
    "self": "/api/v1/goals?page=10",
    "next": "/api/v1/goals?page=11",
    "prev": "/api/v1/goals?page=9"
  }
}
Draftbit