example-data.com

budgets / #58

userId
Niko Wisozk @niko_wisozk
name
Dining Out
categoryId
amount
697.23
period
weekly
spent
432.71
currency
AUD
startsAt
2026-01-12
endsAt
2026-01-19
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/budgets/58" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/budgets/58"
);
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/58"
);
const budget = (await res.json()) as Budget;
import requests

res = requests.get(
    "https://example-data.com/api/v1/budgets/58"
)
budget = res.json()
{
  "id": 58,
  "userId": 56,
  "name": "Dining Out",
  "categoryId": null,
  "amount": 697.23,
  "period": "weekly",
  "spent": 432.71,
  "currency": "AUD",
  "startsAt": "2026-01-12",
  "endsAt": "2026-01-19",
  "createdAt": "2026-04-04T17:20:35.464Z"
}
Draftbit