example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 9 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": 193,
      "accountId": 451,
      "kind": "payment",
      "amount": -383.44,
      "currency": "CAD",
      "description": "Loan payment",
      "status": "failed",
      "occurredAt": "2025-07-05T07:55:46.684Z",
      "createdAt": "2025-07-05T07:56:23.686Z"
    },
    {
      "id": 194,
      "accountId": 105,
      "kind": "payment",
      "amount": -4817.32,
      "currency": "JPY",
      "description": "Utility bill payment",
      "status": "completed",
      "occurredAt": "2026-04-11T02:41:35.630Z",
      "createdAt": "2026-04-11T02:42:26.466Z"
    },
    {
      "id": 195,
      "accountId": 13,
      "kind": "interest",
      "amount": 6453.71,
      "currency": "GBP",
      "description": "Loan interest payment",
      "status": "completed",
      "occurredAt": "2024-11-01T09:11:02.641Z",
      "createdAt": "2024-11-01T09:11:03.831Z"
    }
  ],
  "meta": {
    "page": 9,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=9&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=10&limit=24",
    "prev": "/api/v1/transactions?page=8&limit=24"
  }
}