Gifts
- userId
-
Sandrine Osinski @sandrine.osinski
- name
- Gifts
- categoryId
- Garden & Outdoor
- amount
- 3972.51
- period
- yearly
- spent
- 3537.31
- currency
- USD
- startsAt
- 2026-03-19
- endsAt
- —
- createdAt
Overview
budgets / #154
Gifts
#154
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/154" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/154" ); const budget = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/budgets.d.ts https://example-data.com/types/budgets.d.ts
import type { Budget } from "./types/budgets";
const res = await fetch(
"https://example-data.com/api/v1/budgets/154"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/154"
)
budget = res.json() Response
{
"id": 154,
"userId": 157,
"name": "Gifts",
"categoryId": 20,
"amount": 3972.51,
"period": "yearly",
"spent": 3537.31,
"currency": "USD",
"startsAt": "2026-03-19",
"endsAt": null,
"createdAt": "2026-03-20T17:01:45.247Z"
}