example-data.com

budgets / #129

userId
Gerda Streich @gerda_streich
name
Pet Expenses
categoryId
4
amount
3153.45
period
weekly
spent
1848.39
currency
AUD
startsAt
2025-09-29
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/129"
)
budget = res.json()
{
  "id": 129,
  "userId": 126,
  "name": "Pet Expenses",
  "categoryId": 4,
  "amount": 3153.45,
  "period": "weekly",
  "spent": 1848.39,
  "currency": "AUD",
  "startsAt": "2025-09-29",
  "endsAt": null,
  "createdAt": "2025-12-10T18:13:24.394Z"
}
Draftbit