example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 65 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": 1537,
      "accountId": 261,
      "kind": "payment",
      "amount": -4921.1,
      "currency": "CNY",
      "description": "Rent payment",
      "status": "completed",
      "occurredAt": "2024-12-08T22:49:48.369Z",
      "createdAt": "2024-12-08T22:49:59.443Z"
    },
    {
      "id": 1538,
      "accountId": 301,
      "kind": "interest",
      "amount": 1432.23,
      "currency": "EUR",
      "description": "Savings interest",
      "status": "cancelled",
      "occurredAt": "2025-09-22T15:32:15.380Z",
      "createdAt": "2025-09-22T15:32:20.069Z"
    },
    {
      "id": 1539,
      "accountId": 455,
      "kind": "interest",
      "amount": -240.79,
      "currency": "USD",
      "description": "Credit card interest",
      "status": "completed",
      "occurredAt": "2026-05-20T01:30:01.557Z",
      "createdAt": "2026-05-20T01:30:55.280Z"
    }
  ],
  "meta": {
    "page": 65,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=65&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=66&limit=24",
    "prev": "/api/v1/transactions?page=64&limit=24"
  }
}