example-data.com

budgets / #232

userId
Alexa Rippin @alexa_rippin25
name
Utilities
categoryId
4
amount
3480.34
period
yearly
spent
3857.59
currency
AUD
startsAt
2024-07-23
endsAt
2025-07-23
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/232"
)
budget = res.json()
{
  "id": 232,
  "userId": 235,
  "name": "Utilities",
  "categoryId": 4,
  "amount": 3480.34,
  "period": "yearly",
  "spent": 3857.59,
  "currency": "AUD",
  "startsAt": "2024-07-23",
  "endsAt": "2025-07-23",
  "createdAt": "2025-07-22T12:31:58.179Z"
}
Draftbit