FAQ
This article currently does not support your language. Auto-translator is recommended for English.
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 find information on Binance Portfolio Margin API endpoints and the key generation process in this article. To access the Portfolio Margin features, please ensure you're using the correct endpoints and API Key.
The Binance Portfolio Margin program offers specific PAPI endpoints. Additionally, 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 account. Similarly, the [Enable Portfolio Margin Trading] permission follows the same rule. 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?

1. Portfolio Margin API Keys include a designated tag.
2. After activating Portfolio Margin, you can modify the API Key for future restrictions and other settings.
3. When you open a Portfolio Margin account, the [Enable Futures] permission will be automatically removed from your previous API Keys, and you won't be able to modify the option for your existing API Keys. The removal of this permission is permanent and cannot be reversed.
Please note: 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 use 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 full 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: