budgets
budgets
Page 7 of 11.
Overview
-
Entertainment
#145
-
Education
#146
-
Clothing
#147
-
Personal Care
#148
-
Dining Out
#149
-
Savings Goal
#150
-
Home Improvement
#151
-
Clothing
#152
-
Subscriptions
#153
-
Gifts
#154
-
Utilities
#155
-
Travel
#156
-
Travel
#157
-
Pet Expenses
#158
-
Fitness
#159
-
Personal Care
#160
-
Gifts
#161
-
Clothing
#162
-
Travel
#163
-
Personal Care
#164
-
Groceries
#165
-
Healthcare
#166
-
Education
#167
-
Fitness
#168
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": 145,
"userId": 144,
"name": "Entertainment",
"categoryId": 32,
"amount": 3562.41,
"period": "quarterly",
"spent": 686.14,
"currency": "GBP",
"startsAt": "2025-03-08",
"endsAt": "2025-06-06",
"createdAt": "2025-09-29T21:19:48.212Z"
},
{
"id": 146,
"userId": 145,
"name": "Education",
"categoryId": 1,
"amount": 127.4,
"period": "weekly",
"spent": 66.45,
"currency": "CAD",
"startsAt": "2025-10-27",
"endsAt": "2025-11-03",
"createdAt": "2025-12-11T01:35:17.024Z"
},
{
"id": 147,
"userId": 146,
"name": "Clothing",
"categoryId": null,
"amount": 2587.82,
"period": "weekly",
"spent": 2968.4,
"currency": "EUR",
"startsAt": "2025-07-23",
"endsAt": "2025-07-30",
"createdAt": "2026-02-07T19:17:56.070Z"
}
],
"meta": {
"page": 7,
"limit": 24,
"total": 250,
"totalPages": 11
},
"links": {
"self": "/api/v1/budgets?page=7&limit=24",
"first": "/api/v1/budgets?page=1&limit=24",
"last": "/api/v1/budgets?page=11&limit=24",
"next": "/api/v1/budgets?page=8&limit=24",
"prev": "/api/v1/budgets?page=6&limit=24"
}
}