example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 20 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": 457,
      "accountId": 284,
      "kind": "fee",
      "amount": -2189.48,
      "currency": "USD",
      "description": "Foreign transaction fee",
      "status": "completed",
      "occurredAt": "2026-03-05T23:31:03.438Z",
      "createdAt": "2026-03-05T23:31:04.555Z"
    },
    {
      "id": 458,
      "accountId": 40,
      "kind": "transfer",
      "amount": 3119.74,
      "currency": "AUD",
      "description": "Savings transfer",
      "status": "completed",
      "occurredAt": "2026-03-18T22:04:47.786Z",
      "createdAt": "2026-03-18T22:05:29.052Z"
    },
    {
      "id": 459,
      "accountId": 208,
      "kind": "interest",
      "amount": 7037.28,
      "currency": "CNY",
      "description": "Credit card interest",
      "status": "completed",
      "occurredAt": "2025-10-05T05:27:20.667Z",
      "createdAt": "2025-10-05T05:28:05.151Z"
    }
  ],
  "meta": {
    "page": 20,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=20&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=21&limit=24",
    "prev": "/api/v1/transactions?page=19&limit=24"
  }
}