example-data.com

budgets / #147

userId
Jacynthe Sawayn @jacynthe_sawayn71
name
Clothing
categoryId
amount
2587.82
period
weekly
spent
2968.4
currency
EUR
startsAt
2025-07-23
endsAt
2025-07-30
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/147"
)
budget = res.json()
{
  "id": 147,
  "userId": 146,
  "name": "Clothing",
  "categoryId": null,
  "amount": 2587.82,
  "period": "weekly",
  "spent": 2968.4,
  "currency": "EUR",
  "startsAt": "2025-07-23",
  "endsAt": "2025-07-30",
  "createdAt": "2026-02-07T19:17:56.070Z"
}
Draftbit