example-data.com

budgets / #87

userId
Hortense Cruickshank @hortense.cruickshank65
name
Transportation
categoryId
2
amount
1003.78
period
weekly
spent
400.9
currency
USD
startsAt
2025-05-22
endsAt
2025-05-29
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/87"
)
budget = res.json()
{
  "id": 87,
  "userId": 83,
  "name": "Transportation",
  "categoryId": 2,
  "amount": 1003.78,
  "period": "weekly",
  "spent": 400.9,
  "currency": "USD",
  "startsAt": "2025-05-22",
  "endsAt": "2025-05-29",
  "createdAt": "2026-03-19T14:35:53.036Z"
}
Draftbit