example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 98 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": 2329,
      "accountId": 188,
      "kind": "refund",
      "amount": 558.56,
      "currency": "JPY",
      "description": "Return credit",
      "status": "failed",
      "occurredAt": "2025-01-12T05:16:22.723Z",
      "createdAt": "2025-01-12T05:16:52.863Z"
    },
    {
      "id": 2330,
      "accountId": 475,
      "kind": "transfer",
      "amount": -4369.96,
      "currency": "CHF",
      "description": "Internal transfer",
      "status": "completed",
      "occurredAt": "2026-04-12T07:57:19.854Z",
      "createdAt": "2026-04-12T07:57:35.543Z"
    },
    {
      "id": 2331,
      "accountId": 235,
      "kind": "deposit",
      "amount": 8250.07,
      "currency": "EUR",
      "description": "Direct deposit",
      "status": "completed",
      "occurredAt": "2025-07-20T21:01:39.337Z",
      "createdAt": "2025-07-20T21:02:21.230Z"
    }
  ],
  "meta": {
    "page": 98,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=98&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=99&limit=24",
    "prev": "/api/v1/transactions?page=97&limit=24"
  }
}