goals
goals
Browse 244 goals records. Free mock data API by Draftbit — fetch over REST or browse paginated HTML.
-
Lose weight
#1
-
Drink 2L water daily
#2
-
Work out 4x per week
#3
-
Drink 2L water daily
#4
-
Meditate daily
#5
-
Improve flexibility
#6
-
Walk 10000 steps daily
#7
-
Drink 2L water daily
#8
-
Eat 150g protein daily
#9
-
Meditate daily
#10
-
Drink 2L water daily
#11
-
Sleep 8 hours nightly
#12
-
Lose weight
#13
-
Run a marathon
#14
-
Work out 4x per week
#15
-
Reduce resting heart rate
#16
-
Bench press bodyweight
#17
-
Reduce resting heart rate
#18
-
Meditate daily
#19
-
Gain muscle mass
#20
-
Drink 2L water daily
#21
-
Lose weight
#22
-
Sleep 8 hours nightly
#23
-
Run a marathon
#24
- userId
-
Charlene Roberts @charlene_roberts
- name
- Lose weight
- category
- weight
- targetValue
- 76.2
- currentValue
- 54.4
- unit
- kg
- deadline
- —
- isCompleted
- false
- createdAt
- userId
-
Amina King @amina_king41
- name
- Drink 2L water daily
- category
- nutrition
- targetValue
- 2.1
- currentValue
- 1.6
- unit
- L/day
- deadline
- —
- isCompleted
- false
- createdAt
- userId
-
Amina King @amina_king41
- name
- Work out 4x per week
- category
- habit
- targetValue
- 4.8
- currentValue
- 2.1
- unit
- sessions/week
- deadline
- 2027-02-18
- isCompleted
- false
- createdAt
- userId
-
Conner Bernhard @conner.bernhard33
- name
- Drink 2L water daily
- category
- nutrition
- targetValue
- 2.1
- currentValue
- 1.2
- unit
- L/day
- deadline
- —
- isCompleted
- false
- createdAt
- userId
-
Cayla Farrell @cayla_farrell
- name
- Meditate daily
- category
- habit
- targetValue
- 28.3
- currentValue
- 22.1
- unit
- minutes/day
- deadline
- 2027-02-17
- isCompleted
- false
- createdAt
- userId
-
Cayla Farrell @cayla_farrell
- name
- Improve flexibility
- category
- fitness
- targetValue
- 33.5
- currentValue
- 21.6
- unit
- cm
- deadline
- 2026-11-06
- 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": 1,
"userId": 1,
"name": "Lose weight",
"category": "weight",
"targetValue": 76.2,
"currentValue": 54.4,
"unit": "kg",
"deadline": null,
"isCompleted": false,
"createdAt": "2025-09-18T00:27:21.129Z"
},
{
"id": 2,
"userId": 2,
"name": "Drink 2L water daily",
"category": "nutrition",
"targetValue": 2.1,
"currentValue": 1.6,
"unit": "L/day",
"deadline": null,
"isCompleted": false,
"createdAt": "2025-05-28T04:37:26.153Z"
},
{
"id": 3,
"userId": 2,
"name": "Work out 4x per week",
"category": "habit",
"targetValue": 4.8,
"currentValue": 2.1,
"unit": "sessions/week",
"deadline": "2027-02-18",
"isCompleted": false,
"createdAt": "2025-12-07T13:04:28.038Z"
}
],
"meta": {
"page": 1,
"limit": 25,
"total": 244,
"totalPages": 10
},
"links": {
"self": "/api/v1/goals?page=1",
"first": "/api/v1/goals?page=1",
"last": "/api/v1/goals?page=10",
"next": "/api/v1/goals?page=2",
"prev": null
}
}