FAQ
Home
Support Center
FAQ
Crypto Derivatives
Futures Contracts
Portfolio Margin
Binance Portfolio Margin API

Binance Portfolio Margin API

2023-05-04 14:45
You can check the Binance Portfolio Margin API endpoints and key generation process in this article. To access the Portfolio Margin features, please make sure that you're using the correct endpoints and API Key.
The Binance portfolio Margin offers specific PAPI endpoints. In addition, you have access to fapi and dapi endpoints for market data purposes, excluding trading and user data-related endpoints.

1. API Key permissions and Portfolio Margin

Once you enable Portfolio Margin, please be aware that the [Enable Futures] permission will be automatically removed from all your existing API Keys. You won’t be able to modify the [Enable Futures] permission for any previous API Keys, even if you close the Portfolio Margin. Similarly, the [Enable Portfolio Margin Trading] permission follows the same logic. If you close or re-open the Portfolio Margin, the permission for [Enable Portfolio Margin Trading] cannot be edited for any previous API Keys.

2. How to generate a Portfolio Margin API Key?

Portfolio Margin API Keys include a designated tag.
After activating Portfolio Margin, you can modify the API Key for future restrictions and other settings.
When you open a Portfolio Margin account, the [Enable Futures] permission will be automatically removed from your previous API Key.
This means that you won't be able to modify the [Enable Futures] option for your existing API Key. The removal of this permission is permanent and cannot be reversed
Please note that once your Portfolio Margin account is closed, you won’t be able to modify the [Enable Portfolio Margin Trading] option for the previous API Keys.
In addition, enabling Portfolio Margin trading will restrict the usage of fapi and dapi endpoints for trading and user data. However, you can still utilize these endpoints for accessing market data-related information.

3. Portfolio Margin API endpoints (“PAPI endpoints”)

You can access the PAPI endpoints in the Portfolio Margin Github documentation for a comprehensive list of specifications.
You’ll also have access to the following two SAPI endpoints, which are also available for legacy Classic Portfolio Margin users:
  • GET /sapi/v1/portfolio/collateralRate
  • GET /sapi/v1/portfolio/asset-index-price
For more details on the Binance Portfolio Margin Program, please refer to: