Transportation
- userId
-
Jabari Farrell @jabari_farrell75
- name
- Transportation
- categoryId
- —
- amount
- 3393.66
- period
- yearly
- spent
- 2788.01
- currency
- GBP
- startsAt
- 2025-08-19
- endsAt
- —
- createdAt
Overview
budgets / #242
Transportation
#242
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/242" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/242" ); 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/242"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/242"
)
budget = res.json() Response
{
"id": 242,
"userId": 240,
"name": "Transportation",
"categoryId": null,
"amount": 3393.66,
"period": "yearly",
"spent": 2788.01,
"currency": "GBP",
"startsAt": "2025-08-19",
"endsAt": null,
"createdAt": "2026-01-11T09:52:21.203Z"
}