example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 101 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": 2401,
      "accountId": 92,
      "kind": "refund",
      "amount": 699.28,
      "currency": "CHF",
      "description": "Purchase refund",
      "status": "completed",
      "occurredAt": "2026-04-10T01:29:07.811Z",
      "createdAt": "2026-04-10T01:29:49.012Z"
    },
    {
      "id": 2402,
      "accountId": 103,
      "kind": "withdrawal",
      "amount": -4534.24,
      "currency": "CHF",
      "description": "Wire transfer sent",
      "status": "completed",
      "occurredAt": "2024-09-10T21:30:55.037Z",
      "createdAt": "2024-09-10T21:31:30.408Z"
    },
    {
      "id": 2403,
      "accountId": 418,
      "kind": "refund",
      "amount": 2870.19,
      "currency": "JPY",
      "description": "Merchant refund",
      "status": "completed",
      "occurredAt": "2025-06-26T09:21:11.881Z",
      "createdAt": "2025-06-26T09:22:09.467Z"
    }
  ],
  "meta": {
    "page": 101,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=101&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=102&limit=24",
    "prev": "/api/v1/transactions?page=100&limit=24"
  }
}