example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 10 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": 217,
      "accountId": 323,
      "kind": "deposit",
      "amount": 8711.11,
      "currency": "GBP",
      "description": "Dividend payment",
      "status": "completed",
      "occurredAt": "2024-07-11T20:49:12.904Z",
      "createdAt": "2024-07-11T20:50:01.480Z"
    },
    {
      "id": 218,
      "accountId": 345,
      "kind": "fee",
      "amount": -831.56,
      "currency": "USD",
      "description": "Overdraft fee",
      "status": "completed",
      "occurredAt": "2025-05-11T15:24:29.103Z",
      "createdAt": "2025-05-11T15:25:28.178Z"
    },
    {
      "id": 219,
      "accountId": 279,
      "kind": "deposit",
      "amount": 4343.43,
      "currency": "USD",
      "description": "Wire transfer received",
      "status": "completed",
      "occurredAt": "2025-10-21T17:44:13.951Z",
      "createdAt": "2025-10-21T17:44:29.992Z"
    }
  ],
  "meta": {
    "page": 10,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=10&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=11&limit=24",
    "prev": "/api/v1/transactions?page=9&limit=24"
  }
}