example-data.com

budgets / #153

userId
Carmel Schultz @carmel.schultz
name
Subscriptions
categoryId
amount
4226.88
period
weekly
spent
4792.45
currency
EUR
startsAt
2026-03-13
endsAt
2026-03-20
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/153"
)
budget = res.json()
{
  "id": 153,
  "userId": 156,
  "name": "Subscriptions",
  "categoryId": null,
  "amount": 4226.88,
  "period": "weekly",
  "spent": 4792.45,
  "currency": "EUR",
  "startsAt": "2026-03-13",
  "endsAt": "2026-03-20",
  "createdAt": "2026-04-30T17:55:51.338Z"
}
Draftbit