Pet Expenses
- userId
-
Matilde Beahan @matilde_beahan
- name
- Pet Expenses
- categoryId
- Hair Care
- amount
- 3278.91
- period
- quarterly
- spent
- 1781.3
- currency
- EUR
- startsAt
- 2025-06-19
- endsAt
- —
- createdAt
Overview
budgets / #100
Pet Expenses
#100
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/100" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/100" ); 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/100"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/100"
)
budget = res.json() Response
{
"id": 100,
"userId": 96,
"name": "Pet Expenses",
"categoryId": 28,
"amount": 3278.91,
"period": "quarterly",
"spent": 1781.3,
"currency": "EUR",
"startsAt": "2025-06-19",
"endsAt": null,
"createdAt": "2026-03-28T23:45:25.355Z"
}