Overview
The Activity API provides flexible filtering capabilities to help you retrieve specific subsets of transaction data. Filters can be combined to create precise queries.Available Filters
Status Filtering
Filter transactions by their current status using thestatuses query parameter.
Filter by transaction status. Can be provided multiple times to include multiple statuses.
Available Status Values
Transactions that are currently in progress or open positions.Examples:
- Active staking positions
- Open loan positions
- Pending withdrawals
- Unfilled or partially filled trade orders
Transactions that have been successfully completed and closed.Examples:
- Completed deposits
- Executed trades
- Closed staking positions
- Fully repaid loans
Transactions that were canceled before completion.Examples:
- Rejected withdrawal requests
- Canceled trade orders
- Declined admin approvals
Status Filter Examples
Single Status
Multiple Statuses
All Non-Canceled Transactions
Transaction Type Filtering
Filter by transaction type using thefullTypes query parameter. Use the % wildcard to match all subtypes.
Filter by transaction type and subtype. The
% wildcard matches all variations of a type.Available Transaction Types
All deposit transactions.Subtypes:
DEPOSIT.ADMIN- Admin-approved depositsDEPOSIT.CRYPTO- Blockchain deposits
All withdrawal transactions.Subtypes:
WITHDRAWAL.ADMIN- Admin-approved withdrawalsWITHDRAWAL.CRYPTO- Blockchain withdrawals
All staking operations.Full Type:
STAKINGUse Case: View all staking positions including fixed and flexible staking.All trading operations.Subtypes:
TRADE.CONVERSION- Currency swaps/conversionsTRADE- Other trading activity
Specifically currency conversion/swap operations.Use Case: Track currency exchanges separate from other trading activity.
All loan-related operations.Full Type:
LOANUse Case: Monitor borrowing activity and loan positions.Internal platform transfers between users.Full Type:
TRANSFERUse Case: Track peer-to-peer transfers within the platform.Transaction Type Filter Examples
Single Type
Multiple Types
Specific Subtype
All Financial Activity (Excluding Staking/Loans)
Combining Filters
You can combine status and type filters to create very specific queries.Active Staking Positions
Completed Deposits and Withdrawals
Active and Completed Trades
Canceled Withdrawals Only
Pagination Parameters
The page number to retrieve. Pages are 1-indexed.Constraints:
- Minimum value: 1
- No maximum (continues until no more results)
Number of transactions to return per page.Constraints:
- Default: 10
- Maximum: 10 (enforced by the API)
Currently, the API enforces a maximum page size of 10 transactions per request.
Pagination Examples
First Page (Default)
Second Page
Third Page with Filters
Filter Behavior
Default Behavior
When no filters are provided:- Returns all transaction types
- Returns all statuses (ACTIVE, COMPLETED, CANCELED)
- Returns the first 10 transactions
- Ordered by
openedAttimestamp (newest first)
Multiple Values (OR Logic)
When you provide multiple values for the same parameter, they are combined with OR logic:Multiple Parameters (AND Logic)
When you provide different parameters, they are combined with AND logic:Common Filter Patterns
Portfolio Monitoring
View all current active positions:Audit Trail
View all completed financial transactions:Trading History
View all completed trades:Pending Actions
View transactions requiring attention:Failed Transactions
View all canceled transactions:Implementation Best Practices
URL Encoding: The
% character in query parameters must be URL-encoded as %25 in some HTTP clients.Example: fullTypes=DEPOSIT%25 instead of fullTypes=DEPOSIT%Client-Side Implementation
JavaScript/TypeScript Example
Python Example
Filter Response Validation
Empty Results
If no transactions match your filters, the API returns an empty array:Invalid Filter Values
If you provide invalid filter values, the API may:- Ignore invalid values and return results for valid filters only
- Return an empty result set if all filters are invalid
- Return a 400 error if the parameter format is malformed
Performance Considerations
Optimal Query Patterns
Good: Specific, targeted queriesCaching Recommendations
- Completed transactions rarely change → cache for longer periods (5-15 minutes)
- Active transactions change frequently → cache for shorter periods (30-60 seconds)
- Real-time updates → implement polling with appropriate intervals
Related Resources
Transaction History
Complete API reference for the transaction history endpoint
Staking API
Dedicated endpoints for staking operations
