example-data.com

budgets / #222

userId
Rubye Emmerich @rubye.emmerich
name
Savings Goal
categoryId
amount
855.98
period
monthly
spent
6.02
currency
GBP
startsAt
2025-09-23
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/222"
)
budget = res.json()
{
  "id": 222,
  "userId": 225,
  "name": "Savings Goal",
  "categoryId": null,
  "amount": 855.98,
  "period": "monthly",
  "spent": 6.02,
  "currency": "GBP",
  "startsAt": "2025-09-23",
  "endsAt": null,
  "createdAt": "2026-03-08T15:15:37.075Z"
}
Draftbit