transactions
transactions
Page 105 of 105.
Overview
Request
curl example
curl -sS \ "https://example-data.com/api/v1/transactions?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/transactions?limit=25"
);
const { data, meta } = await res.json(); TypeScript example
// Download once: mkdir -p types && curl -o types/transactions.d.ts https://example-data.com/types/transactions.d.ts
import type { Transaction, ListEnvelope } from "./types/transactions";
const res = await fetch(
"https://example-data.com/api/v1/transactions?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Transaction>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/transactions",
params={"limit": 25},
)
data = res.json() Response
{
"data": [
{
"id": 2497,
"accountId": 69,
"kind": "withdrawal",
"amount": -3244.19,
"currency": "AUD",
"description": "Wire transfer sent",
"status": "completed",
"occurredAt": "2025-03-17T13:51:07.242Z",
"createdAt": "2025-03-17T13:51:48.015Z"
},
{
"id": 2498,
"accountId": 335,
"kind": "deposit",
"amount": 5338.62,
"currency": "CNY",
"description": "Wire transfer received",
"status": "completed",
"occurredAt": "2024-09-20T19:36:26.388Z",
"createdAt": "2024-09-20T19:37:16.760Z"
},
{
"id": 2499,
"accountId": 218,
"kind": "payment",
"amount": -4609.29,
"currency": "JPY",
"description": "Phone bill",
"status": "completed",
"occurredAt": "2024-12-22T12:51:06.803Z",
"createdAt": "2024-12-22T12:51:15.678Z"
}
],
"meta": {
"page": 105,
"limit": 24,
"total": 2500,
"totalPages": 105
},
"links": {
"self": "/api/v1/transactions?page=105&limit=24",
"first": "/api/v1/transactions?page=1&limit=24",
"last": "/api/v1/transactions?page=105&limit=24",
"next": null,
"prev": "/api/v1/transactions?page=104&limit=24"
}
}