example-data.com
Menu
Browse docs and collections

transactions

transactions

Page 81 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": 1921,
      "accountId": 129,
      "kind": "payment",
      "amount": -913.38,
      "currency": "CHF",
      "description": "Phone bill",
      "status": "cancelled",
      "occurredAt": "2025-10-20T14:44:55.000Z",
      "createdAt": "2025-10-20T14:45:03.133Z"
    },
    {
      "id": 1922,
      "accountId": 53,
      "kind": "interest",
      "amount": 2771.34,
      "currency": "EUR",
      "description": "Savings interest",
      "status": "completed",
      "occurredAt": "2025-03-19T03:37:31.639Z",
      "createdAt": "2025-03-19T03:38:15.427Z"
    },
    {
      "id": 1923,
      "accountId": 315,
      "kind": "withdrawal",
      "amount": -2484.31,
      "currency": "USD",
      "description": "Cash withdrawal",
      "status": "completed",
      "occurredAt": "2025-07-11T11:40:45.473Z",
      "createdAt": "2025-07-11T11:40:46.104Z"
    }
  ],
  "meta": {
    "page": 81,
    "limit": 24,
    "total": 2500,
    "totalPages": 105
  },
  "links": {
    "self": "/api/v1/transactions?page=81&limit=24",
    "first": "/api/v1/transactions?page=1&limit=24",
    "last": "/api/v1/transactions?page=105&limit=24",
    "next": "/api/v1/transactions?page=82&limit=24",
    "prev": "/api/v1/transactions?page=80&limit=24"
  }
}