Utilities
- userId
-
Alexa Rippin @alexa_rippin25
- name
- Utilities
- categoryId
- Sports & Outdoors
- amount
- 3480.34
- period
- yearly
- spent
- 3857.59
- currency
- AUD
- startsAt
- 2024-07-23
- endsAt
- 2025-07-23
- createdAt
Overview
budgets / #232
Utilities
#232
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/232" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/232" ); const budget = 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 } from "./types/budgets";
const res = await fetch(
"https://example-data.com/api/v1/budgets/232"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/232"
)
budget = res.json() Response
{
"id": 232,
"userId": 235,
"name": "Utilities",
"categoryId": 4,
"amount": 3480.34,
"period": "yearly",
"spent": 3857.59,
"currency": "AUD",
"startsAt": "2024-07-23",
"endsAt": "2025-07-23",
"createdAt": "2025-07-22T12:31:58.179Z"
}