example-data.com

goals

goals

Browse 244 goals records. Free mock data API by Draftbit — fetch over REST or browse paginated HTML.

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
  }
}

View full response →

Draftbit