example-data.com

budgets / #81

userId
Marilou Douglas @marilou.douglas
name
Clothing
categoryId
35
amount
1093.69
period
yearly
spent
1168.5
currency
CAD
startsAt
2025-08-26
endsAt
2026-08-26
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/81"
)
budget = res.json()
{
  "id": 81,
  "userId": 78,
  "name": "Clothing",
  "categoryId": 35,
  "amount": 1093.69,
  "period": "yearly",
  "spent": 1168.5,
  "currency": "CAD",
  "startsAt": "2025-08-26",
  "endsAt": "2026-08-26",
  "createdAt": "2025-12-05T02:30:35.987Z"
}
Draftbit