How to import data via Phemex API key?

How do I get my Phemex API key?

  1. Log in to your Phemex account.
  2. Click on the user icon, in the upper-right corner, to display the drop-down menu and select "API Management".
  3. Now select "Create new API key" and confirm with "Next".

    Enter a name for your API key and grant the permissions "" and "" as shown in the image below.

    Now finish by clicking "Confirm" and enter the verification code that has been sent to you.
  4. Your API key and Secret are now visible and will only be available once to copy!
  5. To import your data, you must first create an Integration in the Blockpit Web App.
    To do so, click + Integration in the upper navigation.
  6. Select Phemex from the list of exchanges, and then copy the API key and Secret into the designated fields. Confirm your entries by clicking "Already recorded and saved" to finish.

When using Phemex-subaccounts, each subaccount must be imported into a separate Blockpit Integration. Therefore, you have to create a new Blockpit Integration by using your subaccount API key.


Which data can be imported via Phemex API?

Your complete transaction history always serves as the basis for your tax report. Preferably, automatic API solutions are used to import your transactions. Our team is committed to implementing all API data provided by your exchange for you.

Using the following list, you can identify all products that are implemented:



check.png Deposits & Withdrawals
check.png Fee Payments
check.png Spot Market Trades
check.png Derivative Trades PnL (Profit, Loss, Fee and Funding)
check.png Conversions
check.png Bonuses

In case of missing transactions, you can identify them in the history of your exchange and help our support team via ticket to include them in our import spectrum.

Not Supported

x.png Buys via Credit Card / OTC
(Purchase/Trade can only be imported as Deposit due to incomplete API on the exchange side - Edit this transaction to "Trade" manually and add a "Deposit" for the outgoing asset)
x.png Earn: Rewards & Distributions (Staking, Lending, Airdrops, Hard Forks)
x.png Transfers/Conversions between Spot & Contract Account

If an import of your transactions via API is not available on exchange side, you can also add these transactions manually or by migrating your CSV data into our Excel template.

Synced Balance:


check.png All Balances

Please note the information about how the asset balance is calculated in this article.
If balances are displayed incorrectly, you can help our support team via Ticket to add them to our API import scope.

Here you will find instructions on how to create an API-Integration in Blockpit.


Will Phemex automatically deduct the tax for me?

Was this article helpful?