budgets
budgets
Page 10 of 11.
Overview
-
Gifts
#217
-
Healthcare
#218
-
Groceries
#219
-
Travel
#220
-
Personal Care
#221
-
Savings Goal
#222
-
Gifts
#223
-
Healthcare
#224
-
Entertainment
#225
-
Personal Care
#226
-
Electronics
#227
-
Fitness
#228
-
Electronics
#229
-
Electronics
#230
-
Personal Care
#231
-
Utilities
#232
-
Clothing
#233
-
Education
#234
-
Dining Out
#235
-
Subscriptions
#236
-
Fitness
#237
-
Transportation
#238
-
Transportation
#239
-
Travel
#240
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/budgets?limit=25"
);
const { data, meta } = await res.json(); TypeScript example
// Download once: mkdir -p types && curl -o types/budgets.d.ts https://example-data.com/types/budgets.d.ts
import type { Budget, ListEnvelope } from "./types/budgets";
const res = await fetch(
"https://example-data.com/api/v1/budgets?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Budget>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets",
params={"limit": 25},
)
data = res.json() Response
{
"data": [
{
"id": 217,
"userId": 215,
"name": "Gifts",
"categoryId": null,
"amount": 1068.19,
"period": "monthly",
"spent": 381.42,
"currency": "EUR",
"startsAt": "2025-12-15",
"endsAt": null,
"createdAt": "2026-02-19T19:01:09.592Z"
},
{
"id": 218,
"userId": 221,
"name": "Healthcare",
"categoryId": null,
"amount": 248.39,
"period": "monthly",
"spent": 275.47,
"currency": "USD",
"startsAt": "2025-03-20",
"endsAt": "2025-04-19",
"createdAt": "2025-03-22T05:06:02.485Z"
},
{
"id": 219,
"userId": 222,
"name": "Groceries",
"categoryId": null,
"amount": 3188.29,
"period": "monthly",
"spent": 1051.58,
"currency": "CAD",
"startsAt": "2024-10-23",
"endsAt": "2024-11-22",
"createdAt": "2025-01-15T08:33:02.831Z"
}
],
"meta": {
"page": 10,
"limit": 24,
"total": 250,
"totalPages": 11
},
"links": {
"self": "/api/v1/budgets?page=10&limit=24",
"first": "/api/v1/budgets?page=1&limit=24",
"last": "/api/v1/budgets?page=11&limit=24",
"next": "/api/v1/budgets?page=11&limit=24",
"prev": "/api/v1/budgets?page=9&limit=24"
}
}