example-data.com

budgets / #194

userId
Oliver Mitchell @oliver_mitchell50
name
Pet Expenses
categoryId
34
amount
873.72
period
quarterly
spent
646.62
currency
GBP
startsAt
2026-05-21
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/194"
)
budget = res.json()
{
  "id": 194,
  "userId": 194,
  "name": "Pet Expenses",
  "categoryId": 34,
  "amount": 873.72,
  "period": "quarterly",
  "spent": 646.62,
  "currency": "GBP",
  "startsAt": "2026-05-21",
  "endsAt": null,
  "createdAt": "2026-05-21T21:31:10.482Z"
}
Draftbit