example-data.com

budgets / #189

userId
Rosemary Krajcik @rosemary_krajcik
name
Electronics
categoryId
30
amount
4818.76
period
yearly
spent
3385.63
currency
AUD
startsAt
2024-09-26
endsAt
2025-09-26
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/189"
)
budget = res.json()
{
  "id": 189,
  "userId": 191,
  "name": "Electronics",
  "categoryId": 30,
  "amount": 4818.76,
  "period": "yearly",
  "spent": 3385.63,
  "currency": "AUD",
  "startsAt": "2024-09-26",
  "endsAt": "2025-09-26",
  "createdAt": "2025-08-12T07:04:16.019Z"
}
Draftbit