example-data.com

budgets / #163

userId
Talon Turner @talon.turner59
name
Travel
categoryId
amount
4018.94
period
monthly
spent
1544.32
currency
EUR
startsAt
2025-07-18
endsAt
2025-08-17
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/163"
)
budget = res.json()
{
  "id": 163,
  "userId": 166,
  "name": "Travel",
  "categoryId": null,
  "amount": 4018.94,
  "period": "monthly",
  "spent": 1544.32,
  "currency": "EUR",
  "startsAt": "2025-07-18",
  "endsAt": "2025-08-17",
  "createdAt": "2026-05-17T04:03:21.505Z"
}
Draftbit