example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 92 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": 2185,
      "accountId": 177,
      "kind": "transfer",
      "amount": -1376.87,
      "currency": "CAD",
      "description": "Payoff transfer",
      "status": "completed",
      "occurredAt": "2025-10-31T10:00:41.545Z",
      "createdAt": "2025-10-31T10:01:02.274Z"
    },
    {
      "id": 2186,
      "accountId": 247,
      "kind": "transfer",
      "amount": -2231.55,
      "currency": "EUR",
      "description": "Payoff transfer",
      "status": "completed",
      "occurredAt": "2024-09-30T21:04:39.729Z",
      "createdAt": "2024-09-30T21:05:14.952Z"
    },
    {
      "id": 2187,
      "accountId": 120,
      "kind": "interest",
      "amount": -122.8,
      "currency": "CNY",
      "description": "Savings interest",
      "status": "pending",
      "occurredAt": "2026-03-03T05:56:29.817Z",
      "createdAt": "2026-03-03T05:57:08.010Z"
    }
  ],
  "meta": {
    "page": 92,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=92&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=93&limit=24",
    "prev": "/api/v1/transactions?page=91&limit=24"
  }
}