example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 78 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": 1849,
      "accountId": 112,
      "kind": "refund",
      "amount": 2901.55,
      "currency": "EUR",
      "description": "Purchase refund",
      "status": "completed",
      "occurredAt": "2026-03-02T04:23:56.004Z",
      "createdAt": "2026-03-02T04:24:14.903Z"
    },
    {
      "id": 1850,
      "accountId": 19,
      "kind": "transfer",
      "amount": -2857.79,
      "currency": "EUR",
      "description": "Internal transfer",
      "status": "failed",
      "occurredAt": "2025-07-11T03:27:13.659Z",
      "createdAt": "2025-07-11T03:27:37.822Z"
    },
    {
      "id": 1851,
      "accountId": 418,
      "kind": "fee",
      "amount": -591.53,
      "currency": "JPY",
      "description": "Wire transfer fee",
      "status": "completed",
      "occurredAt": "2026-01-28T13:15:50.093Z",
      "createdAt": "2026-01-28T13:16:11.718Z"
    }
  ],
  "meta": {
    "page": 78,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=78&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=79&limit=24",
    "prev": "/api/v1/transactions?page=77&limit=24"
  }
}