example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 102 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": 2425,
      "accountId": 218,
      "kind": "deposit",
      "amount": 4789.24,
      "currency": "JPY",
      "description": "Freelance payment received",
      "status": "completed",
      "occurredAt": "2025-01-11T21:00:58.069Z",
      "createdAt": "2025-01-11T21:01:34.485Z"
    },
    {
      "id": 2426,
      "accountId": 308,
      "kind": "interest",
      "amount": 6049.33,
      "currency": "JPY",
      "description": "Interest charge",
      "status": "completed",
      "occurredAt": "2026-04-16T02:35:48.157Z",
      "createdAt": "2026-04-16T02:36:46.128Z"
    },
    {
      "id": 2427,
      "accountId": 60,
      "kind": "refund",
      "amount": 4757.45,
      "currency": "GBP",
      "description": "Merchant refund",
      "status": "completed",
      "occurredAt": "2024-10-16T04:55:17.062Z",
      "createdAt": "2024-10-16T04:55:24.913Z"
    }
  ],
  "meta": {
    "page": 102,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=102&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=103&limit=24",
    "prev": "/api/v1/transactions?page=101&limit=24"
  }
}