example-data.com

goals

goals

Page 2 of 10.

userId
Melvina Reilly @melvina_reilly83
name
Gain muscle mass
category
weight
targetValue
93.6
currentValue
48.9
unit
kg
deadline
2026-07-23
isCompleted
false
createdAt
userId
Rosella Homenick @rosella.homenick
name
Reduce resting heart rate
category
fitness
targetValue
56.9
currentValue
15.8
unit
bpm
deadline
2027-03-13
isCompleted
false
createdAt
userId
Rosella Homenick @rosella.homenick
name
Do 100 push-ups
category
fitness
targetValue
100
currentValue
29.9
unit
reps
deadline
2027-02-13
isCompleted
false
createdAt
userId
Queen Lubowitz @queen.lubowitz76
name
Bench press bodyweight
category
fitness
targetValue
66.1
currentValue
0.7
unit
kg
deadline
isCompleted
false
createdAt
userId
Queen Lubowitz @queen.lubowitz76
name
Eat 150g protein daily
category
nutrition
targetValue
199
currentValue
163.2
unit
g/day
deadline
isCompleted
false
createdAt
userId
Conrad Connelly @conrad.connelly22
name
Gain muscle mass
category
weight
targetValue
70.5
currentValue
24.1
unit
kg
deadline
2026-12-15
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": 25,
      "userId": 26,
      "name": "Gain muscle mass",
      "category": "weight",
      "targetValue": 93.6,
      "currentValue": 48.9,
      "unit": "kg",
      "deadline": "2026-07-23",
      "isCompleted": false,
      "createdAt": "2025-11-10T04:45:33.769Z"
    },
    {
      "id": 26,
      "userId": 27,
      "name": "Reduce resting heart rate",
      "category": "fitness",
      "targetValue": 56.9,
      "currentValue": 15.8,
      "unit": "bpm",
      "deadline": "2027-03-13",
      "isCompleted": false,
      "createdAt": "2025-07-05T01:21:38.934Z"
    },
    {
      "id": 27,
      "userId": 27,
      "name": "Do 100 push-ups",
      "category": "fitness",
      "targetValue": 100,
      "currentValue": 29.9,
      "unit": "reps",
      "deadline": "2027-02-13",
      "isCompleted": false,
      "createdAt": "2025-08-25T06:27:54.151Z"
    }
  ],
  "meta": {
    "page": 2,
    "limit": 24,
    "total": 244,
    "totalPages": 11
  },
  "links": {
    "self": "/api/v1/goals?page=2",
    "next": "/api/v1/goals?page=3",
    "prev": "/api/v1/goals?page=1"
  }
}
Draftbit