example-data.com

budgets / #37

userId
Amely Daniel @amely_daniel
name
Fitness
categoryId
24
amount
2620.12
period
yearly
spent
3130.1
currency
USD
startsAt
2024-07-19
endsAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/37"
)
budget = res.json()
{
  "id": 37,
  "userId": 41,
  "name": "Fitness",
  "categoryId": 24,
  "amount": 2620.12,
  "period": "yearly",
  "spent": 3130.1,
  "currency": "USD",
  "startsAt": "2024-07-19",
  "endsAt": null,
  "createdAt": "2025-08-27T03:51:20.417Z"
}
Draftbit