example-data.com

budgets / #62

userId
Autumn Bartell @autumn.bartell95
name
Subscriptions
categoryId
21
amount
2256.29
period
yearly
spent
2326.46
currency
AUD
startsAt
2025-01-04
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/62"
)
budget = res.json()
{
  "id": 62,
  "userId": 58,
  "name": "Subscriptions",
  "categoryId": 21,
  "amount": 2256.29,
  "period": "yearly",
  "spent": 2326.46,
  "currency": "AUD",
  "startsAt": "2025-01-04",
  "endsAt": null,
  "createdAt": "2025-11-29T04:36:41.607Z"
}
Draftbit