TestingAPIs is still being built. If something breaks, email support@testingapis.com.

List transactions with filtering, sorting, search and pagination

GEThttps://api.testingapis.com/api/TransactionsSign in to see this endpoint's URL

Common filters: userId, type, category. Any other property name also works as an exact, case-insensitive filter. Paging and sorting: limit (1-100), page (1-based, needs limit), offset, sort (property name), order (asc or desc) and q (search across title, name, body, description and text fields). Totals are returned in the X-Total-Count, X-Page, X-Per-Page and X-Total-Pages headers.

Responses

200
The matching transactions.
500
Unexpected server error.

Example

Request
curl -X GET "https://api.testingapis.com/api/Transactions?limit=2" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
X-Total-Count: 40
X-Page: 1
X-Per-Page: 2
X-Total-Pages: 20

[
  {
    "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)

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.