Transactions API
Read-only bank transactions (income and expenses) with merchant, category and running balance.
- GET
https://api.testingapis.com/api/TransactionsList transactions with filtering, sorting, search and pagination. - GET
https://api.testingapis.com/api/Transactions/{id}Get a transaction by ID. - GET
https://api.testingapis.com/api/Transactions/summaryGet total income, expenses and balance.
Example request
List transactions with filtering, sorting, search and pagination. Full reference and a Send button.
cURL
curl -X GET "https://api.testingapis.com/api/Transactions?limit=2"Response · 200 OK
[
{
"id": 1,
"userId": 101,
"type": "credit",
"amount": 3200.0,
"currency": "USD",
"description": "Monthly Salary",
"merchant": "Acme Corp",
"category": "salary",
"date": "2025-07-01T09:00:00Z",
"balance": 3200.0
… (3 more lines)Filtering, sorting and pagination
The list endpoint accepts limit, page, offset, sort, order and q, and any field name as an exact filter. Totals come back in the X-Total-Count header. Writes are kept in memory until the server restarts, so tests can create, change and delete records freely. Query parameter reference.