example-data.com

budgets / #76

userId
Candace Mueller @candace.mueller
name
Savings Goal
categoryId
14
amount
4344.58
period
yearly
spent
3919.59
currency
USD
startsAt
2025-06-21
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/76"
)
budget = res.json()
{
  "id": 76,
  "userId": 75,
  "name": "Savings Goal",
  "categoryId": 14,
  "amount": 4344.58,
  "period": "yearly",
  "spent": 3919.59,
  "currency": "USD",
  "startsAt": "2025-06-21",
  "endsAt": null,
  "createdAt": "2025-06-29T07:41:05.096Z"
}
Draftbit