example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 84 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": 1993,
      "accountId": 289,
      "kind": "refund",
      "amount": 2505.72,
      "currency": "GBP",
      "description": "Purchase refund",
      "status": "completed",
      "occurredAt": "2026-01-02T05:14:32.792Z",
      "createdAt": "2026-01-02T05:15:19.015Z"
    },
    {
      "id": 1994,
      "accountId": 474,
      "kind": "interest",
      "amount": 501.93,
      "currency": "GBP",
      "description": "Savings interest",
      "status": "completed",
      "occurredAt": "2025-04-06T05:19:37.220Z",
      "createdAt": "2025-04-06T05:20:14.730Z"
    },
    {
      "id": 1995,
      "accountId": 212,
      "kind": "deposit",
      "amount": 9732.17,
      "currency": "CHF",
      "description": "Freelance payment received",
      "status": "completed",
      "occurredAt": "2025-11-09T13:16:36.789Z",
      "createdAt": "2025-11-09T13:17:35.437Z"
    }
  ],
  "meta": {
    "page": 84,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=84&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=85&limit=24",
    "prev": "/api/v1/transactions?page=83&limit=24"
  }
}