example-data.com

budgets / #140

userId
Wendy Borer @wendy_borer
name
Entertainment
categoryId
amount
2424.77
period
monthly
spent
312.38
currency
GBP
startsAt
2025-06-21
endsAt
2025-07-21
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/140"
)
budget = res.json()
{
  "id": 140,
  "userId": 141,
  "name": "Entertainment",
  "categoryId": null,
  "amount": 2424.77,
  "period": "monthly",
  "spent": 312.38,
  "currency": "GBP",
  "startsAt": "2025-06-21",
  "endsAt": "2025-07-21",
  "createdAt": "2025-12-29T19:01:08.802Z"
}
Draftbit