example-data.com

goals

goals

Page 7 of 10.

userId
Rickie Sporer @rickie.sporer50
name
Walk 10000 steps daily
category
habit
targetValue
10000
currentValue
3424.1
unit
steps/day
deadline
isCompleted
false
createdAt
userId
Jonathan Howe @jonathan_howe77
name
Reduce resting heart rate
category
fitness
targetValue
64.4
currentValue
29.5
unit
bpm
deadline
2027-02-26
isCompleted
false
createdAt
userId
Brad Wisoky @brad.wisoky41
name
Run a marathon
category
fitness
targetValue
42
currentValue
36.7
unit
km
deadline
2027-04-25
isCompleted
false
createdAt
userId
Brad Wisoky @brad.wisoky41
name
Bench press bodyweight
category
fitness
targetValue
115.9
currentValue
24
unit
kg
deadline
2027-03-22
isCompleted
false
createdAt
userId
Carmel Schultz @carmel.schultz
name
Gain muscle mass
category
weight
targetValue
79.3
currentValue
0.9
unit
kg
deadline
2026-08-10
isCompleted
false
createdAt
userId
Sandrine Osinski @sandrine.osinski
name
Run a marathon
category
fitness
targetValue
42
currentValue
21.9
unit
km
deadline
2026-10-30
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": 145,
      "userId": 149,
      "name": "Walk 10000 steps daily",
      "category": "habit",
      "targetValue": 10000,
      "currentValue": 3424.1,
      "unit": "steps/day",
      "deadline": null,
      "isCompleted": false,
      "createdAt": "2025-12-21T23:03:43.524Z"
    },
    {
      "id": 146,
      "userId": 150,
      "name": "Reduce resting heart rate",
      "category": "fitness",
      "targetValue": 64.4,
      "currentValue": 29.5,
      "unit": "bpm",
      "deadline": "2027-02-26",
      "isCompleted": false,
      "createdAt": "2025-07-27T17:15:04.968Z"
    },
    {
      "id": 147,
      "userId": 154,
      "name": "Run a marathon",
      "category": "fitness",
      "targetValue": 42,
      "currentValue": 36.7,
      "unit": "km",
      "deadline": "2027-04-25",
      "isCompleted": false,
      "createdAt": "2026-03-13T16:52:11.367Z"
    }
  ],
  "meta": {
    "page": 7,
    "limit": 24,
    "total": 244,
    "totalPages": 11
  },
  "links": {
    "self": "/api/v1/goals?page=7",
    "next": "/api/v1/goals?page=8",
    "prev": "/api/v1/goals?page=6"
  }
}
Draftbit