example-data.com

budgets / #223

userId
Rubye Emmerich @rubye.emmerich
name
Gifts
categoryId
amount
272.5
period
monthly
spent
116.76
currency
GBP
startsAt
2026-01-17
endsAt
2026-02-16
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/223"
)
budget = res.json()
{
  "id": 223,
  "userId": 225,
  "name": "Gifts",
  "categoryId": null,
  "amount": 272.5,
  "period": "monthly",
  "spent": 116.76,
  "currency": "GBP",
  "startsAt": "2026-01-17",
  "endsAt": "2026-02-16",
  "createdAt": "2026-04-01T10:07:45.331Z"
}
Draftbit