example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 6 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": 121,
      "accountId": 324,
      "kind": "transfer",
      "amount": 2630.71,
      "currency": "CHF",
      "description": "Account transfer",
      "status": "completed",
      "occurredAt": "2025-05-27T20:37:53.854Z",
      "createdAt": "2025-05-27T20:37:56.793Z"
    },
    {
      "id": 122,
      "accountId": 280,
      "kind": "fee",
      "amount": -1289.13,
      "currency": "GBP",
      "description": "Overdraft fee",
      "status": "failed",
      "occurredAt": "2025-10-30T06:02:26.224Z",
      "createdAt": "2025-10-30T06:02:43.827Z"
    },
    {
      "id": 123,
      "accountId": 31,
      "kind": "deposit",
      "amount": 3133.41,
      "currency": "AUD",
      "description": "Cash deposit",
      "status": "completed",
      "occurredAt": "2026-02-20T06:40:01.429Z",
      "createdAt": "2026-02-20T06:40:29.416Z"
    }
  ],
  "meta": {
    "page": 6,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=6&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=7&limit=24",
    "prev": "/api/v1/transactions?page=5&limit=24"
  }
}