API integration is the most popular way to connect exchanges to KoinX. You create a read-only API key on your exchange, paste it into KoinX, and fetch your transactions whenever you need. Here’s how to set it up — and what to do when things don’t work as expected.Documentation Index
Fetch the complete documentation index at: https://guides.koinx.com/llms.txt
Use this file to discover all available pages before exploring further.
AI Summary
- Create a read-only API key on your exchange (never enable withdrawal permissions)
- Paste the API Key, Secret Key, and Passphrase (if required) into KoinX
- Click Import Now to connect
- KoinX does not auto-sync — you need to manually trigger a sync from the Integrations page each time
- Most exchange APIs have lookback limits (e.g., Bitget = 2 years) — use File Upload to backfill older data
- Some exchanges offer a Tax API Key option (like Bitget) that’s simpler to set up
Before You Start
Make sure you have:- An active account on the exchange you want to connect
- Access to the API management section of your exchange (usually under Settings or Account)
- KoinX open in another tab, ready to receive the API key
How to Connect via API
Search for your exchange name and select it from the results.
Login to your exchange and generate the API Keys
Understanding the Integration Page
Every API integration page in KoinX has two sections: Left side — your input:- Add Wallet Name — KoinX auto-assigns a name (e.g., “Bitget-1”, “BigONE-1”). You can change this to something more recognisable.
- API Key / Secret Key / Passphrase fields
- Advanced section (expandable) for additional configuration
- Import Now button
- Alerts — important limitations specific to this exchange (shown in yellow)
- Integration Steps — step-by-step instructions for generating your API key
- Important Notes — data limitations, permissions guidance
- Common Troubleshooting — fixes for frequent issues
Troubleshooting API Issues
API key shows as invalid
- Double-check that you copied the full key and secret (no extra spaces or missing characters)
- Always copy-paste your API key and secret directly from your exchange — never type them manually. Even a single wrong character will cause the connection to fail.
- Make sure you’re using the correct API key pair — some exchanges let you create multiple keys
- Check if the API key has expired on your exchange
- Verify that the API key has the correct permissions enabled
- For Bitget: double-check whether you created the key from the Normal API page or the Tax API page, and used the matching fields in KoinX
API integration stopped syncing
- Your API key may have been revoked or expired on the exchange side. Log into your exchange and check.
- Some exchanges disable API keys after password changes or security events. Re-generate a new key and update it in KoinX.
Missing older transactions
Most exchange APIs have a lookback limit. For example, Bitget only provides the last 2 years. Download your full transaction history from your exchange and import it via File Upload or Custom File.Fewer transactions than expected
- Check if specific transaction types (staking, futures, P2P, strategy) are included in the exchange’s API output
- Bitget’s API excludes executed strategy transactions entirely — add these manually
- Some exchanges rate-limit API requests, causing partial syncs — try syncing again after a few hours
Common Issues / Edge Cases
I have multiple accounts on the same exchange
I have multiple accounts on the same exchange
My exchange requires IP whitelisting for API keys
My exchange requires IP whitelisting for API keys
I regenerated my API key — do I need to update KoinX?
I regenerated my API key — do I need to update KoinX?
My exchange requires a passphrase but I can't remember it
My exchange requires a passphrase but I can't remember it
Frequently Asked Questions
Will API automatically sync my future transactions?
Will API automatically sync my future transactions?
Does API fetch futures, spot, and deposit transactions?
Does API fetch futures, spot, and deposit transactions?
Why did my API integration stop working?
Why did my API integration stop working?
What's the difference between Normal API Key and Tax API Key?
What's the difference between Normal API Key and Tax API Key?