example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 71 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": 1681,
      "accountId": 182,
      "kind": "deposit",
      "amount": 4505.01,
      "currency": "CAD",
      "description": "Wire transfer received",
      "status": "completed",
      "occurredAt": "2026-02-09T00:35:11.992Z",
      "createdAt": "2026-02-09T00:35:40.528Z"
    },
    {
      "id": 1682,
      "accountId": 378,
      "kind": "transfer",
      "amount": 3400.71,
      "currency": "CNY",
      "description": "Investment transfer",
      "status": "completed",
      "occurredAt": "2026-04-10T06:38:39.601Z",
      "createdAt": "2026-04-10T06:39:32.904Z"
    },
    {
      "id": 1683,
      "accountId": 133,
      "kind": "fee",
      "amount": -4579.82,
      "currency": "JPY",
      "description": "Account service fee",
      "status": "completed",
      "occurredAt": "2025-02-10T04:26:33.989Z",
      "createdAt": "2025-02-10T04:27:33.695Z"
    }
  ],
  "meta": {
    "page": 71,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=71&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=72&limit=24",
    "prev": "/api/v1/transactions?page=70&limit=24"
  }
}