example-data.com

budgets / #225

userId
Matt Kuhic @matt_kuhic57
name
Entertainment
categoryId
22
amount
1387.36
period
yearly
spent
1285.96
currency
GBP
startsAt
2026-04-16
endsAt
2027-04-16
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/225"
)
budget = res.json()
{
  "id": 225,
  "userId": 226,
  "name": "Entertainment",
  "categoryId": 22,
  "amount": 1387.36,
  "period": "yearly",
  "spent": 1285.96,
  "currency": "GBP",
  "startsAt": "2026-04-16",
  "endsAt": "2027-04-16",
  "createdAt": "2026-04-30T09:51:35.842Z"
}
Draftbit