example-data.com

budgets / #208

userId
Jamaal Rolfson @jamaal_rolfson
name
Subscriptions
categoryId
amount
2474.3
period
weekly
spent
1905.07
currency
CAD
startsAt
2026-01-21
endsAt
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/budgets/208" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/budgets/208"
);
const budget = await res.json();
import type { Budget } from "https://example-data.com/types/budgets.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/budgets/208"
);
const budget = (await res.json()) as Budget;
import requests

res = requests.get(
    "https://example-data.com/api/v1/budgets/208"
)
budget = res.json()
{
  "id": 208,
  "userId": 207,
  "name": "Subscriptions",
  "categoryId": null,
  "amount": 2474.3,
  "period": "weekly",
  "spent": 1905.07,
  "currency": "CAD",
  "startsAt": "2026-01-21",
  "endsAt": null,
  "createdAt": "2026-04-19T10:01:41.405Z"
}
Draftbit