Phemex
This page covers the creation of the API key to be used with Phemex Spot and Phemex Contracts
Last updated
This page covers the creation of the API key to be used with Phemex Spot and Phemex Contracts
Last updated
WARNING: Do NOT use the same API key that you have created for other services.
To get the API keys for your Phemex account, click on the profile icon on the top right of the Phemex main page. and then Select API Management from the menu
.
Once inside, click the Createnew API key button as indicated below
.
Now select the API type as shown below and click Next
The screenshots below will show you how the settings should look like before you click on Confirm
.
If you are running an Enterprise license, please use the IP address of your machine/server instead of the ones written on the platform.
Complete the Safety Verification
Once you click on Add
the API keys will be displayed and can be added to TradeServer. It should look like this:
Keep the pop-up open and move on to the next step.
Login to TradeServer .
Select Exchange Account
.
From the list of exchanges that we support, click on Phemex.
Select the trading type that you want to use the API with.
Repeat the steps to add the API for Leverage if you first chose Spot.
Enter the Account name.
From the Phemex API Management page earlier, click on Copy under API Key and paste it in the TradeServer window under ID
. Repeat the same for API Secret but paste it under API Secret
.
Though it might not be necessary, it might be best if you make sure to check for spaces at the start and at the end of the API/Private Key after you paste them.
Once that is done, the TEST KEYS
button should be active for you to press. Click on it.
Should the test pass, you will be able to click on Submit
to add the API key to the platform.
Click on the icon and select Exchange Accounts
Click on the icon.