example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 80 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": 1897,
      "accountId": 485,
      "kind": "deposit",
      "amount": 4635.38,
      "currency": "EUR",
      "description": "Direct deposit",
      "status": "pending",
      "occurredAt": "2025-09-06T03:12:33.557Z",
      "createdAt": "2025-09-06T03:12:35.387Z"
    },
    {
      "id": 1898,
      "accountId": 69,
      "kind": "transfer",
      "amount": 2663.53,
      "currency": "AUD",
      "description": "Savings transfer",
      "status": "completed",
      "occurredAt": "2026-04-15T22:06:25.848Z",
      "createdAt": "2026-04-15T22:06:50.617Z"
    },
    {
      "id": 1899,
      "accountId": 46,
      "kind": "interest",
      "amount": 5816.74,
      "currency": "USD",
      "description": "Interest charge",
      "status": "cancelled",
      "occurredAt": "2025-02-24T06:39:05.743Z",
      "createdAt": "2025-02-24T06:39:08.180Z"
    }
  ],
  "meta": {
    "page": 80,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=80&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=81&limit=24",
    "prev": "/api/v1/transactions?page=79&limit=24"
  }
}