example-data.com

budgets / #5

userId
Brycen Bayer @brycen_bayer60
name
Entertainment
categoryId
amount
903.05
period
weekly
spent
910.52
currency
EUR
startsAt
2026-02-24
endsAt
2026-03-03
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/5"
)
budget = res.json()
{
  "id": 5,
  "userId": 6,
  "name": "Entertainment",
  "categoryId": null,
  "amount": 903.05,
  "period": "weekly",
  "spent": 910.52,
  "currency": "EUR",
  "startsAt": "2026-02-24",
  "endsAt": "2026-03-03",
  "createdAt": "2026-04-17T04:58:34.076Z"
}
Draftbit