Get your cryptocurrency exchange balances
Exchange Connection
Get Exchange Balance
Get your cryptocurrency exchange balances
POST
Get your cryptocurrency exchange balances
10 credits per request
You will get
You will get
- Real-time balance information
- All coins and tokens in your account
- Current value in USD and BTC
- Available and locked amounts
Required
Required
- connectionId: Exchange identifier (e.g., “binance”, “coinbase”)
- connectionFields: Exchange API credentials
- apiKey: Your exchange API key
- apiSecret: Your exchange API secret
Optional
Optional
- name: Custom name for the portfolio
Security Note
Security Note
- Use read-only API keys when possible
- Keep your API credentials secure
- Enable IP restrictions on exchange side
Authorizations
API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the X-API-KEY request header. Never expose your key in client-side code.
Body
application/json
Authentication credentials required to connect to the exchange. This object should contain the API key, secret, and any additional authentication fields from Exchanges request
Example:
{
"apiKey": "your_binance_api_key_here",
"apiSecret": "your_binance_api_secret_here"
}The connectionId for the cryptocurrency exchange platform from Exchanges request
Example:
"binance"
Name for the portfolio
Example:
"My Binance Portfolio"