example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 85 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": 2017,
      "accountId": 198,
      "kind": "transfer",
      "amount": -2390.23,
      "currency": "EUR",
      "description": "Payoff transfer",
      "status": "completed",
      "occurredAt": "2024-10-14T10:27:34.190Z",
      "createdAt": "2024-10-14T10:28:08.449Z"
    },
    {
      "id": 2018,
      "accountId": 103,
      "kind": "fee",
      "amount": -2614.97,
      "currency": "CHF",
      "description": "ATM fee",
      "status": "completed",
      "occurredAt": "2025-09-26T07:44:40.577Z",
      "createdAt": "2025-09-26T07:44:44.294Z"
    },
    {
      "id": 2019,
      "accountId": 164,
      "kind": "withdrawal",
      "amount": -4129.24,
      "currency": "GBP",
      "description": "Bank transfer out",
      "status": "completed",
      "occurredAt": "2024-12-11T10:09:13.768Z",
      "createdAt": "2024-12-11T10:09:53.553Z"
    }
  ],
  "meta": {
    "page": 85,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=85&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=86&limit=24",
    "prev": "/api/v1/transactions?page=84&limit=24"
  }
}