Groceries
- userId
-
Esperanza Casper @esperanza_casper
- name
- Groceries
- categoryId
- Automotive
- amount
- 2589.13
- period
- monthly
- spent
- 2720.22
- currency
- EUR
- startsAt
- 2025-08-22
- endsAt
- 2025-09-21
- createdAt
Overview
budgets / #102
Groceries
#102
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/102" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/102" ); 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/102"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/102"
)
budget = res.json() Response
{
"id": 102,
"userId": 97,
"name": "Groceries",
"categoryId": 9,
"amount": 2589.13,
"period": "monthly",
"spent": 2720.22,
"currency": "EUR",
"startsAt": "2025-08-22",
"endsAt": "2025-09-21",
"createdAt": "2026-02-04T07:13:14.445Z"
}