example-data.com

budgets / #139

userId
Chyna Kozey @chyna_kozey80
name
Fitness
categoryId
15
amount
1170.78
period
yearly
spent
669.56
currency
CAD
startsAt
2024-07-17
endsAt
2025-07-17
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/139"
)
budget = res.json()
{
  "id": 139,
  "userId": 140,
  "name": "Fitness",
  "categoryId": 15,
  "amount": 1170.78,
  "period": "yearly",
  "spent": 669.56,
  "currency": "CAD",
  "startsAt": "2024-07-17",
  "endsAt": "2025-07-17",
  "createdAt": "2025-07-03T05:28:47.220Z"
}
Draftbit