example-data.com
Menu
Browse docs and collections

transactions

transactions

Browse 2500 transactions records. Explore sample records and fetch JSON over a free REST API for prototypes, tests, and learning.

Overview

Cards

Compact

Detailed

transactions #1

accountId
accounts/447
kind
fee
amount
-3421.61
currency
USD
description
Late payment fee
status
completed
occurredAt
createdAt

transactions #2

accountId
accounts/104
kind
fee
amount
-4413.37
currency
CAD
description
Monthly maintenance fee
status
pending
occurredAt
createdAt

transactions #3

accountId
accounts/106
kind
refund
amount
9376.86
currency
AUD
description
Return credit
status
pending
occurredAt
createdAt

transactions #4

accountId
accounts/119
kind
interest
amount
2754.46
currency
JPY
description
Interest charge
status
failed
occurredAt
createdAt

transactions #5

accountId
accounts/3
kind
withdrawal
amount
-3655.11
currency
JPY
description
Wire transfer sent
status
completed
occurredAt
createdAt

transactions #6

accountId
accounts/406
kind
withdrawal
amount
-4032.21
currency
GBP
description
ATM withdrawal
status
failed
occurredAt
createdAt

Showing first 6 of 24 on this page.

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": 1,
      "accountId": 447,
      "kind": "fee",
      "amount": -3421.61,
      "currency": "USD",
      "description": "Late payment fee",
      "status": "completed",
      "occurredAt": "2024-10-17T08:57:01.284Z",
      "createdAt": "2024-10-17T08:57:40.581Z"
    },
    {
      "id": 2,
      "accountId": 104,
      "kind": "fee",
      "amount": -4413.37,
      "currency": "CAD",
      "description": "Monthly maintenance fee",
      "status": "pending",
      "occurredAt": "2025-08-06T06:18:19.136Z",
      "createdAt": "2025-08-06T06:19:07.383Z"
    },
    {
      "id": 3,
      "accountId": 106,
      "kind": "refund",
      "amount": 9376.86,
      "currency": "AUD",
      "description": "Return credit",
      "status": "pending",
      "occurredAt": "2025-02-01T11:21:18.240Z",
      "createdAt": "2025-02-01T11:21:30.455Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 25,
    "total": 2500,
    "totalPages": 100
  },
  "links": {
    "self": "/api/v1/transactions?page=1",
    "first": "/api/v1/transactions?page=1",
    "last": "/api/v1/transactions?page=100",
    "next": "/api/v1/transactions?page=2",
    "prev": null
  }
}

View full response →