Subscriptions
- userId
-
Carmel Schultz @carmel.schultz
- name
- Subscriptions
- categoryId
- —
- amount
- 4226.88
- period
- weekly
- spent
- 4792.45
- currency
- EUR
- startsAt
- 2026-03-13
- endsAt
- 2026-03-20
- createdAt
Overview
budgets / #153
Subscriptions
#153
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/153" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/153" ); 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/153"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/153"
)
budget = res.json() Response
{
"id": 153,
"userId": 156,
"name": "Subscriptions",
"categoryId": null,
"amount": 4226.88,
"period": "weekly",
"spent": 4792.45,
"currency": "EUR",
"startsAt": "2026-03-13",
"endsAt": "2026-03-20",
"createdAt": "2026-04-30T17:55:51.338Z"
}