Savings Goal
- userId
-
Jadon Nicolas @jadon.nicolas
- name
- Savings Goal
- categoryId
- Snacks & Confectionery
- amount
- 2264.83
- period
- quarterly
- spent
- 2546.2
- currency
- EUR
- startsAt
- 2025-06-07
- endsAt
- —
- createdAt
Overview
budgets / #215
Savings Goal
#215
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/215" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/215" ); 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/215"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/215"
)
budget = res.json() Response
{
"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"
}