example-data.com

budgets / #141

userId
Wendy Borer @wendy_borer
name
Gifts
categoryId
29
amount
165.57
period
weekly
spent
138.49
currency
AUD
startsAt
2025-08-27
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/141"
)
budget = res.json()
{
  "id": 141,
  "userId": 141,
  "name": "Gifts",
  "categoryId": 29,
  "amount": 165.57,
  "period": "weekly",
  "spent": 138.49,
  "currency": "AUD",
  "startsAt": "2025-08-27",
  "endsAt": null,
  "createdAt": "2025-09-19T08:07:20.560Z"
}
Draftbit