example-data.com

budgets / #172

userId
Kaleb Schmidt @kaleb.schmidt
name
Pet Expenses
categoryId
amount
1626.92
period
monthly
spent
1077.82
currency
CAD
startsAt
2026-03-06
endsAt
2026-04-05
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/172"
)
budget = res.json()
{
  "id": 172,
  "userId": 171,
  "name": "Pet Expenses",
  "categoryId": null,
  "amount": 1626.92,
  "period": "monthly",
  "spent": 1077.82,
  "currency": "CAD",
  "startsAt": "2026-03-06",
  "endsAt": "2026-04-05",
  "createdAt": "2026-04-30T00:44:21.159Z"
}
Draftbit