example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 13 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": 289,
      "accountId": 473,
      "kind": "payment",
      "amount": -4567.06,
      "currency": "CAD",
      "description": "Loan payment",
      "status": "pending",
      "occurredAt": "2024-10-17T06:48:21.093Z",
      "createdAt": "2024-10-17T06:48:50.784Z"
    },
    {
      "id": 290,
      "accountId": 29,
      "kind": "deposit",
      "amount": 6791.71,
      "currency": "EUR",
      "description": "Direct deposit",
      "status": "pending",
      "occurredAt": "2025-07-29T21:21:17.249Z",
      "createdAt": "2025-07-29T21:21:52.082Z"
    },
    {
      "id": 291,
      "accountId": 179,
      "kind": "fee",
      "amount": -4586.78,
      "currency": "GBP",
      "description": "Overdraft fee",
      "status": "completed",
      "occurredAt": "2024-06-05T20:21:51.849Z",
      "createdAt": "2024-06-05T20:22:03.508Z"
    }
  ],
  "meta": {
    "page": 13,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=13&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=14&limit=24",
    "prev": "/api/v1/transactions?page=12&limit=24"
  }
}