Skip to main content

Fetch Transactions

POST /api/v1/transactions Fetch transactions from any supported exchange in unified format. Requires session authentication.

Request Format (Using Internal Credentials)

Request Format (Using Your Own API Credentials)

Request Parameters

Credentials Object (Optional)

*Required when using your own credentials instead of internal credentials

Supported Transaction Types

Response Format

Response Fields

Transaction Data Formats

Deposit Transaction

Trade Transaction

Withdrawal Transaction

Exchange Credential Requirements

When using your own API credentials, different exchanges have different requirements:

Standard Exchanges (API Key + Secret)

  • Bybit: api_key, secret
  • Binance: api_key, secret
  • KuCoin: api_key, secret
  • Gate.io: api_key, secret
  • Huobi/HTX: api_key, secret
  • Bitfinex: api_key, secret

Exchanges Requiring Passphrase

  • OKX: api_key, secret, passphrase
  • Coinbase: api_key, secret, passphrase
  • Kraken: api_key, secret

Example Credential Objects

Bybit Credentials

OKX Credentials (with passphrase)

Coinbase Credentials (with passphrase)

Security Notes

  • Never share your API credentials with anyone
  • Use read-only API keys when possible for transaction fetching
  • Enable IP whitelisting on your exchange accounts
  • Regularly rotate your API keys for security
  • Store credentials securely and never commit them to version control

Complete Example

Here’s a complete authentication and transaction fetching flow:

Error Handling

Common Errors

Error Response Format

Always check the success field in responses and handle errors appropriately in your application.