example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 27 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": 625,
      "accountId": 270,
      "kind": "deposit",
      "amount": 6622.2,
      "currency": "JPY",
      "description": "Direct deposit",
      "status": "completed",
      "occurredAt": "2024-12-10T13:02:03.000Z",
      "createdAt": "2024-12-10T13:02:29.821Z"
    },
    {
      "id": 626,
      "accountId": 339,
      "kind": "payment",
      "amount": -1300.28,
      "currency": "GBP",
      "description": "Grocery store",
      "status": "completed",
      "occurredAt": "2024-07-25T00:29:34.192Z",
      "createdAt": "2024-07-25T00:30:24.366Z"
    },
    {
      "id": 627,
      "accountId": 14,
      "kind": "fee",
      "amount": -3461.84,
      "currency": "JPY",
      "description": "Monthly maintenance fee",
      "status": "completed",
      "occurredAt": "2025-07-15T21:39:10.319Z",
      "createdAt": "2025-07-15T21:39:58.833Z"
    }
  ],
  "meta": {
    "page": 27,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=27&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=28&limit=24",
    "prev": "/api/v1/transactions?page=26&limit=24"
  }
}