example-data.com

budgets / #177

userId
Americo Hoppe @americo_hoppe57
name
Groceries
categoryId
amount
2630.3
period
yearly
spent
1357.04
currency
CAD
startsAt
2026-03-17
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/177"
)
budget = res.json()
{
  "id": 177,
  "userId": 177,
  "name": "Groceries",
  "categoryId": null,
  "amount": 2630.3,
  "period": "yearly",
  "spent": 1357.04,
  "currency": "CAD",
  "startsAt": "2026-03-17",
  "endsAt": null,
  "createdAt": "2026-03-27T18:24:02.717Z"
}
Draftbit