example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 95 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": 2257,
      "accountId": 505,
      "kind": "deposit",
      "amount": 3844.41,
      "currency": "GBP",
      "description": "Cash deposit",
      "status": "completed",
      "occurredAt": "2024-08-06T01:00:14.858Z",
      "createdAt": "2024-08-06T01:01:10.750Z"
    },
    {
      "id": 2258,
      "accountId": 131,
      "kind": "interest",
      "amount": 7173.29,
      "currency": "CHF",
      "description": "Loan interest payment",
      "status": "pending",
      "occurredAt": "2025-12-12T18:22:47.742Z",
      "createdAt": "2025-12-12T18:23:17.701Z"
    },
    {
      "id": 2259,
      "accountId": 91,
      "kind": "deposit",
      "amount": 7366.26,
      "currency": "AUD",
      "description": "Bank transfer in",
      "status": "completed",
      "occurredAt": "2024-11-25T01:24:44.174Z",
      "createdAt": "2024-11-25T01:25:21.870Z"
    }
  ],
  "meta": {
    "page": 95,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=95&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=96&limit=24",
    "prev": "/api/v1/transactions?page=94&limit=24"
  }
}