example-data.com

budgets / #218

userId
Joseph Steuber @joseph_steuber
name
Healthcare
categoryId
amount
248.39
period
monthly
spent
275.47
currency
USD
startsAt
2025-03-20
endsAt
2025-04-19
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/218"
)
budget = res.json()
{
  "id": 218,
  "userId": 221,
  "name": "Healthcare",
  "categoryId": null,
  "amount": 248.39,
  "period": "monthly",
  "spent": 275.47,
  "currency": "USD",
  "startsAt": "2025-03-20",
  "endsAt": "2025-04-19",
  "createdAt": "2025-03-22T05:06:02.485Z"
}
Draftbit