example-data.com

budgets / #41

userId
Lamar Wilkinson @lamar_wilkinson43
name
Fitness
categoryId
22
amount
217.27
period
weekly
spent
211.61
currency
CAD
startsAt
2025-07-04
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/41"
)
budget = res.json()
{
  "id": 41,
  "userId": 43,
  "name": "Fitness",
  "categoryId": 22,
  "amount": 217.27,
  "period": "weekly",
  "spent": 211.61,
  "currency": "CAD",
  "startsAt": "2025-07-04",
  "endsAt": null,
  "createdAt": "2025-12-14T05:23:40.064Z"
}
Draftbit