Skip to main content
API · 5-10 min · Spot · Futures · Deposits · Withdrawals · 100+ countries

What’s covered

Spot trades

Buy, sell, and conversions.

Futures and Derivatives

Futures positions and perpetuals.

Deposits and Withdrawals

On-chain deposits and withdrawals.

Trading Fees and Rebates

Fee records and trading rebates.

Before you start

WEEX account

Active account accessed via web browser - API Management is not available on mobile.

KoinX account

Free account - no credit card needed.

Connect WEEX to KoinX

API Key syncs your full WEEX transaction history automatically - no file exports needed. WEEX requires a one-time API activation step before the key goes live.

Generate your WEEX API key

1

Log in to WEEX on web

Go to weex.com and sign in. API Management is only available on the web platform - not on mobile.
2

Open API Management

Navigate to Profile -> API Management -> Create New API.
3

Fill in API details and verify

Enter a label for your key (e.g. KoinX Taxation), set permissions to Read Only, and complete the security verification.
Enable Read Only permissions only. Never enable trading or withdrawal permissions on an API key connected to a third-party service.
4

Copy your API credentials

Copy all three values - Passphrase, Access API Key, and Secret Key - and store them securely. The Secret Key is shown only once and cannot be retrieved after you leave this screen.
5

Submit the WEEX API activation questionnaire

Submit the official API activation questionnaire provided by WEEX. Ensure all details match your WEEX account and the API credentials you just generated.
6

Wait for the activation confirmation email

WEEX sends a confirmation email once your API key is activated. Do not proceed to KoinX until this email arrives - the key will not work before activation.

Connect WEEX to KoinX

1

Open KoinX Integrations

Log in to app.koinx.com -> Integrations -> Add Integration.
2

Select WEEX

Search for WEEX and select it.
3

Paste your credentials and import

Enter your Passphrase, Access API Key, and Secret Key -> click Import Now.
Done. KoinX begins syncing your WEEX history. Large accounts may take a few minutes.
Once your WEEX data is in, head over to Tax Reports on KoinX - your capital gains, income breakdown, and country-specific crypto tax report are ready for you there.

API key notes

  • API activation is required before connecting - wait for the WEEX confirmation email before adding credentials to KoinX.
  • IP restrictions must be disabled - if IP whitelisting is enabled on the key, KoinX servers will not be able to connect.
  • Secret Key is shown once only - copy and store it immediately at the time of creation.

Frequently asked questions

WEEX uses a manual activation step as an additional security and compliance measure. Fill in the official questionnaire with details that exactly match your WEEX account and API credentials. Mismatches delay or prevent activation.
Read Only permissions covering trades, ledger history, and withdrawals. Never enable withdrawal or trading permissions on any API key you connect to a third-party service.
No. WEEX displays the Secret Key only once at the time of creation. If lost, delete the key from API Management and generate a new one.
Most users receive the confirmation email within a few hours. Do not attempt to connect in KoinX until the activation email arrives - the key will not work before then.
Yes. KoinX supports 100+ countries with dedicated report formats for India, the US, UK, Australia, Canada, Germany, and more. After importing your WEEX data, select your country to generate the correct report.

Troubleshooting

Confirm the activation email from WEEX has arrived and the key status shows as active in API Management. If active, delete the credentials in KoinX and re-enter all three values carefully - copy directly from WEEX to avoid invisible characters.
Check that read access is enabled for trades, ledger, and withdrawals on the API key in WEEX -> API Management. If permissions cannot be edited, generate a new key with the correct permissions and update it in KoinX.
Check the WEEX platform for ongoing maintenance. If the platform is operational, verify the key is still active in API Management. Regenerate if expired, re-enter credentials in KoinX, and trigger a fresh sync.
WEEX API keys can become inactive after extended periods of non-use or following account security changes. Log in to WEEX, check the key status under API Management, and regenerate if inactive. Update the new credentials in KoinX under Integrations -> WEEX -> Edit.
IP whitelisting is likely enabled on the key. Go to WEEX -> API Management, open the key settings, and remove all IP whitelist restrictions. KoinX does not use fixed outbound IPs, so IP restrictions must be disabled.
Check KoinX -> Integrations for duplicate WEEX connections and remove any extras. If a CSV file was previously uploaded for the same date range, delete those transactions before re-syncing via API.

Bybit Integration

Connect Bybit via API key or file upload.

Bitget - API Upload

Connect Bitget via Tax API Key or Normal API Key.

OKX Integration

Sync OKX trades and earn history via API or CSV.

Binance - File Upload

Export Binance CSVs and import into KoinX.

Ready to generate your WEEX crypto tax report?

Create a free KoinX account - no credit card required. Import your WEEX transactions and generate a country-specific tax report in minutes.
Last modified on June 18, 2026