example-data.com

budgets / #215

userId
Jadon Nicolas @jadon.nicolas
name
Savings Goal
categoryId
31
amount
2264.83
period
quarterly
spent
2546.2
currency
EUR
startsAt
2025-06-07
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/215"
)
budget = res.json()
{
  "id": 215,
  "userId": 213,
  "name": "Savings Goal",
  "categoryId": 31,
  "amount": 2264.83,
  "period": "quarterly",
  "spent": 2546.2,
  "currency": "EUR",
  "startsAt": "2025-06-07",
  "endsAt": null,
  "createdAt": "2026-02-12T08:42:20.379Z"
}
Draftbit