---
title: "Binance JavaScript & TypeScript SDK for Node.js | Siebly"
description: "Binance JavaScript SDK by Siebly with TypeScript-first REST and WebSocket clients, Node.js runtime guidance, examples, endpoint references, and release links."
canonical: "https://siebly.io/sdk/binance/javascript"
---

# Binance JavaScript SDK

Build with the Binance REST API and WebSockets using the JavaScript SDK, TypeScript-first declarations, and Node.js-compatible runtime patterns.

Use the same TypeScript-first REST API and WebSocket clients from plain JavaScript or TypeScript in Node.js-compatible runtimes.

## Install

```shell
# Via your favourite package manager, e.g. npm:
npm install binance
# or pnpm:
pnpm install binance
# or yarn:
yarn add binance
```

- [npm: binance](https://www.npmjs.com/package/binance)
- [GitHub repository](https://github.com/tiagosiebler/binance)
- [README](https://github.com/tiagosiebler/binance#readme)
- [Binance examples](/examples/Binance)

## Coverage

- Spot
- Futures
- Margin
- WebSockets
- WebSocket API
- Framework-neutral JavaScript snippets that stay approachable in Node.js-compatible runtimes.
- TypeScript-first package declarations for stricter services, shared libraries, and editor-assisted integrations.

## Integration Profile

**REST API:** Use the Binance SDK for spot, margin, futures, account, market data, and order-management workflows that need signed REST requests and typed responses.

**WebSockets:** Use WebSocket clients for public market streams, private account/order updates, and WebSocket API request/response flows where Binance supports them.

**Reliability:** Plan around request-weight limits, separate spot and derivatives environments, and keep stream reconnect and session renewal handling close to your worker or service boundary.

## Quickstart

Get started with just a few lines of JavaScript. TypeScript, while not required, is absolutely recommended. TypeScript declarations are included with all our SDKs and provide convenient definitions on request & response fields, WebSocket payloads, and generally safer integrations.

### REST API

Using Binance's USD-M Futures REST APIs in JavaScript is easy!

- Install the Binance JavaScript SDK via NPM: `npm install binance`.
- Import the `USDMClient` (REST API wrapper for Binance USD-M Futures APIs).
- If Spot or Margin is preferred, use the `MainClient` instead.
- Create an instance with your API credentials.
- Call the desired REST API methods as functions and await the promise containing the response.

In this example, we:

- Create an authenticated USD-M Futures REST client.
- Submit a new market order for BTCUSDT using `submitNewOrder()`.
- Log the order response returned by Binance.

For a full map of available REST API methods, check out the endpoint reference below.

```typescript
import { USDMClient } from 'binance';

const key = process.env.API_KEY_COM || 'APIKEY';
const secret = process.env.API_SECRET_COM || 'APISECRET';

const client = new USDMClient({
  api_secret: secret,
  api_key: key,
  beautifyResponses: true,
});

async function start() {
  try {
    // To open a short position - if you don't have a position yet, and your account is set to one-way mode, just place a sell order to open a short position
    const result = await client.submitNewOrder({
      side: 'SELL',
      symbol: 'BTCUSDT',
      type: 'MARKET',
      quantity: 0.001,
      // newOrderRespType: 'FULL',
    });

    console.log('market sell result: ', result);
  } catch (e) {
    console.error('market sell failed: ', e);
  }
}

start();
```

[View the source example](https://github.com/sieblyio/crypto-api-examples/blob/master/examples/Binance/REST/Futures/rest-usdm-order.ts)

### WebSocket Streams

Connecting to Binance's WebSocket streams is straightforward with the WebsocketClient.

- Import the WebsocketClient (General WebSocket wrapper for all available Binance WebSocket streams)
- Create an instance of the WebsocketClient (API credentials not required unless you want to consume private topics).
- Configure event handlers for the emitted events you are interested in. The minimum recommended handlers are 'exception', 'message' and 'reconnected'. The latter informs you if a connection dropped and was successfully re-established by the client.
- Call the subscribe method for the desired channels and handle incoming events.

In this example, we:

- Subscribe to the spot trades streams for 3 symbols.
- Log incoming messages to the console for demonstration purposes.
- Use the "formattedMessage" event handler to log a more readable version of the incoming trade data (available thanks to the "beautify: true" configuration).

This setup allows you to receive real-time updates on market activity, a much faster alternative to polling REST endpoints for the same data.

```typescript
import { DefaultLogger, isWsFormattedTrade, WebsocketClient } from 'binance';

(async () => {
  const logger = {
    ...DefaultLogger,
    // trace: () => {},
  };

  const wsClient = new WebsocketClient(
    {
      beautify: true,
    },
    logger,
  );

  wsClient.on('formattedMessage', (data) => {
    if (isWsFormattedTrade(data)) {
      console.log('trade event ', data);
      return;
    }

    console.log('log formattedMessage: ', data);
  });

  wsClient.on('open', (data) => {
    console.log('connection opened open:', data.wsKey, data.wsUrl);
  });
  wsClient.on('response', (data) => {
    console.log('log response: ', JSON.stringify(data, null, 2));
  });
  wsClient.on('reconnecting', (data) => {
    console.log('ws automatically reconnecting.... ', data?.wsKey);
  });
  wsClient.on('reconnected', (data) => {
    console.log('ws has reconnected ', data?.wsKey);
  });

  // Request subscription to the following symbol trade events:
  const symbols = ['BTCUSDT', 'ETHUSDT', 'BNBUSDT'];

  // Loop through symbols
  for (const symbol of symbols) {
    console.log('subscribing to trades for: ', symbol);
    wsClient.subscribeSpotTrades(symbol);
  }
})();
```

[View the source example](https://github.com/sieblyio/crypto-api-examples/blob/master/examples/Binance/WebSockets/Public/ws-public-spot-trades.ts)

### WebSocket API

Binance's WebSocket API (WS-API) is a powerful tool to send commands over a persisted and pre-authenticated WebSocket connection, allowing for lower latency interactions with the exchange compared to REST API calls.

The WS-API supports a wide range of commands, including order submission and cancellation, making it ideal for latency sensitive integrations.

To use the WebSocket API:

- Import the WebsocketAPIClient (a specialised wrapper around the WebsocketClient)
- Create an instance of the WebsocketAPIClient with credentials.
  - Note: Ed25519 keys are required for the maximum speed benefit.
  - HMAC & RSA credentials are supported, but will require each request to be individually signed.
- Call the dedicated functions to send WS-API commands and await the responses.

Authentication is automatic. Connectivity is persistent with automatic failover. All WS-API commands are wrapped in promises, allowing you to await individual Websocket API commands as if it were a REST API call.

```typescript
/* eslint-disable @typescript-eslint/no-unused-vars */

// or

import { DefaultLogger, WebsocketAPIClient } from 'binance';

/**
 * Note: the WebSocket API is fastest with Ed25519 keys. HMAC & RSA will
 * require each command to be individually signed.
 *
 * Check the rest-private-ed25519.md in this folder for more guidance
 * on preparing this Ed25519 API key.
 */

const publicKey = `-----BEGIN PUBLIC KEY-----
MCexampleQTxwLU9o=
-----END PUBLIC KEY-----
`;

const privateKey = `-----BEGIN PRIVATE KEY-----
MC4CAQAexamplewqj5CzUuTy1
-----END PRIVATE KEY-----
`;

const key = process.env.API_KEY_COM;
const secret = process.env.API_SECRET_COM;

// returned by binance, generated using the publicKey (above)
// const key = 'BVv39ATnIme5TTZRcC3I04C3FqLVM7vCw3Hf7mMT7uu61nEZK8xV1V5dmhf9kifm';
// Your Ed25519 private key is passed as the "secret"
// const secret = privateKey;

// function attachEventHandlers<TWSClient extends WebsocketClient>(
//   wsClient: TWSClient,
// ): void {
//   /**
//    * General event handlers for monitoring the WebsocketClient
//    */
//   wsClient.on('message', (data) => {
//     // console.log('raw message received ', JSON.stringify(data));
//   });
//   wsClient.on('response', (data) => {
//     // console.log('ws response: ', JSON.stringify(data));
//   });
//   wsClient.on('open', (data) => {
//     console.log('ws connected', data.wsKey);
//   });
//   wsClient.on('reconnecting', ({ wsKey }) => {
//     console.log('ws automatically reconnecting.... ', wsKey);
//   });
//   wsClient.on('reconnected', (data) => {
//     console.log('ws has reconnected ', data?.wsKey);
//   });
//   wsClient.on('authenticated', (data) => {
//     console.log('ws has authenticated ', data?.wsKey);
//   });
//   wsClient.on('exception', (data) => {
//     console.error('ws exception: ', JSON.stringify(data));
//   });
// }

async function main() {
  const customLogger = {
    ...DefaultLogger,
    // For a more detailed view of the WebsocketClient, enable the `trace` level by uncommenting the below line:
    // trace: (...params) => console.log(new Date(), 'trace', ...params),
  };

  const wsClient = new WebsocketAPIClient(
    {
      api_key: key,
      api_secret: secret,
      beautify: true,

      // Enforce testnet ws connections, regardless of supplied wsKey
      // testnet: true,

      // Note: unless you set this to false, the SDK will automatically call
      // the `subscribeUserDataStream()` method again if reconnected (if you called it before):
      // resubscribeUserDataStreamAfterReconnect: true,

      // If you want your own event handlers instead of the default ones with logs, disable this setting and see the `attachEventHandlers` example below:
      // attachEventListeners: false
    },
    customLogger,
  );

  // Optional, attach basic event handlers, so nothing is left unhandled
  // attachEventHandlers(wsClient.getWSClient());

  // Optional, if you see RECV Window errors, you can use this to manage time issues.
  // ! However, make sure you sync your system clock first!
  // https://github.com/tiagosiebler/awesome-crypto-examples/wiki/Timestamp-for-this-request-is-outside-of-the-recvWindow
  // wsClient.setTimeOffsetMs(-5000);

  // Optional. Can be used to prepare a connection before sending commands.
  // Can be done as part of a bootstrapping workflow, to reduce initial latency when sending the first command
  // await wsClient.getWSClient().connectWSAPI(WS_KEY_MAP.mainWSAPI);

  try {
    const response = await wsClient.getSpotSessionStatus();
    console.log('getSessionStatus response: ', response);
  } catch (e) {
    console.log('getSessionStatus error: ', e);
  }

  try {
    const response = await wsClient.getSpotServerTime();
    console.log('getSpotServerTime response: ', response);
  } catch (e) {
    console.log('getSpotServerTime error: ', e);
  }

  try {
    const response = await wsClient.getSpotExchangeInfo();
    console.log('getSpotExchangeInfo response: ', response);
  } catch (e) {
    console.log('getSpotExchangeInfo error: ', e);
  }

  try {
    const response = await wsClient.getSpotOrderBook({ symbol: 'BTCUSDT' });
    console.log('getSpotOrderBook response: ', response);
  } catch (e) {
    console.log('getSpotOrderBook error: ', e);
  }

  try {
    const response = await wsClient.getSpotHistoricalTrades({
      symbol: 'BTCUSDT',
      fromId: 0,
      limit: 1,
    });
    console.log('getSpotHistoricalTrades response: ', response);
  } catch (e) {
    console.log('getSpotHistoricalTrades error: ', e);
  }

  // SPOT - Market data requests
  try {
    const response = await wsClient.getSpotRecentTrades({
      symbol: 'BTCUSDT',
      limit: 1,
    });
    console.log('getSpotRecentTrades response: ', response);
  } catch (e) {
    console.log('getSpotRecentTrades error: ', e);
  }

  try {
    const response = await wsClient.getSpotAggregateTrades({
      symbol: 'BNBBTC',
      fromId: 50000000,
      limit: 1,
    });
    console.log('getSpotAggregateTrades response: ', response);
  } catch (e) {
    console.log('getSpotAggregateTrades error: ', e);
  }

  try {
    const response = await wsClient.getSpotKlines({
      symbol: 'BNBBTC',
      interval: '1h',
      startTime: 1655969280000,
      limit: 1,
    });
    console.log('getSpotKlines response: ', response);
  } catch (e) {
    console.log('getSpotKlines error: ', e);
  }

  try {
    const response = await wsClient.getSpotUIKlines({
      symbol: 'BNBBTC',
      interval: '1h',
      startTime: 1655969280000,
      limit: 1,
    });
    console.log('getSpotUIKlines response: ', response);
  } catch (e) {
    console.log('getSpotUIKlines error: ', e);
  }

  try {
    const response = await wsClient.getSpotAveragePrice({
      symbol: 'BTCUSDT',
    });
    console.log('getSpotAveragePrice response: ', response);
  } catch (e) {
    console.log('getSpotAveragePrice error: ', e);
  }

  try {
    const response = await wsClient.getSpot24hrTicker({
      symbol: 'BTCUSDT',
    });
    console.log('getSpot24hrTicker response: ', response);
  } catch (e) {
    console.log('getSpot24hrTicker error: ', e);
  }

  try {
    const response = await wsClient.getSpotTradingDayTicker({
      symbol: 'BTCUSDT',
    });
    console.log('getSpotTradingDayTicker response: ', response);
  } catch (e) {
    console.log('getSpotTradingDayTicker error: ', e);
  }

  try {
    const response = await wsClient.getSpotTicker({
      symbol: 'BTCUSDT',
    });
    console.log('getSpotTicker response: ', response);
  } catch (e) {
    console.log('getSpotTicker error: ', e);
  }

  try {
    const response = await wsClient.getSpotSymbolPriceTicker({
      symbol: 'BTCUSDT',
    });
    console.log('getSpotSymbolPriceTicker response: ', response);
  } catch (e) {
    console.log('getSpotSymbolPriceTicker error: ', e);
  }

  try {
    const response = await wsClient.getSpotSymbolOrderBookTicker({
      symbol: 'BTCUSDT',
    });
    console.log('getSpotSymbolOrderBookTicker response: ', response);
  } catch (e) {
    console.log('getSpotSymbolOrderBookTicker error: ', e);
  }

  // SPOT - Trading requests
  try {
    const response = await wsClient.submitNewSpotOrder({
      symbol: 'BTCUSDT',
      side: 'SELL',
      type: 'LIMIT',
      timeInForce: 'GTC',
      price: '23416.10000000',
      quantity: '0.00847000',
    });
    console.log('submitNewSpotOrder response: ', response);
  } catch (e) {
    console.log('submitNewSpotOrder error: ', e);
  }

  try {
    const response = await wsClient.testSpotOrder({
      symbol: 'BTCUSDT',
      side: 'SELL',
      type: 'LIMIT',
      timeInForce: 'GTC',
      price: '23416.1',
      quantity: '0.001',
      timestamp: Date.now(),
    });
    console.log('testSpotOrder response: ', response);
  } catch (e) {
    console.log('testSpotOrder error: ', e);
  }

  try {
    const response = await wsClient.getSpotOrderStatus({
      symbol: 'BTCUSDT',
      orderId: 12345678,
      timestamp: Date.now(),
    });
    console.log('getSpotOrderStatus response: ', response);
  } catch (e) {
    console.log('getSpotOrderStatus error: ', e);
  }

  try {
    const response = await wsClient.cancelSpotOrder({
      symbol: 'BTCUSDT',
      orderId: 12345678,
      timestamp: Date.now(),
    });
    console.log('cancelSpotOrder response: ', response);
  } catch (e) {
    console.log('cancelSpotOrder error: ', e);
  }

  try {
    const response = await wsClient.cancelReplaceSpotOrder({
      symbol: 'BTCUSDT',
      cancelReplaceMode: 'ALLOW_FAILURE',
      cancelOrigClientOrderId: '4d96324ff9d44481926157',
      side: 'SELL',
      type: 'LIMIT',
      timeInForce: 'GTC',
      price: '23416.10000000',
      quantity: '0.00847000',
      timestamp: Date.now(),
    });
    console.log('cancelReplaceSpotOrder response: ', response);
  } catch (e) {
    console.log('cancelReplaceSpotOrder error: ', e);
  }

  try {
    const response = await wsClient.amendSpotOrderKeepPriority({
      newQty: '5',
      origClientOrderId: 'my_test_order1',
      recvWindow: 5000,
      symbol: 'BTCUSDT',
      timestamp: Date.now(),
    });
    console.log('amendSpotOrderKeepPriority response: ', response);
  } catch (e) {
    console.log('amendSpotOrderKeepPriority error: ', e);
  }

  try {
    const response = await wsClient.getSpotOpenOrders({
      symbol: 'BTCUSDT',
      timestamp: Date.now(),
    });
    console.log('getSpotOpenOrders response: ', response);
  } catch (e) {
    console.log('getSpotOpenOrders error: ', e);
  }

  try {
    const response = await wsClient.cancelAllSpotOpenOrders({
      symbol: 'BTCUSDT',
      timestamp: Date.now(),
    });
    console.log('cancelAllSpotOpenOrders response: ', response);
  } catch (e) {
    console.log('cancelAllSpotOpenOrders error: ', e);
  }

  try {
    const response = await wsClient.placeSpotOrderList({
      symbol: 'BTCUSDT',
      side: 'SELL',
      price: '23420.00000000',
      quantity: '0.00650000',
      stopPrice: '23410.00000000',
      stopLimitPrice: '23405.00000000',
      stopLimitTimeInForce: 'GTC',
      newOrderRespType: 'RESULT',
      timestamp: Date.now(),
    });
    console.log('placeSpotOrderList response: ', response);
  } catch (e) {
    console.log('placeSpotOrderList error: ', e);
  }

  try {
    const response = await wsClient.placeSpotOCOOrderList({
      symbol: 'LTCBNB',
      side: 'BUY',
      quantity: 1,
      timestamp: 1711062760647,
      aboveType: 'STOP_LOSS_LIMIT',
      abovePrice: '1.5',
      aboveStopPrice: '1.50000001',
      aboveTimeInForce: 'GTC',
      belowType: 'LIMIT_MAKER',
      belowPrice: '1.49999999',
    });
    console.log('placeSpotOCOOrderList response: ', response);
  } catch (e) {
    console.log('placeSpotOCOOrderList error: ', e);
  }

  try {
    const response = await wsClient.placeSpotOTOOrderList({
      pendingQuantity: 1,
      pendingSide: 'BUY',
      pendingType: 'MARKET',
      symbol: 'LTCBNB',
      recvWindow: 5000,
      timestamp: 1712544395951,
      workingPrice: 1,
      workingQuantity: 1,
      workingSide: 'SELL',
      workingTimeInForce: 'GTC',
      workingType: 'LIMIT',
    });
    console.log('placeSpotOTOOrderList response: ', response);
  } catch (e) {
    console.log('placeSpotOTOOrderList error: ', e);
  }

  try {
    const response = await wsClient.placeSpotOTOCOOrderList({
      pendingQuantity: 5,
      pendingSide: 'SELL',
      pendingBelowPrice: 5,
      pendingBelowType: 'LIMIT_MAKER',
      pendingAboveStopPrice: 0.5,
      pendingAboveType: 'STOP_LOSS',
      symbol: 'LTCBNB',
      recvWindow: 5000,
      timestamp: Date.now(),
      workingPrice: 1.5,
      workingQuantity: 1,
      workingSide: 'BUY',
      workingTimeInForce: 'GTC',
      workingType: 'LIMIT',
    });
    console.log('placeSpotOTOCOOrderList response: ', response);
  } catch (e) {
    console.log('placeSpotOTOCOOrderList error: ', e);
  }

  try {
    const response = await wsClient.getSpotOrderListStatus({
      orderListId: 12345678,
      timestamp: Date.now(),
    });
    console.log('getSpotOrderListStatus response: ', response);
  } catch (e) {
    console.log('getSpotOrderListStatus error: ', e);
  }

  try {
    const response = await wsClient.cancelSpotOrderList({
      symbol: 'BTCUSDT',
      orderListId: 1274512,
      timestamp: Date.now(),
    });
    console.log('cancelSpotOrderList response: ', response);
  } catch (e) {
    console.log('cancelSpotOrderList error: ', e);
  }

  try {
    const response = await wsClient.getSpotOpenOrderLists({
      timestamp: Date.now(),
    });
    console.log('getSpotOpenOrderLists response: ', response);
  } catch (e) {
    console.log('getSpotOpenOrderLists error: ', e);
  }

  try {
    const response = await wsClient.placeSpotSOROrder({
      symbol: 'BTCUSDT',
      side: 'BUY',
      type: 'LIMIT',
      quantity: 0.5,
      timeInForce: 'GTC',
      price: 31000,
      timestamp: Date.now(),
    });
    console.log('placeSpotSOROrder response: ', response);
  } catch (e) {
    console.log('placeSpotSOROrder error: ', e);
  }

  try {
    const response = await wsClient.testSpotSOROrder({
      symbol: 'BTCUSDT',
      side: 'BUY',
      type: 'LIMIT',
      quantity: 0.1,
      timeInForce: 'GTC',
      price: 0.1,
      timestamp: Date.now(),
    });
    console.log('testSpotSOROrder response: ', response);
  } catch (e) {
    console.log('testSpotSOROrder error: ', e);
  }

  // SPOT - Account requests
  try {
    const response = await wsClient.getSpotAccountInformation({
      timestamp: Date.now(),
    });
    console.log('getSpotAccountInformation response: ', response);
  } catch (e) {
    console.log('getSpotAccountInformation error: ', e);
  }

  try {
    const response = await wsClient.getSpotOrderRateLimits({
      timestamp: Date.now(),
    });
    console.log('getSpotOrderRateLimits response: ', response);
  } catch (e) {
    console.log('getSpotOrderRateLimits error: ', e);
  }

  try {
    const response = await wsClient.getSpotAllOrders({
      symbol: 'BTCUSDT',
      limit: 10,
    });
    console.log('getSpotAllOrders response: ', response);
  } catch (e) {
    console.log('getSpotAllOrders error: ', e);
  }

  try {
    const response = await wsClient.getSpotAllOrderLists({
      limit: 10,
    });
    console.log('getSpotAllOrderLists response: ', response);
  } catch (e) {
    console.log('getSpotAllOrderLists error: ', e);
  }

  try {
    const response = await wsClient.getSpotMyTrades({
      symbol: 'BTCUSDT',
      limit: 10,
    });
    console.log('getSpotMyTrades response: ', response);
  } catch (e) {
    console.log('getSpotMyTrades error: ', e);
  }

  try {
    const response = await wsClient.getSpotPreventedMatches({
      symbol: 'BTCUSDT',
    });
    console.log('getSpotPreventedMatches response: ', response);
  } catch (e) {
    console.log('getSpotPreventedMatches error: ', e);
  }

  try {
    const response = await wsClient.getSpotAllocations({
      symbol: 'BTCUSDT',
      orderId: 12345678,
    });
    console.log('getSpotAllocations response: ', response);
  } catch (e) {
    console.log('getSpotAllocations error: ', e);
  }

  try {
    const response = await wsClient.getSpotAccountCommission({
      symbol: 'BTCUSDT',
    });
    console.log('getSpotAccountCommission response: ', response);
  } catch (e) {
    console.log('getSpotAccountCommission error: ', e);
  }

  // FUTURES - Market data requests
  try {
    const response = await wsClient.getFuturesOrderBook({
      symbol: 'BTCUSDT',
    });
    console.log('getFuturesOrderBook response: ', response);
  } catch (e) {
    console.log('getFuturesOrderBook error: ', e);
  }

  try {
    const response = await wsClient.getFuturesSymbolPriceTicker({
      symbol: 'BTCUSDT',
    });
    console.log('getFuturesSymbolPriceTicker response: ', response);
  } catch (e) {
    console.log('getFuturesSymbolPriceTicker error: ', e);
  }

  try {
    const response = await wsClient.getFuturesSymbolOrderBookTicker({
      symbol: 'BTCUSDT',
    });
    console.log('getFuturesSymbolOrderBookTicker response: ', response);
  } catch (e) {
    console.log('getFuturesSymbolOrderBookTicker error: ', e);
  }

  // FUTURES - Trading requests
  try {
    const response = await wsClient.submitNewFuturesOrder('usdm', {
      positionSide: 'BOTH',
      price: '43187.00',
      quantity: 0.1,
      side: 'BUY',
      symbol: 'BTCUSDT',
      timeInForce: 'GTC',
      timestamp: Date.now(),
      type: 'LIMIT',
    });
    console.log('submitNewFuturesOrder response: ', response);
  } catch (e) {
    console.log('submitNewFuturesOrder error: ', e);
  }

  try {
    const response = await wsClient.modifyFuturesOrder('usdm', {
      orderId: 328971409,
      origType: 'LIMIT',
      positionSide: 'SHORT',
      price: '43769.1',
      priceMatch: 'NONE',
      quantity: '0.11',
      side: 'SELL',
      symbol: 'BTCUSDT',
      timestamp: Date.now(),
    });
    console.log('modifyFuturesOrder response: ', response);
  } catch (e) {
    console.log('modifyFuturesOrder error: ', e);
  }

  try {
    const response = await wsClient.cancelFuturesOrder('usdm', {
      symbol: 'BTCUSDT',
      orderId: 328971409,
      timestamp: Date.now(),
    });
    console.log('cancelFuturesOrder response: ', response);
  } catch (e) {
    console.log('cancelFuturesOrder error: ', e);
  }

  try {
    const response = await wsClient.getFuturesOrderStatus('usdm', {
      orderId: 328999071,
      symbol: 'BTCUSDT',
      timestamp: Date.now(),
    });
    console.log('getFuturesOrderStatus response: ', response);
  } catch (e) {
    console.log('getFuturesOrderStatus error: ', e);
  }

  try {
    const response = await wsClient.getFuturesPositionV2({
      timestamp: Date.now(),
    });
    console.log('getFuturesPositionV2 response: ', response);
  } catch (e) {
    console.log('getFuturesPositionV2 error: ', e);
  }

  try {
    const response = await wsClient.getFuturesPosition('usdm', {
      timestamp: Date.now(),
    });
    console.log('getFuturesPosition response: ', response);
  } catch (e) {
    console.log('getFuturesPosition error: ', e);
  }

  // FUTURES - Account requests
  try {
    const response = await wsClient.getFuturesAccountBalanceV2({
      timestamp: Date.now(),
    });
    console.log('getFuturesAccountBalanceV2 response: ', response);
  } catch (e) {
    console.log('getFuturesAccountBalanceV2 error: ', e);
  }

  try {
    const response = await wsClient.getFuturesAccountBalance('usdm', {
      timestamp: Date.now(),
    });
    console.log('getFuturesAccountBalance response: ', response);
  } catch (e) {
    console.log('getFuturesAccountBalance error: ', e);
  }

  try {
    const response = await wsClient.getFuturesAccountStatusV2({
      timestamp: Date.now(),
    });
    console.log('getFuturesAccountStatusV2 response: ', response);
  } catch (e) {
    console.log('getFuturesAccountStatusV2 error: ', e);
  }

  try {
    const response = await wsClient.getFuturesAccountStatus('usdm', {
      timestamp: Date.now(),
    });
    console.log('getFuturesAccountStatus response: ', response);
  } catch (e) {
    console.log('getFuturesAccountStatus error: ', e);
  }

  try {
    const response = await wsClient.submitNewFuturesAlgoOrder({
      algoType: 'CONDITIONAL',
      symbol: 'BTCUSDT',
      side: 'BUY',
      type: 'STOP',
      timeInForce: 'GTC',
      price: '100000.10000000',
      stopPrice: '100000.10000000',
      quantity: '0.00847000',
      timestamp: Date.now(),
    });
    console.log('submitNewFuturesAlgoOrder response: ', response);
  } catch (e) {
    console.log('submitNewFuturesAlgoOrder error: ', e);
  }

  try {
    const response = await wsClient.cancelFuturesAlgoOrder({
      algoid: 1028312903,
      timestamp: Date.now(),
    });
    console.log('cancelFuturesAlgoOrder response: ', response);
  } catch (e) {
    console.log('cancelFuturesAlgoOrder error: ', e);
  }
}

// Start executing the example workflow
main();
```

[View the source example](https://github.com/sieblyio/crypto-api-examples/blob/master/examples/Binance/WebSockets/WS-API/ws-api-client.ts)

## Endpoint Reference

[View the endpoint map source](https://github.com/tiagosiebler/binance/blob/master/docs/endpointFunctionList.md)

### Endpoint maps

<p align="center">
  <a href="https://www.npmjs.com/package/binance">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="https://github.com/tiagosiebler/binance/blob/master/docs/images/logoDarkMode2.svg?raw=true#gh-dark-mode-only">
      <img alt="SDK Logo" src="https://github.com/tiagosiebler/binance/blob/master/docs/images/logoBrightMode2.svg?raw=true#gh-light-mode-only">
    </picture>
  </a>
</p>

Each REST client is a JavaScript class, which provides functions individually mapped to each endpoint available in the exchange's API offering.

The following table shows all methods available in each REST client, whether the method requires authentication (automatically handled if API keys are provided), as well as the exact endpoint each method is connected to.

This can be used to easily find which method to call, once you have [found which endpoint you're looking to use](https://github.com/tiagosiebler/awesome-crypto-examples/wiki/How-to-find-SDK-functions-that-match-API-docs-endpoint).

All REST clients are in the [src](https://github.com/tiagosiebler/binance/tree/master/src) folder. For usage examples, make sure to check the [examples](https://github.com/tiagosiebler/binance/tree/master/examples) folder.

List of clients:

- [main-client](#main-clientts)
- [usdm-client](#usdm-clientts)
- [coinm-client](#coinm-clientts)
- [portfolio-client](#portfolio-clientts)
- [websocket-api-client](#websocket-api-clientts)

If anything is missing or wrong, please open an issue or let us know in our [Node.js Traders](https://t.me/nodetraders) telegram group!

#### How to use table

Table consists of 4 parts:

- Function name
- AUTH
- HTTP Method
- Endpoint

**Function name** is the name of the function that can be called through the SDK. Check examples folder in the repo for more help on how to use them!

**AUTH** is a boolean value that indicates if the function requires authentication - which means you need to pass your API key and secret to the SDK.

**HTTP Method** shows HTTP method that the function uses to call the endpoint. Sometimes endpoints can have same URL, but different HTTP method so you can use this column to differentiate between them.

**Endpoint** is the URL that the function uses to call the endpoint. Best way to find exact function you need for the endpoint is to search for URL in this table and find corresponding function name.

### main-client.ts

This table includes all endpoints from the official Exchange API docs and corresponding SDK functions for each endpoint that are found in [main-client.ts](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts).

| Function                                                                                                                            | AUTH | HTTP Method | Endpoint                                                                |
| ----------------------------------------------------------------------------------------------------------------------------------- | :--: | :---------: | ----------------------------------------------------------------------- |
| [testConnectivity()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L784)                                   |      |     GET     | `api/v3/ping`                                                           |
| [getExchangeInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L788)                                    |      |     GET     | `api/v3/exchangeInfo`                                                   |
| [getOrderBook()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L808)                                       |      |     GET     | `api/v3/depth`                                                          |
| [getRecentTrades()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L812)                                    |      |     GET     | `api/v3/trades`                                                         |
| [getHistoricalTrades()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L816)                                |      |     GET     | `api/v3/historicalTrades`                                               |
| [getHistoricalBlockTrades()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L820)                           |      |     GET     | `api/v3/historicalBlockTrades`                                          |
| [getAggregateTrades()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L826)                                 |      |     GET     | `api/v3/aggTrades`                                                      |
| [getKlines()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L832)                                          |      |     GET     | `api/v3/klines`                                                         |
| [getUIKlines()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L836)                                        |      |     GET     | `api/v3/uiKlines`                                                       |
| [getAvgPrice()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L840)                                        |      |     GET     | `api/v3/avgPrice`                                                       |
| [getExecutionRules()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L844)                                  |      |     GET     | `api/v3/executionRules?symbols=`                                        |
| [getReferencePrice()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L859)                                  |      |     GET     | `api/v3/referencePrice`                                                 |
| [getReferencePriceCalculation()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L865)                       |      |     GET     | `api/v3/referencePrice/calculation`                                     |
| [get24hrChangeStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L872)                            |      |     GET     | `api/v3/ticker/24hr?symbols=`                                           |
| [getTradingDayTicker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L902)                                |      |     GET     | `api/v3/ticker/tradingDay?symbols=`                                     |
| [getSymbolPriceTicker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L917)                               |      |     GET     | `api/v3/ticker/price?symbols=`                                          |
| [getSymbolOrderBookTicker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L934)                           |      |     GET     | `api/v3/ticker/bookTicker?symbols=`                                     |
| [getRollingWindowTicker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L951)                             |      |     GET     | `api/v3/ticker?symbols=`                                                |
| [submitNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L973)                                     |  🔐  |     POST    | `api/v3/order`                                                          |
| [testNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L981)                                       |  🔐  |     POST    | `api/v3/order/test`                                                     |
| [getOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L989)                                           |  🔐  |     GET     | `api/v3/order`                                                          |
| [cancelOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L993)                                        |  🔐  |    DELETE   | `api/v3/order`                                                          |
| [cancelAllSymbolOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L997)                              |  🔐  |    DELETE   | `api/v3/openOrders`                                                     |
| [replaceOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1003)                                      |  🔐  |     POST    | `api/v3/order/cancelReplace`                                            |
| [amendOrderKeepPriority()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1017)                            |  🔐  |     PUT     | `fapi/v1/order/amend/keepPriority`                                      |
| [getOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1024)                                     |  🔐  |     GET     | `api/v3/openOrders`                                                     |
| [getAllOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1028)                                      |  🔐  |     GET     | `api/v3/allOrders`                                                      |
| [submitNewOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1035)                                      |  🔐  |     POST    | `api/v3/order/oco`                                                      |
| [submitNewOrderList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1042)                                |  🔐  |     POST    | `api/v3/orderList/oco`                                                  |
| [submitNewOrderListOTO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1051)                             |  🔐  |     POST    | `api/v3/orderList/oto`                                                  |
| [submitNewOrderListOTOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1060)                           |  🔐  |     POST    | `api/v3/orderList/otoco`                                                |
| [submitNewOrderListOPO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1070)                             |  🔐  |     POST    | `api/v3/orderList/opo`                                                  |
| [submitNewOrderListOPOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1079)                           |  🔐  |     POST    | `api/v3/orderList/opoco`                                                |
| [cancelOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1089)                                         |  🔐  |    DELETE   | `api/v3/orderList`                                                      |
| [getOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1094)                                            |  🔐  |     GET     | `api/v3/orderList`                                                      |
| [getAllOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1098)                                         |  🔐  |     GET     | `api/v3/allOrderList`                                                   |
| [getAllOpenOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1105)                                     |  🔐  |     GET     | `api/v3/openOrderList`                                                  |
| [submitNewSOROrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1112)                                 |  🔐  |     POST    | `api/v3/sor/order`                                                      |
| [testNewSOROrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1123)                                   |  🔐  |     POST    | `api/v3/sor/order/test`                                                 |
| [getAccountInformation()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1139)                             |  🔐  |     GET     | `api/v3/account`                                                        |
| [getAccountTradeList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1145)                               |  🔐  |     GET     | `api/v3/myTrades`                                                       |
| [getOrderRateLimit()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1151)                                 |  🔐  |     GET     | `api/v3/rateLimit/order`                                                |
| [getPreventedMatches()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1155)                               |  🔐  |     GET     | `api/v3/myPreventedMatches`                                             |
| [getAllocations()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1161)                                    |  🔐  |     GET     | `api/v3/myAllocations`                                                  |
| [getCommissionRates()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1165)                                |  🔐  |     GET     | `api/v3/account/commission`                                             |
| [getCrossMarginCollateralRatio()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1175)                     |  🔐  |     GET     | `sapi/v1/margin/crossMarginCollateralRatio`                             |
| [getAllCrossMarginPairs()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1184)                            |      |     GET     | `sapi/v1/margin/allPairs`                                               |
| [getIsolatedMarginAllSymbols()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1188)                       |  🔐  |     GET     | `sapi/v1/margin/isolated/allPairs`                                      |
| [getAllMarginAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1194)                                |      |     GET     | `sapi/v1/margin/allAssets`                                              |
| [getMarginDelistSchedule()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1198)                           |  🔐  |     GET     | `sapi/v1/margin/delist-schedule`                                        |
| [getIsolatedMarginTierData()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1202)                         |  🔐  |     GET     | `sapi/v1/margin/isolatedMarginTier`                                     |
| [queryMarginPriceIndex()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1208)                             |      |     GET     | `sapi/v1/margin/priceIndex`                                             |
| [getMarginAvailableInventory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1214)                       |  🔐  |     GET     | `sapi/v1/margin/available-inventory`                                    |
| [getLeverageBracket()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1220)                                |  🔐  |     GET     | `sapi/v1/margin/leverageBracket`                                        |
| [getNextHourlyInterestRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1230)                         |  🔐  |     GET     | `sapi/v1/margin/next-hourly-interest-rate`                              |
| [getMarginInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1236)                          |  🔐  |     GET     | `sapi/v1/margin/interestHistory`                                        |
| [submitMarginAccountBorrowRepay()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1243)                    |  🔐  |     POST    | `sapi/v1/margin/borrow-repay`                                           |
| [getMarginAccountBorrowRepayRecords()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1249)                |  🔐  |     GET     | `sapi/v1/margin/borrow-repay`                                           |
| [getMarginInterestRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1255)                      |  🔐  |     GET     | `sapi/v1/margin/interestRateHistory`                                    |
| [queryMaxBorrow()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1261)                                    |  🔐  |     GET     | `sapi/v1/margin/maxBorrowable`                                          |
| [getMarginForceLiquidationRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1273)                   |  🔐  |     GET     | `sapi/v1/margin/forceLiquidationRec`                                    |
| [getSmallLiabilityExchangeCoins()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1282)                    |  🔐  |     GET     | `sapi/v1/margin/exchange-small-liability`                               |
| [getSmallLiabilityExchangeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1286)                  |  🔐  |     GET     | `sapi/v1/margin/exchange-small-liability-history`                       |
| [marginAccountCancelOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1298)                     |  🔐  |    DELETE   | `sapi/v1/margin/openOrders`                                             |
| [marginAccountCancelOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1304)                            |  🔐  |    DELETE   | `sapi/v1/margin/orderList`                                              |
| [marginAccountCancelOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1309)                          |  🔐  |    DELETE   | `sapi/v1/margin/order`                                                  |
| [marginAccountNewOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1315)                               |  🔐  |     POST    | `sapi/v1/margin/order/oco`                                              |
| [marginAccountNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1322)                             |  🔐  |     POST    | `sapi/v1/margin/order`                                                  |
| [getMarginOrderCountUsage()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1330)                          |  🔐  |     GET     | `sapi/v1/margin/rateLimit/order`                                        |
| [queryMarginAccountAllOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1336)                          |  🔐  |     GET     | `sapi/v1/margin/allOrderList`                                           |
| [queryMarginAccountAllOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1342)                       |  🔐  |     GET     | `sapi/v1/margin/allOrders`                                              |
| [queryMarginAccountOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1348)                             |  🔐  |     GET     | `sapi/v1/margin/orderList`                                              |
| [queryMarginAccountOpenOCO()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1352)                         |  🔐  |     GET     | `sapi/v1/margin/openOrderList`                                          |
| [queryMarginAccountOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1359)                      |  🔐  |     GET     | `sapi/v1/margin/openOrders`                                             |
| [queryMarginAccountOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1363)                           |  🔐  |     GET     | `sapi/v1/margin/order`                                                  |
| [queryMarginAccountTradeList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1367)                       |  🔐  |     GET     | `sapi/v1/margin/myTrades`                                               |
| [submitSmallLiabilityExchange()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1373)                      |  🔐  |     POST    | `sapi/v1/margin/exchange-small-liability`                               |
| [submitManualLiquidation()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1380)                           |  🔐  |     POST    | `sapi/v1/margin/manual-liquidation`                                     |
| [submitMarginOTOOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1389)                              |  🔐  |     POST    | `sapi/v1/margin/order/oto`                                              |
| [submitMarginOTOCOOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1401)                            |  🔐  |     POST    | `sapi/v1/margin/order/otoco`                                            |
| [createMarginSpecialLowLatencyKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1414)                  |  🔐  |     POST    | `sapi/v1/margin/apiKey`                                                 |
| [deleteMarginSpecialLowLatencyKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1420)                  |  🔐  |    DELETE   | `sapi/v1/margin/apiKey`                                                 |
| [updateMarginIPForSpecialLowLatencyKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1428)             |  🔐  |     PUT     | `sapi/v1/margin/apiKey/ip`                                              |
| [getMarginSpecialLowLatencyKeys()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1439)                    |  🔐  |     GET     | `sapi/v1/margin/api-key-list`                                           |
| [getMarginSpecialLowLatencyKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1448)                     |  🔐  |     GET     | `sapi/v1/margin/apiKey`                                                 |
| [getMarginLiquidationLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1458)                          |  🔐  |     GET     | `sapi/v1/margin/liquidation-loan`                                       |
| [repayMarginLiquidationLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1465)                        |  🔐  |     POST    | `sapi/v1/margin/liquidation-loan/repay`                                 |
| [getMarginLiquidationLoanRepayHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1474)              |  🔐  |     GET     | `sapi/v1/margin/liquidation-loan/repay-history`                         |
| [exitMarginSpecialKeyMode()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1486)                          |  🔐  |     POST    | `sapi/v1/margin/exit-special-key-mode`                                  |
| [getCrossMarginTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1496)                     |  🔐  |     GET     | `sapi/v1/margin/transfer`                                               |
| [queryMaxTransferOutAmount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1502)                         |  🔐  |     GET     | `sapi/v1/margin/maxTransferable`                                        |
| [updateCrossMarginMaxLeverage()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1514)                      |  🔐  |     POST    | `sapi/v1/margin/max-leverage`                                           |
| [disableIsolatedMarginAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1520)                      |  🔐  |    DELETE   | `sapi/v1/margin/isolated/account`                                       |
| [enableIsolatedMarginAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1527)                       |  🔐  |     POST    | `sapi/v1/margin/isolated/account`                                       |
| [getBNBBurn()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1534)                                        |  🔐  |     GET     | `sapi/v1/bnbBurn`                                                       |
| [getMarginSummary()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1538)                                  |  🔐  |     GET     | `sapi/v1/margin/tradeCoeff`                                             |
| [queryCrossMarginAccountDetails()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1542)                    |  🔐  |     GET     | `sapi/v1/margin/account`                                                |
| [getCrossMarginFeeData()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1546)                             |  🔐  |     GET     | `sapi/v1/margin/crossMarginData`                                        |
| [getIsolatedMarginAccountLimit()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1552)                     |  🔐  |     GET     | `sapi/v1/margin/isolated/accountLimit`                                  |
| [getIsolatedMarginAccountInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1559)                      |  🔐  |     GET     | `sapi/v1/margin/isolated/account`                                       |
| [getIsolatedMarginFeeData()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1565)                          |  🔐  |     GET     | `sapi/v1/margin/isolatedMarginData`                                     |
| [toggleBNBBurn()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1571)                                     |  🔐  |     POST    | `sapi/v1/bnbBurn`                                                       |
| [getMarginCapitalFlow()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1579)                              |  🔐  |     GET     | `sapi/v1/margin/capital-flow`                                           |
| [queryLoanRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1588)                                   |  🔐  |     GET     | `sapi/v1/margin/loan`                                                   |
| [queryRepayRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1597)                                  |  🔐  |     GET     | `sapi/v1/margin/repay`                                                  |
| [isolatedMarginAccountTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1606)                     |  🔐  |     POST    | `sapi/v1/margin/isolated/transfer`                                      |
| [getBalances()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1618)                                       |  🔐  |     GET     | `sapi/v1/capital/config/getall`                                         |
| [withdraw()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1622)                                          |  🔐  |     POST    | `sapi/v1/capital/withdraw/apply`                                        |
| [getWithdrawHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1626)                                |  🔐  |     GET     | `sapi/v1/capital/withdraw/history`                                      |
| [getWithdrawAddresses()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1632)                              |  🔐  |     GET     | `sapi/v1/capital/withdraw/address/list`                                 |
| [getWithdrawQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1636)                                  |  🔐  |     GET     | `sapi/v1/capital/withdraw/quota`                                        |
| [getDepositHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1643)                                 |  🔐  |     GET     | `sapi/v1/capital/deposit/hisrec`                                        |
| [getDepositAddress()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1647)                                 |  🔐  |     GET     | `sapi/v1/capital/deposit/address`                                       |
| [getDepositAddresses()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1653)                               |  🔐  |     GET     | `sapi/v1/capital/deposit/address/list`                                  |
| [submitDepositCredit()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1659)                               |  🔐  |     POST    | `sapi/v1/capital/deposit/credit-apply`                                  |
| [getAutoConvertStablecoins()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1668)                         |  🔐  |     GET     | `sapi/v1/capital/contract/convertible-coins`                            |
| [setConvertibleCoins()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1675)                               |  🔐  |     POST    | `sapi/v1/capital/contract/convertible-coins`                            |
| [getAssetDetail()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1688)                                    |  🔐  |     GET     | `sapi/v1/asset/assetDetail`                                             |
| [getWalletBalances()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1694)                                 |  🔐  |     GET     | `sapi/v1/asset/wallet/balance`                                          |
| [getUserAsset()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1700)                                      |  🔐  |     POST    | `sapi/v3/asset/getUserAsset`                                            |
| [submitUniversalTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1704)                           |  🔐  |     POST    | `sapi/v1/asset/transfer`                                                |
| [getUniversalTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1710)                       |  🔐  |     GET     | `sapi/v1/asset/transfer`                                                |
| [getDust()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1716)                                           |  🔐  |     POST    | `sapi/v1/asset/dust-btc`                                                |
| [convertDustToBnb()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1720)                                  |  🔐  |     POST    | `sapi/v1/asset/dust`                                                    |
| [convertDustAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1727)                                 |  🔐  |     POST    | `sapi/v1/asset/dust-convert/convert`                                    |
| [queryDustConvertibleAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1734)                        |  🔐  |     POST    | `sapi/v1/asset/dust-convert/query-convertible-assets`                   |
| [getDustLog()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1743)                                        |  🔐  |     GET     | `sapi/v1/asset/dribblet`                                                |
| [getAssetDividendRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1747)                            |  🔐  |     GET     | `sapi/v1/asset/assetDividend`                                           |
| [getTradeFee()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1751)                                       |  🔐  |     GET     | `sapi/v1/asset/tradeFee`                                                |
| [getFundingAsset()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1755)                                   |  🔐  |     POST    | `sapi/v1/asset/get-funding-asset`                                       |
| [getCloudMiningHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1759)                             |  🔐  |     GET     | `sapi/v1/asset/ledger-transfer/cloud-mining/queryByPage`                |
| [getDelegationHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1769)                              |  🔐  |     GET     | `sapi/v1/asset/custody/transfer-history`                                |
| [submitNewFutureAccountTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1799)                    |  🔐  |     POST    | `sapi/v1/futures/transfer`                                              |
| [getFutureAccountTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1809)                   |  🔐  |     GET     | `sapi/v1/futures/transfer`                                              |
| [getCrossCollateralBorrowHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1818)                   |  🔐  |     GET     | `sapi/v1/futures/loan/borrow/history`                                   |
| [getCrossCollateralRepaymentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1825)                |  🔐  |     GET     | `sapi/v1/futures/loan/repay/history`                                    |
| [getCrossCollateralWalletV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1832)                        |  🔐  |     GET     | `sapi/v2/futures/loan/wallet`                                           |
| [getAdjustCrossCollateralLTVHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1839)                |  🔐  |     GET     | `sapi/v1/futures/loan/adjustCollateral/history`                         |
| [getCrossCollateralLiquidationHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1851)              |  🔐  |     GET     | `sapi/v1/futures/loan/liquidationHistory`                               |
| [getCrossCollateralInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1860)                 |  🔐  |     GET     | `sapi/v1/futures/loan/interestHistory`                                  |
| [getAccountInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1872)                                    |  🔐  |     GET     | `sapi/v1/account/info`                                                  |
| [getDailyAccountSnapshot()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1876)                           |  🔐  |     GET     | `sapi/v1/accountSnapshot`                                               |
| [disableFastWithdrawSwitch()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1882)                         |  🔐  |     POST    | `sapi/v1/account/disableFastWithdrawSwitch`                             |
| [enableFastWithdrawSwitch()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1886)                          |  🔐  |     POST    | `sapi/v1/account/enableFastWithdrawSwitch`                              |
| [getAccountStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1890)                                  |  🔐  |     GET     | `sapi/v1/account/status`                                                |
| [getApiTradingStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1894)                               |  🔐  |     GET     | `sapi/v1/account/apiTradingStatus`                                      |
| [getApiKeyPermissions()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1898)                              |  🔐  |     GET     | `sapi/v1/account/apiRestrictions`                                       |
| [withdrawTravelRule()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1914)                                |  🔐  |     POST    | `sapi/v1/localentity/withdraw/apply`                                    |
| [getTravelRuleWithdrawHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1925)                      |  🔐  |     GET     | `sapi/v1/localentity/withdraw/history`                                  |
| [getTravelRuleWithdrawHistoryV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1934)                    |  🔐  |     GET     | `sapi/v2/localentity/withdraw/history`                                  |
| [submitTravelRuleDepositQuestionnaire()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1946)              |  🔐  |     PUT     | `sapi/v1/localentity/deposit/provide-info`                              |
| [getTravelRuleDepositHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1955)                       |  🔐  |     GET     | `sapi/v1/localentity/deposit/history`                                   |
| [getOnboardedVASPList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1966)                              |  🔐  |     GET     | `sapi/v1/localentity/vasp`                                              |
| [getTravelRuleCountryList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1970)                          |  🔐  |     GET     | `sapi/v1/localentity/country/list`                                      |
| [getTravelRuleRegionList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1974)                           |  🔐  |     GET     | `sapi/v1/localentity/region/list`                                       |
| [getSystemStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1986)                                   |      |     GET     | `sapi/v1/system/status`                                                 |
| [getDelistSchedule()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L1990)                                 |  🔐  |     GET     | `sapi/v1/spot/delist-schedule`                                          |
| [createVirtualSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2000)                           |  🔐  |     POST    | `sapi/v1/sub-account/virtualSubAccount`                                 |
| [getSubAccountList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2006)                                 |  🔐  |     GET     | `sapi/v1/sub-account/list`                                              |
| [subAccountEnableFutures()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2012)                           |  🔐  |     POST    | `sapi/v1/sub-account/futures/enable`                                    |
| [subAccountEnableMargin()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2020)                            |  🔐  |     POST    | `sapi/v1/sub-account/margin/enable`                                     |
| [enableOptionsForSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2024)                        |  🔐  |     POST    | `sapi/v1/sub-account/eoptions/enable`                                   |
| [subAccountEnableLeverageToken()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2034)                     |  🔐  |     POST    | `sapi/v1/sub-account/blvt/enable`                                       |
| [getSubAccountStatusOnMarginOrFutures()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2040)              |  🔐  |     GET     | `sapi/v1/sub-account/status`                                            |
| [getSubAccountFuturesPositionRisk()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2046)                  |  🔐  |     GET     | `sapi/v1/sub-account/futures/positionRisk`                              |
| [getSubAccountFuturesPositionRiskV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2054)                |  🔐  |     GET     | `sapi/v2/sub-account/futures/positionRisk`                              |
| [getSubAccountTransactionStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2060)                |  🔐  |     GET     | `sapi/v1/sub-account/transaction-statistics`                            |
| [getSubAccountIPRestriction()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2075)                        |  🔐  |     GET     | `sapi/v1/sub-account/subAccountApi/ipRestriction`                       |
| [subAccountDeleteIPList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2084)                            |  🔐  |    DELETE   | `sapi/v1/sub-account/subAccountApi/ipRestriction/ipList`                |
| [subAccountAddIPRestriction()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2093)                        |  🔐  |     POST    | `sapi/v2/sub-account/subAccountApi/ipRestriction`                       |
| [subAccountAddIPList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2106)                               |  🔐  |     POST    | `sapi/v1/sub-account/subAccountApi/ipRestriction/ipList`                |
| [subAccountEnableOrDisableIPRestriction()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2119)            |  🔐  |     POST    | `sapi/v1/sub-account/subAccountApi/ipRestriction`                       |
| [subAccountFuturesTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2134)                         |  🔐  |     POST    | `sapi/v1/sub-account/futures/transfer`                                  |
| [getSubAccountFuturesAccountDetail()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2140)                 |  🔐  |     GET     | `sapi/v1/sub-account/futures/account`                                   |
| [getSubAccountDetailOnFuturesAccountV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2146)             |  🔐  |     GET     | `sapi/v2/sub-account/futures/account`                                   |
| [getSubAccountDetailOnMarginAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2152)                |  🔐  |     GET     | `sapi/v1/sub-account/margin/account`                                    |
| [getSubAccountDepositAddress()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2158)                       |  🔐  |     GET     | `sapi/v1/capital/deposit/subAddress`                                    |
| [getSubAccountDepositHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2164)                       |  🔐  |     GET     | `sapi/v1/capital/deposit/subHisrec`                                     |
| [getSubAccountFuturesAccountSummary()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2170)                |  🔐  |     GET     | `sapi/v1/sub-account/futures/accountSummary`                            |
| [getSubAccountSummaryOnFuturesAccountV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2174)            |  🔐  |     GET     | `sapi/v2/sub-account/futures/accountSummary`                            |
| [getSubAccountsSummaryOfMarginAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2183)              |  🔐  |     GET     | `sapi/v1/sub-account/margin/accountSummary`                             |
| [subAccountMarginTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2187)                          |  🔐  |     POST    | `sapi/v1/sub-account/margin/transfer`                                   |
| [getSubAccountAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2193)                               |  🔐  |     GET     | `sapi/v3/sub-account/assets`                                            |
| [getSubAccountAssetsMaster()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2199)                         |  🔐  |     GET     | `sapi/v4/sub-account/assets`                                            |
| [getSubAccountFuturesAssetTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2205)          |  🔐  |     GET     | `sapi/v1/sub-account/futures/internalTransfer`                          |
| [getSubAccountSpotAssetTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2214)             |  🔐  |     GET     | `sapi/v1/sub-account/sub/transfer/history`                              |
| [getSubAccountSpotAssetsSummary()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2220)                    |  🔐  |     GET     | `sapi/v1/sub-account/spotSummary`                                       |
| [getSubAccountUniversalTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2226)             |  🔐  |     GET     | `sapi/v1/sub-account/universalTransfer`                                 |
| [subAccountFuturesAssetTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2232)                    |  🔐  |     POST    | `sapi/v1/sub-account/futures/internalTransfer`                          |
| [subAccountTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2241)                         |  🔐  |     GET     | `sapi/v1/sub-account/transfer/subUserHistory`                           |
| [subAccountTransferToMaster()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2250)                        |  🔐  |     POST    | `sapi/v1/sub-account/transfer/subToMaster`                              |
| [subAccountTransferToSameMaster()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2256)                    |  🔐  |     POST    | `sapi/v1/sub-account/transfer/subToSub`                                 |
| [subAccountUniversalTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2262)                       |  🔐  |     POST    | `sapi/v1/sub-account/universalTransfer`                                 |
| [subAccountMovePosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2268)                            |  🔐  |     POST    | `sapi/v1/sub-account/futures/move-position`                             |
| [getSubAccountFuturesPositionMoveHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2277)           |  🔐  |     GET     | `sapi/v1/sub-account/futures/move-position`                             |
| [depositAssetsIntoManagedSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2292)                |  🔐  |     POST    | `sapi/v1/managed-subaccount/deposit`                                    |
| [getManagedSubAccountDepositAddress()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2298)                |  🔐  |     GET     | `sapi/v1/managed-subaccount/deposit/address`                            |
| [withdrawAssetsFromManagedSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2307)               |  🔐  |     POST    | `sapi/v1/managed-subaccount/withdraw`                                   |
| [getManagedSubAccountTransfersParent()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2313)               |  🔐  |     GET     | `sapi/v1/managed-subaccount/queryTransLogForTradeParent`                |
| [getManagedSubAccountTransferLog()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2325)                   |  🔐  |     GET     | `sapi/v1/managed-subaccount/query-trans-log`                            |
| [getManagedSubAccountTransfersInvestor()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2337)             |  🔐  |     GET     | `sapi/v1/managed-subaccount/queryTransLogForInvestor`                   |
| [getManagedSubAccounts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2349)                             |  🔐  |     GET     | `sapi/v1/managed-subaccount/info`                                       |
| [getManagedSubAccountSnapshot()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2356)                      |  🔐  |     GET     | `sapi/v1/managed-subaccount/accountSnapshot`                            |
| [getManagedSubAccountAssetDetails()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2365)                  |  🔐  |     GET     | `sapi/v1/managed-subaccount/asset`                                      |
| [getManagedSubAccountMarginAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2371)                  |  🔐  |     GET     | `sapi/v1/managed-subaccount/marginAsset`                                |
| [getManagedSubAccountFuturesAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2378)                 |  🔐  |     GET     | `sapi/v1/managed-subaccount/fetch-future-asset`                         |
| [getAutoInvestAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2394)                               |  🔐  |     GET     | `sapi/v1/lending/auto-invest/all/asset`                                 |
| [getAutoInvestSourceAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2401)                         |  🔐  |     GET     | `sapi/v1/lending/auto-invest/source-asset/list`                         |
| [getAutoInvestTargetAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2410)                         |  🔐  |     GET     | `sapi/v1/lending/auto-invest/target-asset/list`                         |
| [getAutoInvestTargetAssetsROI()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2419)                      |  🔐  |     GET     | `sapi/v1/lending/auto-invest/target-asset/roi/list`                     |
| [getAutoInvestIndex()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2428)                                |  🔐  |     GET     | `sapi/v1/lending/auto-invest/index/info`                                |
| [getAutoInvestPlans()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2434)                                |  🔐  |     GET     | `sapi/v1/lending/auto-invest/plan/list`                                 |
| [submitAutoInvestOneTimeTransaction()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2452)                |  🔐  |     POST    | `sapi/v1/lending/auto-invest/one-off`                                   |
| [updateAutoInvestPlanStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2468)                        |  🔐  |     POST    | `sapi/v1/lending/auto-invest/plan/edit-status`                          |
| [updateAutoInvestmentPlan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2477)                          |  🔐  |     POST    | `sapi/v1/lending/auto-invest/plan/edit`                                 |
| [submitAutoInvestRedemption()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2494)                        |  🔐  |     POST    | `sapi/v1/lending/auto-invest/redeem`                                    |
| [getAutoInvestSubscriptionTransactions()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2502)             |  🔐  |     GET     | `sapi/v1/lending/auto-invest/history/list`                              |
| [getOneTimeTransactionStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2508)                       |  🔐  |     GET     | `sapi/v1/lending/auto-invest/one-off/status`                            |
| [submitAutoInvestmentPlan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2517)                          |  🔐  |     POST    | `sapi/v1/lending/auto-invest/plan/add`                                  |
| [getAutoInvestRedemptionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2532)                    |  🔐  |     GET     | `sapi/v1/lending/auto-invest/redeem/history`                            |
| [getAutoInvestPlan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2541)                                 |  🔐  |     GET     | `sapi/v1/lending/auto-invest/plan/id`                                   |
| [getAutoInvestUserIndex()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2545)                            |  🔐  |     GET     | `sapi/v1/lending/auto-invest/index/user-summary`                        |
| [getAutoInvestRebalanceHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2554)                     |  🔐  |     GET     | `sapi/v1/lending/auto-invest/rebalance/history`                         |
| [getConvertPairs()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2569)                                   |  🔐  |     GET     | `sapi/v1/convert/exchangeInfo`                                          |
| [getConvertAssetInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2573)                               |  🔐  |     GET     | `sapi/v1/convert/assetInfo`                                             |
| [convertQuoteRequest()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2583)                               |  🔐  |     POST    | `sapi/v1/convert/getQuote`                                              |
| [acceptQuoteRequest()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2587)                                |  🔐  |     POST    | `sapi/v1/convert/acceptQuote`                                           |
| [getConvertTradeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2591)                            |  🔐  |     GET     | `sapi/v1/convert/tradeFlow`                                             |
| [getOrderStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2595)                                    |  🔐  |     GET     | `sapi/v1/convert/orderStatus`                                           |
| [submitConvertLimitOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2599)                           |  🔐  |     POST    | `sapi/v1/convert/limit/placeOrder`                                      |
| [cancelConvertLimitOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2603)                           |  🔐  |     POST    | `sapi/v1/convert/limit/cancelOrder`                                     |
| [getConvertLimitOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2607)                         |  🔐  |     GET     | `sapi/v1/convert/limit/queryOpenOrders`                                 |
| [getEthStakingAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2622)                              |  🔐  |     GET     | `sapi/v1/eth-staking/account`                                           |
| [getEthStakingAccountV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2626)                            |  🔐  |     GET     | `sapi/v2/eth-staking/account`                                           |
| [getEthStakingQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2630)                                |  🔐  |     GET     | `sapi/v1/eth-staking/eth/quota`                                         |
| [subscribeEthStakingV1()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2643)                             |  🔐  |     POST    | `sapi/v1/eth-staking/eth/stake`                                         |
| [subscribeEthStakingV2()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2649)                             |  🔐  |     POST    | `sapi/v2/eth-staking/eth/stake`                                         |
| [redeemEth()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2655)                                         |  🔐  |     POST    | `sapi/v1/eth-staking/eth/redeem`                                        |
| [wrapBeth()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2659)                                          |  🔐  |     POST    | `sapi/v1/eth-staking/wbeth/wrap`                                        |
| [getEthStakingHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2669)                              |  🔐  |     GET     | `sapi/v1/eth-staking/eth/history/stakingHistory`                        |
| [getEthRedemptionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2679)                           |  🔐  |     GET     | `sapi/v1/eth-staking/eth/history/redemptionHistory`                     |
| [getBethRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2689)                             |  🔐  |     GET     | `sapi/v1/eth-staking/eth/history/rewardsHistory`                        |
| [getWbethRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2699)                            |  🔐  |     GET     | `sapi/v1/eth-staking/eth/history/wbethRewardsHistory`                   |
| [getEthRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2708)                                 |  🔐  |     GET     | `sapi/v1/eth-staking/eth/history/rateHistory`                           |
| [getBethWrapHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2718)                                |  🔐  |     GET     | `sapi/v1/eth-staking/wbeth/history/wrapHistory`                         |
| [getBethUnwrapHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2728)                              |  🔐  |     GET     | `sapi/v1/eth-staking/wbeth/history/unwrapHistory`                       |
| [getBfusdAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2744)                                   |  🔐  |     GET     | `sapi/v1/bfusd/account`                                                 |
| [getBfusdQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2748)                                     |  🔐  |     GET     | `sapi/v1/bfusd/quota`                                                   |
| [subscribeBfusd()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2752)                                    |  🔐  |     POST    | `sapi/v1/bfusd/subscribe`                                               |
| [redeemBfusd()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2758)                                       |  🔐  |     POST    | `sapi/v1/bfusd/redeem`                                                  |
| [getBfusdSubscriptionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2762)                       |  🔐  |     GET     | `sapi/v1/bfusd/history/subscriptionHistory`                             |
| [getBfusdRedemptionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2768)                         |  🔐  |     GET     | `sapi/v1/bfusd/history/redemptionHistory`                               |
| [getBfusdRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2774)                            |  🔐  |     GET     | `sapi/v1/bfusd/history/rewardsHistory`                                  |
| [getBfusdRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2780)                               |  🔐  |     GET     | `sapi/v1/bfusd/history/rateHistory`                                     |
| [getRwusdAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2792)                                   |  🔐  |     GET     | `sapi/v1/rwusd/account`                                                 |
| [getRwusdQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2796)                                     |  🔐  |     GET     | `sapi/v1/rwusd/quota`                                                   |
| [subscribeRwusd()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2800)                                    |  🔐  |     POST    | `sapi/v1/rwusd/subscribe`                                               |
| [redeemRwusd()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2806)                                       |  🔐  |     POST    | `sapi/v1/rwusd/redeem`                                                  |
| [getRwusdSubscriptionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2810)                       |  🔐  |     GET     | `sapi/v1/rwusd/history/subscriptionHistory`                             |
| [getRwusdRedemptionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2816)                         |  🔐  |     GET     | `sapi/v1/rwusd/history/redemptionHistory`                               |
| [getRwusdRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2822)                            |  🔐  |     GET     | `sapi/v1/rwusd/history/rewardsHistory`                                  |
| [getRwusdRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2828)                               |  🔐  |     GET     | `sapi/v1/rwusd/history/rateHistory`                                     |
| [getStakingProducts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2837)                                |  🔐  |     GET     | `sapi/v1/staking/productList`                                           |
| [getStakingProductPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2848)                         |  🔐  |     GET     | `sapi/v1/staking/position`                                              |
| [getStakingHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2860)                                 |  🔐  |     GET     | `sapi/v1/staking/stakingRecord`                                         |
| [getPersonalLeftQuotaOfStakingProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2867)              |  🔐  |     GET     | `sapi/v1/staking/personalLeftQuota`                                     |
| [getSolStakingAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2880)                              |  🔐  |     GET     | `sapi/v1/sol-staking/account`                                           |
| [getSolStakingQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2884)                                |  🔐  |     GET     | `sapi/v1/sol-staking/sol/quota`                                         |
| [subscribeSolStaking()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2894)                               |  🔐  |     POST    | `sapi/v1/sol-staking/sol/stake`                                         |
| [redeemSol()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2900)                                         |  🔐  |     POST    | `sapi/v1/sol-staking/sol/redeem`                                        |
| [claimSolBoostRewards()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2904)                              |  🔐  |     POST    | `sapi/v1/sol-staking/sol/claim`                                         |
| [getSolStakingHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2916)                              |  🔐  |     GET     | `sapi/v1/sol-staking/sol/history/stakingHistory`                        |
| [getSolRedemptionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2926)                           |  🔐  |     GET     | `sapi/v1/sol-staking/sol/history/redemptionHistory`                     |
| [getBnsolRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2936)                            |  🔐  |     GET     | `sapi/v1/sol-staking/sol/history/bnsolRewardsHistory`                   |
| [getBnsolRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2947)                               |  🔐  |     GET     | `sapi/v1/sol-staking/sol/history/rateHistory`                           |
| [getSolBoostRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2957)                         |  🔐  |     GET     | `sapi/v1/sol-staking/sol/history/boostRewardsHistory`                   |
| [getSolUnclaimedRewards()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2967)                            |  🔐  |     GET     | `sapi/v1/sol-staking/sol/history/unclaimedRewards`                      |
| [getOnchainYieldsLockedProducts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2982)                    |  🔐  |     GET     | `sapi/v1/onchain-yields/locked/list`                                    |
| [getOnchainYieldsLockedPersonalLeftQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2988)           |  🔐  |     GET     | `sapi/v1/onchain-yields/locked/personalLeftQuota`                       |
| [getOnchainYieldsLockedPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L2997)                    |  🔐  |     GET     | `sapi/v1/onchain-yields/locked/position`                                |
| [getOnchainYieldsAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3003)                           |  🔐  |     GET     | `sapi/v1/onchain-yields/account`                                        |
| [getOnchainYieldsLockedSubscriptionPreview()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3013)         |  🔐  |     GET     | `sapi/v1/onchain-yields/locked/subscriptionPreview`                     |
| [subscribeOnchainYieldsLockedProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3022)               |  🔐  |     POST    | `sapi/v1/onchain-yields/locked/subscribe`                               |
| [setOnchainYieldsLockedAutoSubscribe()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3028)               |  🔐  |     POST    | `sapi/v1/onchain-yields/locked/setAutoSubscribe`                        |
| [setOnchainYieldsLockedRedeemOption()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3037)                |  🔐  |     POST    | `sapi/v1/onchain-yields/locked/setRedeemOption`                         |
| [redeemOnchainYieldsLockedProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3046)                  |  🔐  |     POST    | `sapi/v1/onchain-yields/locked/redeem`                                  |
| [getOnchainYieldsLockedSubscriptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3058)          |  🔐  |     GET     | `sapi/v1/onchain-yields/locked/history/subscriptionRecord`              |
| [getOnchainYieldsLockedRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3067)              |  🔐  |     GET     | `sapi/v1/onchain-yields/locked/history/rewardsRecord`                   |
| [getOnchainYieldsLockedRedemptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3076)            |  🔐  |     GET     | `sapi/v1/onchain-yields/locked/history/redemptionRecord`                |
| [getSoftStakingProductList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3091)                         |  🔐  |     GET     | `sapi/v1/soft-staking/list`                                             |
| [setSoftStaking()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3097)                                    |  🔐  |     GET     | `sapi/v1/soft-staking/set`                                              |
| [getSoftStakingRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3103)                      |  🔐  |     GET     | `sapi/v1/soft-staking/history/rewardsRecord`                            |
| [getFuturesLeadTraderStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3118)                        |  🔐  |     GET     | `sapi/v1/copyTrading/futures/userStatus`                                |
| [getFuturesLeadTradingSymbolWhitelist()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3122)              |  🔐  |     GET     | `sapi/v1/copyTrading/futures/leadSymbol`                                |
| [getMiningAlgos()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3134)                                    |      |     GET     | `sapi/v1/mining/pub/algoList`                                           |
| [getMiningCoins()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3138)                                    |      |     GET     | `sapi/v1/mining/pub/coinList`                                           |
| [getHashrateResales()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3142)                                |  🔐  |     GET     | `sapi/v1/mining/hash-transfer/config/details/list`                      |
| [getMiners()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3151)                                         |  🔐  |     GET     | `sapi/v1/mining/worker/list`                                            |
| [getMinerDetails()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3155)                                   |  🔐  |     GET     | `sapi/v1/mining/worker/detail`                                          |
| [getExtraBonuses()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3161)                                   |  🔐  |     GET     | `sapi/v1/mining/payment/other`                                          |
| [getMiningEarnings()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3167)                                 |  🔐  |     GET     | `sapi/v1/mining/payment/list`                                           |
| [cancelHashrateResaleConfig()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3173)                        |  🔐  |     POST    | `sapi/v1/mining/hash-transfer/config/cancel`                            |
| [getHashrateResale()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3182)                                 |  🔐  |     GET     | `sapi/v1/mining/hash-transfer/profit/details`                           |
| [getMiningAccountEarnings()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3191)                          |  🔐  |     GET     | `sapi/v1/mining/payment/uid`                                            |
| [getMiningStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3197)                               |  🔐  |     GET     | `sapi/v1/mining/statistics/user/status`                                 |
| [submitHashrateResale()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3203)                              |  🔐  |     POST    | `sapi/v1/mining/hash-transfer/config`                                   |
| [getMiningAccounts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3207)                                 |  🔐  |     GET     | `sapi/v1/mining/statistics/user/list`                                   |
| [submitVpNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3219)                                  |  🔐  |     POST    | `sapi/v1/algo/futures/newOrderVp`                                       |
| [submitTwapNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3226)                                |  🔐  |     POST    | `sapi/v1/algo/futures/newOrderTwap`                                     |
| [cancelAlgoOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3233)                                   |  🔐  |    DELETE   | `sapi/v1/algo/futures/order`                                            |
| [getAlgoSubOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3239)                                  |  🔐  |     GET     | `sapi/v1/algo/futures/subOrders`                                        |
| [getAlgoOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3245)                                 |  🔐  |     GET     | `sapi/v1/algo/futures/openOrders`                                       |
| [getAlgoHistoricalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3252)                           |  🔐  |     GET     | `sapi/v1/algo/futures/historicalOrders`                                 |
| [submitSpotAlgoTwapOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3265)                           |  🔐  |     POST    | `sapi/v1/algo/spot/newOrderTwap`                                        |
| [cancelSpotAlgoOrder()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3272)                               |  🔐  |    DELETE   | `sapi/v1/algo/spot/order`                                               |
| [getSpotAlgoSubOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3278)                              |  🔐  |     GET     | `sapi/v1/algo/spot/subOrders`                                           |
| [getSpotAlgoOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3284)                             |  🔐  |     GET     | `sapi/v1/algo/spot/openOrders`                                          |
| [getSpotAlgoHistoricalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3291)                       |  🔐  |     GET     | `sapi/v1/algo/spot/historicalOrders`                                    |
| [getCryptoLoanFlexibleCollateralAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3306)             |  🔐  |     GET     | `sapi/v2/loan/flexible/collateral/data`                                 |
| [getCryptoLoanFlexibleAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3315)                       |  🔐  |     GET     | `sapi/v2/loan/flexible/loanable/data`                                   |
| [borrowCryptoLoanFlexible()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3328)                          |  🔐  |     POST    | `sapi/v2/loan/flexible/borrow`                                          |
| [repayCryptoLoanFlexible()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3334)                           |  🔐  |     POST    | `sapi/v2/loan/flexible/repay`                                           |
| [repayCryptoLoanFlexibleWithCollateral()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3340)             |  🔐  |     POST    | `sapi/v2/loan/flexible/repay/collateral`                                |
| [adjustCryptoLoanFlexibleLTV()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3346)                       |  🔐  |     POST    | `sapi/v2/loan/flexible/adjust/ltv`                                      |
| [getCryptoLoanFlexibleLTVAdjustmentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3358)         |  🔐  |     GET     | `sapi/v2/loan/flexible/ltv/adjustment/history`                          |
| [getFlexibleLoanCollateralRepayRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3370)                |  🔐  |     GET     | `sapi/v2/loan/flexible/repay/rate`                                      |
| [getLoanFlexibleBorrowHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3381)                      |  🔐  |     GET     | `sapi/v2/loan/flexible/borrow/history`                                  |
| [getCryptoLoanFlexibleOngoingOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3390)                |  🔐  |     GET     | `sapi/v2/loan/flexible/ongoing/orders`                                  |
| [getFlexibleLoanLiquidationHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3399)                 |  🔐  |     GET     | `sapi/v2/loan/flexible/liquidation/history`                             |
| [getLoanFlexibleRepaymentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3408)                   |  🔐  |     GET     | `sapi/v2/loan/flexible/repay/history`                                   |
| [getCryptoLoanLoanableAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3426)                       |  🔐  |     GET     | `sapi/v1/loan/loanable/data`                                            |
| [getCryptoLoanCollateralRepayRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3433)                  |  🔐  |     GET     | `sapi/v1/loan/repay/collateral/rate`                                    |
| [getCryptoLoanCollateralAssetsData()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3442)                 |  🔐  |     GET     | `sapi/v1/loan/collateral/data`                                          |
| [getCryptoLoansIncomeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3451)                       |  🔐  |     GET     | `sapi/v1/loan/income`                                                   |
| [borrowCryptoLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3466)                                  |  🔐  |     POST    | `sapi/v1/loan/borrow`                                                   |
| [repayCryptoLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3475)                                   |  🔐  |     POST    | `sapi/v1/loan/repay`                                                    |
| [adjustCryptoLoanLTV()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3484)                               |  🔐  |     POST    | `sapi/v1/loan/adjust/ltv`                                               |
| [customizeCryptoLoanMarginCall()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3493)                     |  🔐  |     POST    | `sapi/v1/loan/customize/margin_call`                                    |
| [getCryptoLoanOngoingOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3509)                        |  🔐  |     GET     | `sapi/v1/loan/ongoing/orders`                                           |
| [getCryptoLoanBorrowHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3516)                        |  🔐  |     GET     | `sapi/v1/loan/borrow/history`                                           |
| [getCryptoLoanLTVAdjustmentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3523)                 |  🔐  |     GET     | `sapi/v1/loan/ltv/adjustment/history`                                   |
| [getCryptoLoanRepaymentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3532)                     |  🔐  |     GET     | `sapi/v1/loan/repay/history`                                            |
| [getSimpleEarnAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3544)                              |  🔐  |     GET     | `sapi/v1/simple-earn/account`                                           |
| [getFlexibleSavingProducts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3548)                         |  🔐  |     GET     | `sapi/v1/simple-earn/flexible/list`                                     |
| [getSimpleEarnLockedProductList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3555)                    |  🔐  |     GET     | `sapi/v1/simple-earn/locked/list`                                       |
| [getFlexibleProductPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3564)                        |  🔐  |     GET     | `sapi/v1/simple-earn/flexible/position`                                 |
| [getLockedProductPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3573)                          |  🔐  |     GET     | `sapi/v1/simple-earn/locked/position`                                   |
| [getFlexiblePersonalLeftQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3582)                      |  🔐  |     GET     | `sapi/v1/simple-earn/flexible/personalLeftQuota`                        |
| [getLockedPersonalLeftQuota()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3591)                        |  🔐  |     GET     | `sapi/v1/simple-earn/locked/personalLeftQuota`                          |
| [purchaseFlexibleProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3606)                           |  🔐  |     POST    | `sapi/v1/simple-earn/flexible/subscribe`                                |
| [subscribeSimpleEarnLockedProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3612)                  |  🔐  |     POST    | `sapi/v1/simple-earn/locked/subscribe`                                  |
| [redeemFlexibleProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3618)                             |  🔐  |     POST    | `sapi/v1/simple-earn/flexible/redeem`                                   |
| [redeemLockedProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3624)                               |  🔐  |     POST    | `sapi/v1/simple-earn/locked/redeem`                                     |
| [setFlexibleAutoSubscribe()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3630)                          |  🔐  |     POST    | `sapi/v1/simple-earn/flexible/setAutoSubscribe`                         |
| [setLockedAutoSubscribe()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3639)                            |  🔐  |     POST    | `sapi/v1/simple-earn/locked/setAutoSubscribe`                           |
| [getFlexibleSubscriptionPreview()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3648)                    |  🔐  |     GET     | `sapi/v1/simple-earn/flexible/subscriptionPreview`                      |
| [getLockedSubscriptionPreview()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3657)                      |  🔐  |     GET     | `sapi/v1/simple-earn/locked/subscriptionPreview`                        |
| [setLockedProductRedeemOption()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3666)                      |  🔐  |     POST    | `sapi/v1/simple-earn/locked/setRedeemOption`                            |
| [getFlexibleSubscriptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3684)                     |  🔐  |     GET     | `sapi/v1/simple-earn/flexible/history/subscriptionRecord`               |
| [getLockedSubscriptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3696)                       |  🔐  |     GET     | `sapi/v1/simple-earn/locked/history/subscriptionRecord`                 |
| [getFlexibleRedemptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3708)                       |  🔐  |     GET     | `sapi/v1/simple-earn/flexible/history/redemptionRecord`                 |
| [getLockedRedemptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3720)                         |  🔐  |     GET     | `sapi/v1/simple-earn/locked/history/redemptionRecord`                   |
| [getFlexibleRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3730)                         |  🔐  |     GET     | `sapi/v1/simple-earn/flexible/history/rewardsRecord`                    |
| [getLockedRewardsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3740)                           |  🔐  |     GET     | `sapi/v1/simple-earn/locked/history/rewardsRecord`                      |
| [getCollateralRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3750)                               |  🔐  |     GET     | `sapi/v1/simple-earn/flexible/history/collateralRecord`                 |
| [getRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3760)                                    |  🔐  |     GET     | `sapi/v1/simple-earn/flexible/history/rateHistory`                      |
| [getVipBorrowInterestRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3776)                          |  🔐  |     GET     | `sapi/v1/loan/vip/request/interestRate`                                 |
| [getVipLoanInterestRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3782)                     |  🔐  |     GET     | `sapi/v1/loan/vip/interestRateHistory`                                  |
| [getVipLoanableAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3791)                              |  🔐  |     GET     | `sapi/v1/loan/vip/loanable/data`                                        |
| [getVipCollateralAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3798)                            |  🔐  |     GET     | `sapi/v1/loan/vip/collateral/data`                                      |
| [getVipLoanOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3811)                              |  🔐  |     GET     | `sapi/v1/loan/vip/ongoing/orders`                                       |
| [getVipLoanRepaymentHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3818)                        |  🔐  |     GET     | `sapi/v1/loan/vip/repay/history`                                        |
| [checkVipCollateralAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3827)                         |  🔐  |     GET     | `sapi/v1/loan/vip/collateral/account`                                   |
| [getVipApplicationStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3834)                           |  🔐  |     GET     | `sapi/v1/loan/vip/request/data`                                         |
| [renewVipLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3847)                                      |  🔐  |     POST    | `sapi/v1/loan/vip/renew`                                                |
| [repayVipLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3851)                                      |  🔐  |     POST    | `sapi/v1/loan/vip/repay`                                                |
| [borrowVipLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3855)                                     |  🔐  |     POST    | `sapi/v1/loan/vip/borrow`                                               |
| [getVipLoanFixedRateMarket()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3859)                         |  🔐  |     GET     | `sapi/v1/loan/vip/fixed/market`                                         |
| [borrowVipLoanFixedRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3866)                            |  🔐  |     POST    | `sapi/v1/loan/vip/fixed/borrow`                                         |
| [getDualInvestmentProducts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3878)                         |  🔐  |     GET     | `sapi/v1/dci/product/list`                                              |
| [subscribeDualInvestmentProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3893)                    |  🔐  |     POST    | `sapi/v1/dci/product/subscribe`                                         |
| [getDualInvestmentPositions()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3899)                        |  🔐  |     GET     | `sapi/v1/dci/product/positions`                                         |
| [getDualInvestmentAccounts()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3908)                         |  🔐  |     GET     | `sapi/v1/dci/product/accounts`                                          |
| [getVipLoanAccruedInterest()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3912)                         |  🔐  |     GET     | `sapi/v1/loan/vip/accruedInterest`                                      |
| [updateAutoCompoundStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3919)                          |  🔐  |     POST    | `sapi/v1/dci/product/auto_compound/edit-status`                         |
| [createGiftCard()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3934)                                    |  🔐  |     POST    | `sapi/v1/giftcard/createCode`                                           |
| [createDualTokenGiftCard()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3938)                           |  🔐  |     POST    | `sapi/v1/giftcard/buyCode`                                              |
| [redeemGiftCard()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3942)                                    |  🔐  |     POST    | `sapi/v1/giftcard/redeemCode`                                           |
| [verifyGiftCard()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3946)                                    |  🔐  |     GET     | `sapi/v1/giftcard/verify`                                               |
| [getTokenLimit()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3950)                                     |  🔐  |     GET     | `sapi/v1/giftcard/buyCode/token-limit`                                  |
| [getRsaPublicKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3954)                                   |  🔐  |     GET     | `sapi/v1/giftcard/cryptography/rsa-public-key`                          |
| [getNftTransactionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3964)                          |  🔐  |     GET     | `sapi/v1/nft/history/transactions`                                      |
| [getNftDepositHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3971)                              |  🔐  |     GET     | `sapi/v1/nft/history/deposit`                                           |
| [getNftWithdrawHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3978)                             |  🔐  |     GET     | `sapi/v1/nft/history/withdraw`                                          |
| [getNftAsset()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3985)                                       |  🔐  |     GET     | `sapi/v1/nft/user/getAsset`                                             |
| [getC2CTradeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L3998)                                |  🔐  |     GET     | `sapi/v1/c2c/orderMatch/listUserOrderHistory`                           |
| [getFiatOrderHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4013)                               |  🔐  |     GET     | `sapi/v1/fiat/orders`                                                   |
| [getFiatPaymentsHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4019)                            |  🔐  |     GET     | `sapi/v1/fiat/payments`                                                 |
| [fiatWithdraw()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4025)                                      |  🔐  |     POST    | `/sapi/v2/fiat/withdraw`                                                |
| [fiatDeposit()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4029)                                       |  🔐  |     POST    | `sapi/v1/fiat/deposit`                                                  |
| [getFiatOrderDetail()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4033)                                |  🔐  |     GET     | `sapi/v1/fiat/get-order-detail`                                         |
| [getSpotRebateHistoryRecords()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4045)                       |  🔐  |     GET     | `sapi/v1/rebate/taxQuery`                                               |
| [getPortfolioMarginIndexPrice()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4058)                      |      |     GET     | `sapi/v1/portfolio/asset-index-price`                                   |
| [getPortfolioMarginAssetLeverage()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4064)                   |  🔐  |     GET     | `sapi/v1/portfolio/margin-asset-leverage`                               |
| [getPortfolioMarginProCollateralRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4070)               |      |     GET     | `sapi/v1/portfolio/collateralRate`                                      |
| [getPortfolioMarginProTieredCollateralRate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4076)         |      |     GET     | `sapi/v2/portfolio/collateralRate`                                      |
| [getPortfolioMarginProAccountInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4087)                  |  🔐  |     GET     | `sapi/v1/portfolio/account`                                             |
| [setPortfolioMarginMarginCallLevel()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4091)                 |  🔐  |     POST    | `sapi/v1/portfolio/margin-call-level`                                   |
| [getPortfolioMarginMarginCallLevel()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4097)                 |  🔐  |     GET     | `sapi/v1/portfolio/margin-call-level`                                   |
| [deletePortfolioMarginMarginCallLevel()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4101)              |  🔐  |    DELETE   | `sapi/v1/portfolio/margin-call-level`                                   |
| [bnbTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4105)                                       |  🔐  |     POST    | `sapi/v1/portfolio/bnb-transfer`                                        |
| [submitPortfolioMarginProFullTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4111)              |  🔐  |     POST    | `sapi/v1/portfolio/auto-collection`                                     |
| [submitPortfolioMarginProSpecificTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4117)          |  🔐  |     POST    | `sapi/v1/portfolio/asset-collection`                                    |
| [repayPortfolioMarginProBankruptcyLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4123)             |  🔐  |     POST    | `sapi/v1/portfolio/repay`                                               |
| [getPortfolioMarginProBankruptcyLoanAmount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4131)         |  🔐  |     GET     | `sapi/v1/portfolio/pmLoan`                                              |
| [repayFuturesNegativeBalance()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4135)                       |  🔐  |     POST    | `sapi/v1/portfolio/repay-futures-negative-balance`                      |
| [updateAutoRepayFuturesStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4141)                      |  🔐  |     POST    | `sapi/v1/portfolio/repay-futures-switch`                                |
| [getAutoRepayFuturesStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4147)                         |  🔐  |     GET     | `sapi/v1/portfolio/repay-futures-switch`                                |
| [getPortfolioMarginProInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4153)              |  🔐  |     GET     | `sapi/v1/portfolio/interest-history`                                    |
| [getPortfolioMarginProSpanAccountInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4159)              |  🔐  |     GET     | `sapi/v2/portfolio/account`                                             |
| [getPortfolioMarginProAccountBalance()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4163)               |  🔐  |     GET     | `sapi/v1/portfolio/balance`                                             |
| [mintPortfolioMarginBFUSD()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4173)                          |  🔐  |     POST    | `sapi/v1/portfolio/mint`                                                |
| [redeemPortfolioMarginBFUSD()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4183)                        |  🔐  |     POST    | `sapi/v1/portfolio/redeem`                                              |
| [getPortfolioMarginBankruptcyLoanRepayHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4191)      |  🔐  |     GET     | `sapi/v1/portfolio/pmLoan-history`                                      |
| [transferLDUSDTPortfolioMargin()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4206)                     |  🔐  |     POST    | `sapi/v1/portfolio/earn-asset-transfer`                                 |
| [getTransferableEarnAssetBalanceForPortfolioMargin()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4219) |  🔐  |     GET     | `sapi/v1/portfolio/earn-asset-balance`                                  |
| [getFuturesTickLevelOrderbookDataLink()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4236)              |  🔐  |     GET     | `sapi/v1/futures/histDataLink`                                          |
| [getBlvtInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4250)                                       |      |     GET     | `sapi/v1/blvt/tokenInfo`                                                |
| [subscribeBlvt()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4254)                                     |  🔐  |     POST    | `sapi/v1/blvt/subscribe`                                                |
| [getBlvtSubscriptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4258)                         |  🔐  |     GET     | `sapi/v1/blvt/subscribe/record`                                         |
| [redeemBlvt()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4264)                                        |  🔐  |     POST    | `sapi/v1/blvt/redeem`                                                   |
| [getBlvtRedemptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4268)                           |  🔐  |     GET     | `sapi/v1/blvt/redeem/record`                                            |
| [getBlvtUserLimitInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4274)                              |  🔐  |     GET     | `sapi/v1/blvt/userLimit`                                                |
| [getPayTransactions()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4285)                                |  🔐  |     GET     | `sapi/v1/pay/transactions`                                              |
| [getInstLoanRiskUnit()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4295)                               |  🔐  |     GET     | `sapi/v1/margin/loan-group/ltv-details`                                 |
| [closeInstLoanRiskUnit()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4301)                             |  🔐  |    DELETE   | `sapi/v1/margin/loan-group`                                             |
| [addInstLoanCollateralAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4305)                      |  🔐  |     POST    | `sapi/v1/margin/loan-group/edit-member`                                 |
| [getActiveInstLoanRiskUnits()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4311)                        |  🔐  |     GET     | `sapi/v1/margin/loan-groups/activated`                                  |
| [getClosedInstLoanRiskUnits()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4315)                        |  🔐  |     GET     | `sapi/v1/margin/loan-groups/closed`                                     |
| [getInstLoanForceLiquidationRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4327)                 |  🔐  |     GET     | `sapi/v1/margin/loan-group/force-liquidation`                           |
| [transferInstLoanRiskUnit()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4341)                          |  🔐  |     POST    | `sapi/v1/margin/loan-group/transfer-out`                                |
| [getInstitutionalLoanMaxBorrowable()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4353)                 |  🔐  |     GET     | `sapi/v1/margin/loan-group/max-borrowable`                              |
| [borrowInstitutionalLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4359)                           |  🔐  |     POST    | `sapi/v1/margin/loan-group/borrow`                                      |
| [getInstLoanInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4365)                        |  🔐  |     GET     | `sapi/v1/margin/loan-group/interest-history`                            |
| [repayInstitutionalLoan()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4374)                            |  🔐  |     POST    | `sapi/v1/margin/loan-group/repay`                                       |
| [getInstLoanBorrowRepayRecords()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4380)                     |  🔐  |     GET     | `sapi/v1/margin/loan-group/borrow-repay`                                |
| [getMarginInterestRebateBalance()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4386)                    |  🔐  |     GET     | `sapi/v1/margin/loan-group/interest-rebate-balance`                     |
| [getMarginInterestRebateBalanceRecords()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4390)             |  🔐  |     GET     | `sapi/v1/margin/loan-group/interest-rebate-balance/records`             |
| [getAlphaTokenList()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4405)                                 |      |     GET     | `bapi/defi/v1/public/wallet-direct/buw/wallet/cex/alpha/all/token/list` |
| [getAlphaExchangeInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4412)                              |      |     GET     | `bapi/defi/v1/public/alpha-trade/get-exchange-info`                     |
| [getAlphaAggTrades()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4419)                                 |      |     GET     | `bapi/defi/v1/public/alpha-trade/agg-trades`                            |
| [getAlphaKlines()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4427)                                    |      |     GET     | `bapi/defi/v1/public/alpha-trade/klines`                                |
| [getAlphaTicker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4435)                                    |      |     GET     | `bapi/defi/v1/public/alpha-trade/ticker`                                |
| [getAlphaFullDepth()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4443)                                 |      |     GET     | `bapi/defi/v1/public/alpha-trade/fullDepth`                             |
| [createBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4459)                            |  🔐  |     POST    | `sapi/v1/broker/subAccount`                                             |
| [getBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4465)                               |  🔐  |     GET     | `sapi/v1/broker/subAccount`                                             |
| [enableMarginBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4471)                      |  🔐  |     POST    | `sapi/v1/broker/subAccount/futures`                                     |
| [createApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4477)                      |  🔐  |     POST    | `sapi/v1/broker/subAccountApi`                                          |
| [changePermissionApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4483)            |  🔐  |     POST    | `sapi/v1/broker/subAccountApi/permission`                               |
| [changeComissionBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4489)                   |  🔐  |     POST    | `sapi/v1/broker/subAccountApi/permission`                               |
| [enableUniversalTransferApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4495)     |  🔐  |     POST    | `sapi/v1/broker/subAccountApi/permission/universalTransfer`             |
| [updateIpRestrictionForSubAccountApiKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4504)            |  🔐  |     POST    | `sapi/v2/broker/subAccountApi/ipRestriction`                            |
| [deleteIPRestrictionForSubAccountApiKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4518)            |  🔐  |    DELETE   | `sapi/v1/broker/subAccountApi/ipRestriction/ipList`                     |
| [deleteApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4534)                      |  🔐  |    DELETE   | `sapi/v1/broker/subAccountApi`                                          |
| [getSubAccountBrokerIpRestriction()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4540)                  |  🔐  |     GET     | `sapi/v1/broker/subAccountApi/ipRestriction`                            |
| [getApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4556)                         |  🔐  |     GET     | `sapi/v1/broker/subAccountApi`                                          |
| [getBrokerInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4562)                                     |  🔐  |     GET     | `sapi/v1/broker/info`                                                   |
| [updateSubAccountBNBBurn()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4566)                           |  🔐  |     POST    | `sapi/v1/broker/subAccount/bnbBurn/spot`                                |
| [updateSubAccountMarginInterestBNBBurn()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4576)             |  🔐  |     POST    | `sapi/v1/broker/subAccount/bnbBurn/marginInterest`                      |
| [getSubAccountBNBBurnStatus()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4589)                        |  🔐  |     GET     | `sapi/v1/broker/subAccount/bnbBurn/status`                              |
| [deleteBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4605)                            |  🔐  |    DELETE   | `/sapi/v1/broker/subAccount`                                            |
| [transferBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4615)                          |  🔐  |     POST    | `sapi/v1/broker/transfer`                                               |
| [getBrokerSubAccountHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4621)                        |  🔐  |     GET     | `sapi/v1/broker/transfer`                                               |
| [submitBrokerSubFuturesTransfer()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4627)                    |  🔐  |     POST    | `sapi/v1/broker/transfer/futures`                                       |
| [getSubAccountFuturesTransferHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4642)               |  🔐  |     GET     | `sapi/v1/broker/transfer/futures`                                       |
| [getBrokerSubDepositHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4654)                        |  🔐  |     GET     | `sapi/v1/broker/subAccount/depositHist`                                 |
| [getBrokerSubAccountSpotAssets()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4660)                     |  🔐  |     GET     | `sapi/v1/broker/subAccount/spotSummary`                                 |
| [getSubAccountMarginAssetInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4669)                      |  🔐  |     GET     | `sapi/v1/broker/subAccount/marginSummary`                               |
| [querySubAccountFuturesAssetInfo()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4678)                   |  🔐  |     GET     | `sapi/v3/broker/subAccount/futuresSummary`                              |
| [universalTransferBroker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4687)                           |  🔐  |     POST    | `sapi/v1/broker/universalTransfer`                                      |
| [getUniversalTransferBroker()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4694)                        |  🔐  |     GET     | `sapi/v1/broker/universalTransfer`                                      |
| [updateBrokerSubAccountCommission()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4706)                  |  🔐  |     POST    | `sapi/v1/broker/subAccountApi/commission`                               |
| [updateBrokerSubAccountFuturesCommission()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4712)           |  🔐  |     POST    | `sapi/v1/broker/subAccountApi/commission/futures`                       |
| [getBrokerSubAccountFuturesCommission()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4721)              |  🔐  |     GET     | `sapi/v1/broker/subAccountApi/commission/futures`                       |
| [updateBrokerSubAccountCoinFuturesCommission()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4730)       |  🔐  |     POST    | `sapi/v1/broker/subAccountApi/commission/coinFutures`                   |
| [getBrokerSubAccountCoinFuturesCommission()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4739)          |  🔐  |     GET     | `sapi/v1/broker/subAccountApi/commission/coinFutures`                   |
| [getBrokerSpotCommissionRebate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4748)                     |  🔐  |     GET     | `sapi/v1/broker/rebate/recentRecord`                                    |
| [getBrokerFuturesCommissionRebate()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4754)                  |  🔐  |     GET     | `sapi/v1/broker/rebate/futures/recentRecord`                            |
| [getBrokerIfNewSpotUser()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4791)                            |  🔐  |     GET     | `sapi/v1/apiReferral/ifNewUser`                                         |
| [getBrokerSubAccountDepositHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4802)                 |  🔐  |     GET     | `sapi/v1/bv1/apiReferral/ifNewUser`                                     |
| [enableFuturesBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4821)                     |  🔐  |     POST    | `sapi/v1/broker/subAccount`                                             |
| [enableMarginApiKeyBrokerSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4831)                |  🔐  |     POST    | `sapi/v1/broker/subAccount/margin`                                      |
| [getSpotUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4872)                          |      |     POST    | `api/v3/userDataStream`                                                 |
| [keepAliveSpotUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4876)                    |      |     PUT     | `api/v3/userDataStream?listenKey=${listenKey}`                          |
| [closeSpotUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4880)                        |      |    DELETE   | `api/v3/userDataStream?listenKey=${listenKey}`                          |
| [getMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4887)                        |      |     POST    | `sapi/v1/userDataStream`                                                |
| [keepAliveMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4891)                  |      |     PUT     | `sapi/v1/userDataStream?listenKey=${listenKey}`                         |
| [closeMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4895)                      |      |    DELETE   | `sapi/v1/userDataStream?listenKey=${listenKey}`                         |
| [getIsolatedMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4900)                |      |     POST    | `sapi/v1/userDataStream/isolated?${serialiseParams(params`              |
| [keepAliveIsolatedMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4908)          |      |     PUT     | `sapi/v1/userDataStream/isolated?${serialiseParams(params`              |
| [closeIsolatedMarginUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4917)              |      |    DELETE   | `sapi/v1/userDataStream/isolated?${serialiseParams(params`              |
| [getMarginRiskUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4929)                    |      |     POST    | `sapi/v1/margin/listen-key`                                             |
| [keepAliveMarginRiskUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4933)              |      |     PUT     | `sapi/v1/margin/listen-key?listenKey=${listenKey}`                      |
| [closeMarginRiskUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4937)                  |      |    DELETE   | `sapi/v1/margin/listen-key`                                             |
| [getMarginListenToken()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4945)                              |  🔐  |     POST    | `sapi/v1/userListenToken`                                               |
| [getBSwapLiquidity()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4967)                                 |  🔐  |     GET     | `sapi/v1/bswap/liquidity`                                               |
| [addBSwapLiquidity()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4974)                                 |  🔐  |     POST    | `sapi/v1/bswap/liquidityAdd`                                            |
| [removeBSwapLiquidity()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4983)                              |  🔐  |     POST    | `sapi/v1/bswap/liquidityRemove`                                         |
| [getBSwapOperations()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L4992)                                |  🔐  |     GET     | `sapi/v1/bswap/liquidityOps`                                            |
| [getLeftDailyPurchaseQuotaFlexibleProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L5007)          |  🔐  |     GET     | `sapi/v1/lending/daily/userLeftQuota`                                   |
| [getLeftDailyRedemptionQuotaFlexibleProduct()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L5016)        |  🔐  |     GET     | `sapi/v1/lending/daily/userRedemptionQuota`                             |
| [purchaseFixedAndActivityProject()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L5030)                   |  🔐  |     POST    | `sapi/v1/lending/customizedFixed/purchase`                              |
| [getFixedAndActivityProjects()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L5040)                       |  🔐  |     GET     | `sapi/v1/lending/project/list`                                          |
| [getFixedAndActivityProductPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L5049)                |  🔐  |     GET     | `sapi/v1/lending/project/position/list`                                 |
| [getLendingAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L5058)                                 |  🔐  |     GET     | `sapi/v1/lending/union/account`                                         |
| [getPurchaseRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L5065)                                 |  🔐  |     GET     | `sapi/v1/lending/union/purchaseRecord`                                  |
| [getRedemptionRecord()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L5072)                               |  🔐  |     GET     | `sapi/v1/lending/union/redemptionRecord`                                |
| [getInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L5079)                                |  🔐  |     GET     | `sapi/v1/lending/union/interestHistory`                                 |
| [changeFixedAndActivityPositionToDailyPosition()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L5086)     |  🔐  |     POST    | `sapi/v1/lending/positionChanged`                                       |
| [enableConvertSubAccount()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L5103)                           |  🔐  |     POST    | `sapi/v1/broker/subAccount/convert`                                     |
| [convertBUSD()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L5111)                                       |  🔐  |     POST    | `sapi/v1/asset/convert-transfer`                                        |
| [getConvertBUSDHistory()](https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L5118)                             |  🔐  |     GET     | `sapi/v1/asset/convert-transfer/queryByPage`                            |

### usdm-client.ts

This table includes all endpoints from the official Exchange API docs and corresponding SDK functions for each endpoint that are found in [usdm-client.ts](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts).

| Function                                                                                                                  | AUTH | HTTP Method | Endpoint                                   |
| ------------------------------------------------------------------------------------------------------------------------- | :--: | :---------: | ------------------------------------------ |
| [testConnectivity()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L142)                         |      |     GET     | `fapi/v1/ping`                             |
| [getExchangeInfo()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L146)                          |      |     GET     | `fapi/v1/exchangeInfo`                     |
| [getOrderBook()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L150)                             |      |     GET     | `fapi/v1/depth`                            |
| [getRpiOrderBook()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L154)                          |      |     GET     | `fapi/v1/rpiDepth`                         |
| [getRecentTrades()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L161)                          |      |     GET     | `fapi/v1/trades`                           |
| [getHistoricalTrades()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L165)                      |      |     GET     | `fapi/v1/historicalTrades`                 |
| [getAggregateTrades()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L171)                       |      |     GET     | `fapi/v1/aggTrades`                        |
| [getKlines()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L177)                                |      |     GET     | `fapi/v1/klines`                           |
| [getContinuousContractKlines()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L181)              |      |     GET     | `fapi/v1/continuousKlines`                 |
| [getIndexPriceKlines()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L187)                      |      |     GET     | `fapi/v1/indexPriceKlines`                 |
| [getMarkPriceKlines()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L191)                       |      |     GET     | `fapi/v1/markPriceKlines`                  |
| [getPremiumIndexKlines()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L195)                    |      |     GET     | `fapi/v1/premiumIndexKlines`               |
| [getMarkPrice()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L199)                             |      |     GET     | `fapi/v1/premiumIndex`                     |
| [getFundingRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L207)                    |      |     GET     | `fapi/v1/fundingRate`                      |
| [getFundingRates()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L213)                          |      |     GET     | `fapi/v1/fundingInfo`                      |
| [get24hrChangeStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L217)                  |      |     GET     | `fapi/v1/ticker/24hr`                      |
| [getSymbolPriceTicker()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L227)                     |      |     GET     | `fapi/v1/ticker/price`                     |
| [getSymbolPriceTickerV2()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L237)                   |      |     GET     | `fapi/v2/ticker/price`                     |
| [getSymbolOrderBookTicker()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L247)                 |      |     GET     | `fapi/v1/ticker/bookTicker`                |
| [getQuarterlyContractSettlementPrices()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L259)     |      |     GET     | `futures/data/delivery-price`              |
| [getOpenInterest()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L265)                          |      |     GET     | `fapi/v1/openInterest`                     |
| [getOpenInterestStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L269)                |      |     GET     | `futures/data/openInterestHist`            |
| [getTopTradersLongShortPositionRatio()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L275)      |      |     GET     | `futures/data/topLongShortPositionRatio`   |
| [getTopTradersLongShortAccountRatio()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L281)       |      |     GET     | `futures/data/topLongShortAccountRatio`    |
| [getGlobalLongShortAccountRatio()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L287)           |      |     GET     | `futures/data/globalLongShortAccountRatio` |
| [getTakerBuySellVolume()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L293)                    |      |     GET     | `futures/data/takerlongshortRatio`         |
| [getHistoricalBlvtNavKlines()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L297)               |      |     GET     | `fapi/v1/lvtKlines`                        |
| [getCompositeSymbolIndex()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L301)                  |      |     GET     | `fapi/v1/indexInfo`                        |
| [getMultiAssetsModeAssetIndex()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L305)             |      |     GET     | `fapi/v1/assetIndex`                       |
| [getBasis()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L312)                                 |      |     GET     | `futures/data/basis`                       |
| [getIndexPriceConstituents()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L316)                |      |     GET     | `fapi/v1/constituents`                     |
| [getInsuranceFundBalance()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L322)                  |      |     GET     | `fapi/v1/insuranceBalance`                 |
| [getTradingSchedule()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L328)                       |      |     GET     | `fapi/v1/tradingSchedule`                  |
| [submitNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L338)                           |  🔐  |     POST    | `fapi/v1/order`                            |
| [submitMultipleOrders()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L350)                     |  🔐  |     POST    | `fapi/v1/batchOrders`                      |
| [modifyOrder()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L379)                              |  🔐  |     PUT     | `fapi/v1/order`                            |
| [modifyMultipleOrders()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L385)                     |  🔐  |     PUT     | `fapi/v1/batchOrders`                      |
| [getOrderModifyHistory()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L393)                    |  🔐  |     GET     | `fapi/v1/orderAmendment`                   |
| [cancelOrder()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L399)                              |  🔐  |    DELETE   | `fapi/v1/order`                            |
| [cancelMultipleOrders()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L403)                     |  🔐  |    DELETE   | `fapi/v1/batchOrders`                      |
| [cancelAllOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L423)                      |  🔐  |    DELETE   | `fapi/v1/allOpenOrders`                    |
| [setCancelOrdersOnTimeout()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L430)                 |  🔐  |     POST    | `fapi/v1/countdownCancelAll`               |
| [getOrder()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L436)                                 |  🔐  |     GET     | `fapi/v1/order`                            |
| [getAllOrders()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L440)                             |  🔐  |     GET     | `fapi/v1/allOrders`                        |
| [getAllOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L444)                         |  🔐  |     GET     | `fapi/v1/openOrders`                       |
| [getCurrentOpenOrder()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L448)                      |  🔐  |     GET     | `fapi/v1/openOrder`                        |
| [getForceOrders()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L452)                           |  🔐  |     GET     | `fapi/v1/forceOrders`                      |
| [getAccountTrades()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L456)                         |  🔐  |     GET     | `fapi/v1/userTrades`                       |
| [setMarginType()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L462)                            |  🔐  |     POST    | `fapi/v1/marginType`                       |
| [setPositionMode()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L466)                          |  🔐  |     POST    | `fapi/v1/positionSide/dual`                |
| [setLeverage()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L470)                              |  🔐  |     POST    | `fapi/v1/leverage`                         |
| [setMultiAssetsMode()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L474)                       |  🔐  |     POST    | `fapi/v1/multiAssetsMargin`                |
| [setIsolatedPositionMargin()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L480)                |  🔐  |     POST    | `fapi/v1/positionMargin`                   |
| [getPositions()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L490)                             |  🔐  |     GET     | `fapi/v2/positionRisk`                     |
| [getPositionsV3()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L494)                           |  🔐  |     GET     | `fapi/v3/positionRisk`                     |
| [getADLQuantileEstimation()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L498)                 |  🔐  |     GET     | `fapi/v1/adlQuantile`                      |
| [getSymbolAdlRisk()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L502)                         |      |     GET     | `fapi/v1/symbolAdlRisk`                    |
| [getPositionMarginChangeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L512)           |  🔐  |     GET     | `fapi/v1/positionMargin/history`           |
| [getBalanceV3()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L524)                             |  🔐  |     GET     | `fapi/v3/balance`                          |
| [getBalance()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L532)                               |  🔐  |     GET     | `fapi/v2/balance`                          |
| [getAccountInformationV3()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L536)                  |  🔐  |     GET     | `fapi/v3/account`                          |
| [getAccountInformation()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L544)                    |  🔐  |     GET     | `fapi/v2/account`                          |
| [getAccountCommissionRate()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L548)                 |  🔐  |     GET     | `fapi/v1/commissionRate`                   |
| [getFuturesAccountConfig()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L554)                  |  🔐  |     GET     | `fapi/v1/accountConfig`                    |
| [getFuturesSymbolConfig()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L558)                   |  🔐  |     GET     | `fapi/v1/symbolConfig`                     |
| [getUserForceOrders()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L562)                       |  🔐  |     GET     | `fapi/v1/rateLimit/order`                  |
| [getNotionalAndLeverageBrackets()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L569)           |  🔐  |     GET     | `fapi/v1/leverageBracket`                  |
| [getMultiAssetsMode()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L575)                       |  🔐  |     GET     | `fapi/v1/multiAssetsMargin`                |
| [getCurrentPositionMode()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L579)                   |  🔐  |     GET     | `fapi/v1/positionSide/dual`                |
| [getIncomeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L583)                         |  🔐  |     GET     | `fapi/v1/income`                           |
| [getApiQuantitativeRulesIndicators()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L587)        |  🔐  |     GET     | `fapi/v1/apiTradingStatus`                 |
| [getFuturesTransactionHistoryDownloadId()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L593)   |  🔐  |     GET     | `fapi/v1/income/asyn`                      |
| [getFuturesTransactionHistoryDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L600) |  🔐  |     GET     | `fapi/v1/income/asyn/id`                   |
| [getFuturesOrderHistoryDownloadId()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L606)         |  🔐  |     GET     | `fapi/v1/order/asyn`                       |
| [getFuturesOrderHistoryDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L613)       |  🔐  |     GET     | `fapi/v1/order/asyn/id`                    |
| [getFuturesTradeHistoryDownloadId()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L619)         |  🔐  |     GET     | `fapi/v1/trade/asyn`                       |
| [getFuturesTradeDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L626)              |  🔐  |     GET     | `fapi/v1/trade/asyn/id`                    |
| [setBNBBurnEnabled()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L632)                        |  🔐  |     POST    | `fapi/v1/feeBurn`                          |
| [getBNBBurnStatus()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L638)                         |  🔐  |     GET     | `fapi/v1/feeBurn`                          |
| [signTradFiPerpsAgreement()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L644)                 |  🔐  |     POST    | `fapi/v1/stock/contract`                   |
| [testOrder()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L648)                                |  🔐  |     POST    | `fapi/v1/order/test`                       |
| [submitNewAlgoOrder()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L660)                       |  🔐  |     POST    | `fapi/v1/algoOrder`                        |
| [cancelAlgoOrder()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L667)                          |  🔐  |    DELETE   | `fapi/v1/algoOrder`                        |
| [cancelAllAlgoOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L673)                  |  🔐  |    DELETE   | `fapi/v1/algoOpenOrders`                   |
| [getAlgoOrder()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L679)                             |  🔐  |     GET     | `fapi/v1/algoOrder`                        |
| [getOpenAlgoOrders()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L685)                        |  🔐  |     GET     | `fapi/v1/openAlgoOrders`                   |
| [getAllAlgoOrders()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L691)                         |  🔐  |     GET     | `fapi/v1/allAlgoOrders`                    |
| [getAllConvertPairs()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L703)                       |      |     GET     | `fapi/v1/convert/exchangeInfo`             |
| [submitConvertQuoteRequest()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L710)                |  🔐  |     POST    | `fapi/v1/convert/getQuote`                 |
| [acceptConvertQuote()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L716)                       |  🔐  |     POST    | `fapi/v1/convert/acceptQuote`              |
| [getConvertOrderStatus()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L724)                    |  🔐  |     GET     | `fapi/v1/convert/orderStatus`              |
| [getPortfolioMarginProAccountInfo()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L737)         |  🔐  |     GET     | `fapi/v1/pmAccountInfo`                    |
| [getBrokerIfNewFuturesUser()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L754)                |  🔐  |     GET     | `fapi/v1/apiReferral/ifNewUser`            |
| [setBrokerCustomIdForClient()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L767)               |  🔐  |     POST    | `fapi/v1/apiReferral/customization`        |
| [getBrokerClientCustomIds()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L780)                 |  🔐  |     GET     | `fapi/v1/apiReferral/customization`        |
| [getBrokerUserCustomId()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L797)                    |  🔐  |     GET     | `fapi/v1/apiReferral/userCustomization`    |
| [getBrokerRebateDataOverview()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L806)              |  🔐  |     GET     | `fapi/v1/apiReferral/overview`             |
| [getBrokerUserTradeVolume()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L815)                 |  🔐  |     GET     | `fapi/v1/apiReferral/tradeVol`             |
| [getBrokerRebateVolume()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L832)                    |  🔐  |     GET     | `fapi/v1/apiReferral/rebateVol`            |
| [getBrokerTradeDetail()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L849)                     |  🔐  |     GET     | `fapi/v1/apiReferral/traderSummary`        |
| [getFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L871)              |      |     POST    | `fapi/v1/listenKey`                        |
| [keepAliveFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L875)        |      |     PUT     | `fapi/v1/listenKey`                        |
| [closeFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/usdm-client.ts#L879)            |      |    DELETE   | `fapi/v1/listenKey`                        |

### coinm-client.ts

This table includes all endpoints from the official Exchange API docs and corresponding SDK functions for each endpoint that are found in [coinm-client.ts](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts).

| Function                                                                                                                    | AUTH | HTTP Method | Endpoint                                   |
| --------------------------------------------------------------------------------------------------------------------------- | :--: | :---------: | ------------------------------------------ |
| [testConnectivity()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L127)                          |      |     GET     | `dapi/v1/ping`                             |
| [getExchangeInfo()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L131)                           |      |     GET     | `dapi/v1/exchangeInfo`                     |
| [getOrderBook()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L135)                              |      |     GET     | `dapi/v1/depth`                            |
| [getRecentTrades()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L139)                           |      |     GET     | `dapi/v1/trades`                           |
| [getHistoricalTrades()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L143)                       |      |     GET     | `dapi/v1/historicalTrades`                 |
| [getAggregateTrades()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L149)                        |      |     GET     | `dapi/v1/aggTrades`                        |
| [getMarkPrice()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L158)                              |      |     GET     | `dapi/v1/premiumIndex`                     |
| [getFundingRateHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L162)                     |      |     GET     | `dapi/v1/fundingRate`                      |
| [getFundingRate()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L168)                            |      |     GET     | `dapi/v1/fundingInfo`                      |
| [getKlines()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L172)                                 |      |     GET     | `dapi/v1/klines`                           |
| [getContinuousContractKlines()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L176)               |      |     GET     | `dapi/v1/continuousKlines`                 |
| [getIndexPriceKlines()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L182)                       |      |     GET     | `dapi/v1/indexPriceKlines`                 |
| [getMarkPriceKlines()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L186)                        |      |     GET     | `dapi/v1/markPriceKlines`                  |
| [getPremiumIndexKlines()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L190)                     |      |     GET     | `dapi/v1/premiumIndexKlines`               |
| [get24hrChangeStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L194)                   |      |     GET     | `dapi/v1/ticker/24hr`                      |
| [getSymbolPriceTicker()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L201)                      |      |     GET     | `dapi/v1/ticker/price`                     |
| [getSymbolOrderBookTicker()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L208)                  |      |     GET     | `dapi/v1/ticker/bookTicker`                |
| [getOpenInterest()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L217)                           |      |     GET     | `dapi/v1/openInterest`                     |
| [getOpenInterestStatistics()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L221)                 |      |     GET     | `futures/data/openInterestHist`            |
| [getTopTradersLongShortAccountRatio()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L225)        |      |     GET     | `futures/data/topLongShortAccountRatio`    |
| [getTopTradersLongShortPositionRatio()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L231)       |      |     GET     | `futures/data/topLongShortPositionRatio`   |
| [getGlobalLongShortAccountRatio()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L237)            |      |     GET     | `futures/data/globalLongShortAccountRatio` |
| [getTakerBuySellVolume()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L243)                     |      |     GET     | `futures/data/takerBuySellVol`             |
| [getCompositeSymbolIndex()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L249)                   |      |     GET     | `futures/data/basis`                       |
| [getIndexPriceConstituents()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L257)                 |      |     GET     | `dapi/v1/constituents`                     |
| [getQuarterlyContractSettlementPrices()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L267)      |      |     GET     | `futures/data/delivery-price`              |
| [submitNewOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L279)                            |  🔐  |     POST    | `dapi/v1/order`                            |
| [submitMultipleOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L289)                      |  🔐  |     POST    | `dapi/v1/batchOrders`                      |
| [modifyOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L306)                               |  🔐  |     PUT     | `dapi/v1/order`                            |
| [modifyMultipleOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L315)                      |  🔐  |     PUT     | `dapi/v1/batchOrders`                      |
| [getOrderModifyHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L328)                     |  🔐  |     GET     | `dapi/v1/orderAmendment`                   |
| [cancelOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L334)                               |  🔐  |    DELETE   | `dapi/v1/order`                            |
| [cancelMultipleOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L338)                      |  🔐  |    DELETE   | `dapi/v1/batchOrders`                      |
| [cancelAllOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L358)                       |  🔐  |    DELETE   | `dapi/v1/allOpenOrders`                    |
| [setCancelOrdersOnTimeout()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L365)                  |  🔐  |     POST    | `dapi/v1/countdownCancelAll`               |
| [getOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L371)                                  |  🔐  |     GET     | `dapi/v1/order`                            |
| [getAllOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L375)                              |  🔐  |     GET     | `dapi/v1/allOrders`                        |
| [getAllOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L379)                          |  🔐  |     GET     | `dapi/v1/openOrders`                       |
| [getCurrentOpenOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L383)                       |  🔐  |     GET     | `dapi/v1/openOrder`                        |
| [submitNewAlgoOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L394)                        |  🔐  |     POST    | `dapi/v1/algoOrder`                        |
| [cancelAlgoOrder()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L401)                           |  🔐  |    DELETE   | `dapi/v1/algoOrder`                        |
| [getOpenAlgoOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L407)                         |  🔐  |     GET     | `dapi/v1/openAlgoOrders`                   |
| [getForceOrders()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L413)                            |  🔐  |     GET     | `dapi/v1/forceOrders`                      |
| [getAccountTrades()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L417)                          |  🔐  |     GET     | `dapi/v1/userTrades`                       |
| [getPositions()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L423)                              |  🔐  |     GET     | `dapi/v1/positionRisk`                     |
| [setPositionMode()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L430)                           |  🔐  |     POST    | `dapi/v1/positionSide/dual`                |
| [setMarginType()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L434)                             |  🔐  |     POST    | `dapi/v1/marginType`                       |
| [setLeverage()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L438)                               |  🔐  |     POST    | `dapi/v1/leverage`                         |
| [getADLQuantileEstimation()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L442)                  |  🔐  |     GET     | `dapi/v1/adlQuantile`                      |
| [setIsolatedPositionMargin()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L446)                 |  🔐  |     POST    | `dapi/v1/positionMargin`                   |
| [getPositionMarginChangeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L452)            |  🔐  |     GET     | `dapi/v1/positionMargin/history`           |
| [getBalance()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L463)                                |  🔐  |     GET     | `dapi/v1/balance`                          |
| [getAccountCommissionRate()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L467)                  |  🔐  |     GET     | `dapi/v1/commissionRate`                   |
| [getAccountInformation()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L473)                     |  🔐  |     GET     | `dapi/v1/account`                          |
| [getNotionalAndLeverageBrackets()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L480)            |  🔐  |     GET     | `dapi/v2/leverageBracket`                  |
| [getCurrentPositionMode()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L489)                    |  🔐  |     GET     | `dapi/v1/positionSide/dual`                |
| [getIncomeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L493)                          |  🔐  |     GET     | `dapi/v1/income`                           |
| [getDownloadIdForFuturesTransactionHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L497) |  🔐  |     GET     | `dapi/v1/income/asyn`                      |
| [getFuturesTransactionHistoryDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L507)  |  🔐  |     GET     | `dapi/v1/income/asyn/id`                   |
| [getDownloadIdForFuturesOrderHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L513)       |  🔐  |     GET     | `dapi/v1/order/asyn`                       |
| [getFuturesOrderHistoryDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L523)        |  🔐  |     GET     | `dapi/v1/order/asyn/id`                    |
| [getDownloadIdForFuturesTradeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L529)       |  🔐  |     GET     | `dapi/v1/trade/asyn`                       |
| [getFuturesTradeHistoryDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L539)        |  🔐  |     GET     | `dapi/v1/trade/asyn/id`                    |
| [getClassicPortfolioMarginAccount()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L551)          |  🔐  |     GET     | `dapi/v1/pmAccountInfo`                    |
| [getClassicPortfolioMarginNotionalLimits()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L560)   |  🔐  |     GET     | `dapi/v1/pmExchangeInfo`                   |
| [getBrokerIfNewFuturesUser()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L579)                 |  🔐  |     GET     | `dapi/v1/apiReferral/ifNewUser`            |
| [setBrokerCustomIdForClient()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L592)                |  🔐  |     POST    | `dapi/v1/apiReferral/customization`        |
| [getBrokerClientCustomIds()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L605)                  |  🔐  |     GET     | `dapi/v1/apiReferral/customization`        |
| [getBrokerUserCustomId()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L622)                     |  🔐  |     GET     | `dapi/v1/apiReferral/userCustomization`    |
| [getBrokerRebateDataOverview()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L631)               |  🔐  |     GET     | `dapi/v1/apiReferral/overview`             |
| [getBrokerUserTradeVolume()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L640)                  |  🔐  |     GET     | `dapi/v1/apiReferral/tradeVol`             |
| [getBrokerRebateVolume()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L657)                     |  🔐  |     GET     | `dapi/v1/apiReferral/rebateVol`            |
| [getBrokerTradeDetail()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L674)                      |  🔐  |     GET     | `dapi/v1/apiReferral/traderSummary`        |
| [getFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L694)               |      |     POST    | `dapi/v1/listenKey`                        |
| [keepAliveFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L698)         |      |     PUT     | `dapi/v1/listenKey`                        |
| [closeFuturesUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/coinm-client.ts#L702)             |      |    DELETE   | `dapi/v1/listenKey`                        |

### portfolio-client.ts

This table includes all endpoints from the official Exchange API docs and corresponding SDK functions for each endpoint that are found in [portfolio-client.ts](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts).

| Function                                                                                                                         | AUTH | HTTP Method | Endpoint                                 |
| -------------------------------------------------------------------------------------------------------------------------------- | :--: | :---------: | ---------------------------------------- |
| [testConnectivity()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L167)                           |      |     GET     | `papi/v1/ping`                           |
| [signTradFiPerpsContract()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L171)                    |  🔐  |     POST    | `papi/v1/um/stock/contract`              |
| [submitNewUMOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L181)                           |  🔐  |     POST    | `papi/v1/um/order`                       |
| [submitNewUMConditionalOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L191)                |  🔐  |     POST    | `papi/v1/um/conditional/order`           |
| [submitNewUMAlgoOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L198)                       |  🔐  |     POST    | `papi/v1/um/algo/order`                  |
| [submitNewCMOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L205)                           |  🔐  |     POST    | `papi/v1/cm/order`                       |
| [submitNewCMConditionalOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L212)                |  🔐  |     POST    | `papi/v1/cm/conditional/order`           |
| [submitNewMarginOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L219)                       |  🔐  |     POST    | `papi/v1/margin/order`                   |
| [submitMarginLoan()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L226)                           |  🔐  |     POST    | `papi/v1/marginLoan`                     |
| [submitMarginRepay()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L232)                          |  🔐  |     POST    | `papi/v1/repayLoan`                      |
| [submitNewMarginOCO()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L238)                         |  🔐  |     POST    | `papi/v1/margin/order/oco`               |
| [cancelUMOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L247)                              |  🔐  |    DELETE   | `papi/v1/um/order`                       |
| [cancelAllUMOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L253)                          |  🔐  |    DELETE   | `papi/v1/um/allOpenOrders`               |
| [cancelUMConditionalOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L263)                   |  🔐  |    DELETE   | `papi/v1/um/conditional/order`           |
| [cancelUMAlgoOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L269)                          |  🔐  |    DELETE   | `papi/v1/um/algo/order`                  |
| [cancelAllUMConditionalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L278)               |  🔐  |    DELETE   | `papi/v1/um/conditional/allOpenOrders`   |
| [cancelAllUMAlgoOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L285)                  |  🔐  |    DELETE   | `papi/v1/um/algo/allOpenOrders`          |
| [cancelCMOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L291)                              |  🔐  |    DELETE   | `papi/v1/cm/order`                       |
| [cancelAllCMOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L297)                          |  🔐  |    DELETE   | `papi/v1/cm/allOpenOrders`               |
| [cancelCMConditionalOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L304)                   |  🔐  |    DELETE   | `papi/v1/cm/conditional/order`           |
| [cancelAllCMConditionalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L310)               |  🔐  |    DELETE   | `papi/v1/cm/conditional/allOpenOrders`   |
| [cancelMarginOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L317)                          |  🔐  |    DELETE   | `papi/v1/margin/order`                   |
| [cancelMarginOCO()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L323)                            |  🔐  |    DELETE   | `papi/v1/margin/orderList`               |
| [cancelAllMarginOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L329)                      |  🔐  |    DELETE   | `papi/v1/margin/allOpenOrders`           |
| [modifyUMOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L335)                              |  🔐  |     PUT     | `papi/v1/um/order`                       |
| [modifyCMOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L341)                              |  🔐  |     PUT     | `papi/v1/cm/order`                       |
| [getUMOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L347)                                 |  🔐  |     GET     | `papi/v1/um/order`                       |
| [getAllUMOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L351)                             |  🔐  |     GET     | `papi/v1/um/allOrders`                   |
| [getUMOpenOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L357)                             |  🔐  |     GET     | `papi/v1/um/openOrder`                   |
| [getAllUMOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L363)                         |  🔐  |     GET     | `papi/v1/um/openOrders`                  |
| [getAllUMConditionalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L370)                  |  🔐  |     GET     | `papi/v1/um/conditional/allOrders`       |
| [getAllUMAlgoOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L376)                         |  🔐  |     GET     | `papi/v1/um/algo/allAlgoOrders`          |
| [getUMOpenConditionalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L385)                 |  🔐  |     GET     | `papi/v1/um/conditional/openOrders`      |
| [getUMAlgoOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L391)                        |  🔐  |     GET     | `papi/v1/um/algo/openAlgoOrders`         |
| [getUMOpenConditionalOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L400)                  |  🔐  |     GET     | `papi/v1/um/conditional/openOrder`       |
| [getUMAlgoOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L406)                             |  🔐  |     GET     | `papi/v1/um/algo/algoOrder`              |
| [getUMConditionalOrderHistory()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L415)               |  🔐  |     GET     | `papi/v1/um/conditional/orderHistory`    |
| [getCMOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L421)                                 |  🔐  |     GET     | `papi/v1/cm/order`                       |
| [getAllCMOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L425)                             |  🔐  |     GET     | `papi/v1/cm/allOrders`                   |
| [getCMOpenOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L431)                             |  🔐  |     GET     | `papi/v1/cm/openOrder`                   |
| [getAllCMOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L437)                         |  🔐  |     GET     | `papi/v1/cm/openOrders`                  |
| [getCMOpenConditionalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L444)                 |  🔐  |     GET     | `papi/v1/cm/conditional/openOrders`      |
| [getCMOpenConditionalOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L450)                  |  🔐  |     GET     | `papi/v1/cm/conditional/openOrder`       |
| [getAllCMConditionalOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L458)                  |  🔐  |     GET     | `papi/v1/cm/conditional/allOrders`       |
| [getCMConditionalOrderHistory()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L464)               |  🔐  |     GET     | `papi/v1/cm/conditional/orderHistory`    |
| [getUMForceOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L470)                           |  🔐  |     GET     | `papi/v1/um/forceOrders`                 |
| [getCMForceOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L476)                           |  🔐  |     GET     | `papi/v1/cm/forceOrders`                 |
| [getUMOrderModificationHistory()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L482)              |  🔐  |     GET     | `papi/v1/um/orderAmendment`              |
| [getCMOrderModificationHistory()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L488)              |  🔐  |     GET     | `papi/v1/cm/orderAmendment`              |
| [getMarginForceOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L494)                       |  🔐  |     GET     | `papi/v1/margin/forceOrders`             |
| [getUMTrades()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L501)                                |  🔐  |     GET     | `papi/v1/um/userTrades`                  |
| [getCMTrades()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L505)                                |  🔐  |     GET     | `papi/v1/cm/userTrades`                  |
| [getUMADLQuantile()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L509)                           |  🔐  |     GET     | `papi/v1/um/adlQuantile`                 |
| [getCMADLQuantile()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L518)                           |  🔐  |     GET     | `papi/v1/cm/adlQuantile`                 |
| [toggleUMFeeBurn()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L527)                            |  🔐  |     POST    | `papi/v1/um/feeBurn`                     |
| [getUMFeeBurnStatus()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L533)                         |  🔐  |     GET     | `papi/v1/um/feeBurn`                     |
| [getMarginOrder()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L537)                             |  🔐  |     GET     | `papi/v1/margin/order`                   |
| [getMarginOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L543)                        |  🔐  |     GET     | `papi/v1/margin/openOrders`              |
| [getAllMarginOrders()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L549)                         |  🔐  |     GET     | `papi/v1/margin/allOrders`               |
| [getMarginOCO()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L555)                               |  🔐  |     GET     | `papi/v1/margin/orderList`               |
| [getAllMarginOCO()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L561)                            |  🔐  |     GET     | `papi/v1/margin/allOrderList`            |
| [getMarginOpenOCO()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L567)                           |  🔐  |     GET     | `papi/v1/margin/openOrderList`           |
| [getMarginTrades()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L571)                            |  🔐  |     GET     | `papi/v1/margin/myTrades`                |
| [repayMarginDebt()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L577)                            |  🔐  |     POST    | `papi/v1/margin/repay-debt`              |
| [getBalance()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L589)                                 |  🔐  |     GET     | `papi/v1/balance`                        |
| [getAccountInfo()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L593)                             |  🔐  |     GET     | `papi/v1/account`                        |
| [getMarginMaxBorrow()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L597)                         |  🔐  |     GET     | `papi/v1/margin/maxBorrowable`           |
| [getMarginMaxWithdraw()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L604)                       |  🔐  |     GET     | `papi/v1/margin/maxWithdraw`             |
| [getUMPosition()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L610)                              |  🔐  |     GET     | `papi/v1/um/positionRisk`                |
| [getCMPosition()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L614)                              |  🔐  |     GET     | `papi/v1/cm/positionRisk`                |
| [updateUMLeverage()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L621)                           |  🔐  |     POST    | `papi/v1/um/leverage`                    |
| [updateCMLeverage()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L629)                           |  🔐  |     POST    | `papi/v1/cm/leverage`                    |
| [updateUMPositionMode()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L637)                       |  🔐  |     POST    | `papi/v1/um/positionSide/dual`           |
| [updateCMPositionMode()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L646)                       |  🔐  |     POST    | `papi/v1/cm/positionSide/dual`           |
| [getUMPositionMode()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L655)                          |  🔐  |     GET     | `papi/v1/um/positionSide/dual`           |
| [getCMPositionMode()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L661)                          |  🔐  |     GET     | `papi/v1/cm/positionSide/dual`           |
| [getUMLeverageBrackets()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L667)                      |  🔐  |     GET     | `papi/v1/um/leverageBracket`             |
| [getCMLeverageBrackets()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L677)                      |  🔐  |     GET     | `papi/v1/cm/leverageBracket`             |
| [getUMTradingStatus()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L686)                         |  🔐  |     GET     | `papi/v1/um/apiTradingStatus`            |
| [getUMCommissionRate()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L692)                        |  🔐  |     GET     | `papi/v1/um/commissionRate`              |
| [getCMCommissionRate()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L700)                        |  🔐  |     GET     | `papi/v1/cm/commissionRate`              |
| [getMarginLoanRecords()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L708)                       |  🔐  |     GET     | `papi/v1/margin/marginLoan`              |
| [getMarginRepayRecords()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L715)                      |  🔐  |     GET     | `papi/v1/margin/repayLoan`               |
| [getAutoRepayFuturesStatus()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L722)                  |  🔐  |     GET     | `papi/v1/repay-futures-switch`           |
| [updateAutoRepayFuturesStatus()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L728)               |  🔐  |     POST    | `papi/v1/repay-futures-switch`           |
| [getMarginInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L736)                   |  🔐  |     GET     | `papi/v1/margin/marginInterestHistory`   |
| [repayFuturesNegativeBalance()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L743)                |  🔐  |     POST    | `papi/v1/repay-futures-negative-balance` |
| [getPortfolioNegativeBalanceInterestHistory()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L749) |  🔐  |     GET     | `papi/v1/portfolio/interest-history`     |
| [autoCollectFunds()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L755)                           |  🔐  |     POST    | `papi/v1/auto-collection`                |
| [transferAssetFuturesMargin()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L761)                 |  🔐  |     POST    | `papi/v1/asset-collection`               |
| [transferBNB()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L767)                                |  🔐  |     POST    | `papi/v1/bnb-transfer`                   |
| [getUMIncomeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L776)                         |  🔐  |     GET     | `papi/v1/um/income`                      |
| [getCMIncomeHistory()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L782)                         |  🔐  |     GET     | `papi/v1/cm/income`                      |
| [getUMAccount()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L788)                               |  🔐  |     GET     | `papi/v1/um/account`                     |
| [getCMAccount()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L795)                               |  🔐  |     GET     | `papi/v1/cm/account`                     |
| [getUMAccountConfig()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L802)                         |  🔐  |     GET     | `papi/v1/um/accountConfig`               |
| [getUMSymbolConfig()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L806)                          |  🔐  |     GET     | `papi/v1/um/symbolConfig`                |
| [getUMAccountV2()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L812)                             |  🔐  |     GET     | `papi/v2/um/account`                     |
| [getUMTradeHistoryDownloadId()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L819)                |  🔐  |     GET     | `papi/v1/um/trade/asyn`                  |
| [getUMTradeDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L829)                     |  🔐  |     GET     | `papi/v1/um/trade/asyn/id`               |
| [getUMOrderHistoryDownloadId()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L835)                |  🔐  |     GET     | `papi/v1/um/order/asyn`                  |
| [getUMOrderDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L845)                     |  🔐  |     GET     | `papi/v1/um/order/asyn/id`               |
| [getUMTransactionHistoryDownloadId()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L851)          |  🔐  |     GET     | `papi/v1/um/income/asyn`                 |
| [getUMTransactionDownloadLink()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L861)               |  🔐  |     GET     | `papi/v1/um/income/asyn/id`              |
| [getPMUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L900)                     |      |     POST    | `papi/v1/listenKey`                      |
| [keepAlivePMUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L904)               |      |     PUT     | `papi/v1/listenKey`                      |
| [closePMUserDataListenKey()](https://github.com/tiagosiebler/binance/blob/master/src/portfolio-client.ts#L908)                   |      |    DELETE   | `papi/v1/listenKey`                      |

### websocket-api-client.ts

This table includes all endpoints from the official Exchange API docs and corresponding SDK functions for each endpoint that are found in [websocket-api-client.ts](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts).

This client provides WebSocket API endpoints which allow for faster interactions with the Binance API via a WebSocket connection.

| Function                                                                                                                   | AUTH | HTTP Method | Endpoint                     |
| -------------------------------------------------------------------------------------------------------------------------- | :--: | :---------: | ---------------------------- |
| [disconnectAll()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L263)                    |      |      WS     | `ping`                       |
| [testSpotConnectivity()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L276)             |      |      WS     | `ping`                       |
| [getSpotServerTime()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L288)                |      |      WS     | `time`                       |
| [getSpotExchangeInfo()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L302)              |      |      WS     | `exchangeInfo`               |
| [getSpotOrderBook()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L324)                 |      |      WS     | `depth`                      |
| [getSpotRecentTrades()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L340)              |      |      WS     | `trades.recent`              |
| [getSpotHistoricalTrades()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L356)          |      |      WS     | `trades.historical`          |
| [getSpotHistoricalBlockTrades()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L371)     |      |      WS     | `blockTrades.historical`     |
| [getSpotAggregateTrades()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L387)           |      |      WS     | `trades.aggregate`           |
| [getSpotKlines()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L403)                    |      |      WS     | `klines`                     |
| [getSpotUIKlines()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L419)                  |      |      WS     | `uiKlines`                   |
| [getSpotAveragePrice()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L434)              |      |      WS     | `avgPrice`                   |
| [getSpotExecutionRules()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L449)            |      |      WS     | `executionRules`             |
| [getSpotReferencePrice()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L464)            |      |      WS     | `referencePrice`             |
| [getSpotReferencePriceCalculation()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L479) |      |      WS     | `referencePrice.calculation` |
| [getSpot24hrTicker()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L495)                |      |      WS     | `ticker.24hr`                |
| [getSpotTradingDayTicker()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L514)          |      |      WS     | `ticker.tradingDay`          |
| [getSpotTicker()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L534)                    |      |      WS     | `ticker`                     |
| [getSpotSymbolPriceTicker()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L554)         |      |      WS     | `ticker.price`               |
| [getSpotSymbolOrderBookTicker()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L570)     |      |      WS     | `ticker.book`                |
| [getSpotSessionStatus()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L590)             |      |      WS     | `session.status`             |
| [submitNewSpotOrder()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L608)               |      |      WS     | `order.place`                |
| [testSpotOrder()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L623)                    |      |      WS     | `order.test`                 |
| [getSpotOrderStatus()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L640)               |      |      WS     | `order.status`               |
| [cancelSpotOrder()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L655)                  |      |      WS     | `order.cancel`               |
| [cancelReplaceSpotOrder()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L670)           |      |      WS     | `order.cancelReplace`        |
| [amendSpotOrderKeepPriority()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L686)       |      |      WS     | `order.amend.keepPriority`   |
| [getSpotOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L701)                |      |      WS     | `openOrders.status`          |
| [cancelAllSpotOpenOrders()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L716)          |      |      WS     | `openOrders.cancelAll`       |
| [placeSpotOrderList()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L733)               |      |      WS     | `orderList.place`            |
| [placeSpotOCOOrderList()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L748)            |      |      WS     | `orderList.place.oco`        |
| [placeSpotOTOOrderList()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L763)            |      |      WS     | `orderList.place.oto`        |
| [placeSpotOTOCOOrderList()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L778)          |      |      WS     | `orderList.place.otoco`      |
| [placeSpotOPOOrderList()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L793)            |      |      WS     | `orderList.place.opo`        |
| [placeSpotOPOCOOrderList()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L808)          |      |      WS     | `orderList.place.opoco`      |
| [getSpotOrderListStatus()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L823)           |      |      WS     | `orderList.status`           |
| [cancelSpotOrderList()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L838)              |      |      WS     | `orderList.cancel`           |
| [getSpotOpenOrderLists()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L853)            |      |      WS     | `openOrderLists.status`      |
| [placeSpotSOROrder()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L868)                |      |      WS     | `sor.order.place`            |
| [testSpotSOROrder()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L883)                 |      |      WS     | `sor.order.test`             |
| [getSpotAccountInformation()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L908)        |      |      WS     | `account.status`             |
| [getSpotOrderRateLimits()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L923)           |      |      WS     | `account.rateLimits.orders`  |
| [getSpotAllOrders()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L938)                 |      |      WS     | `allOrders`                  |
| [getSpotAllOrderLists()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L953)             |      |      WS     | `allOrderLists`              |
| [getSpotMyTrades()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L968)                  |      |      WS     | `myTrades`                   |
| [getSpotPreventedMatches()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L983)          |      |      WS     | `myPreventedMatches`         |
| [getSpotAllocations()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L998)               |      |      WS     | `myAllocations`              |
| [getSpotAccountCommission()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1013)        |      |      WS     | `account.commission`         |
| [getFuturesOrderBook()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1034)             |      |      WS     | `depth`                      |
| [getFuturesSymbolPriceTicker()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1049)     |      |      WS     | `ticker.price`               |
| [getFuturesSymbolOrderBookTicker()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1066) |      |      WS     | `ticker.book`                |
| [submitNewFuturesOrder()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1088)           |      |      WS     | `order.place`                |
| [modifyFuturesOrder()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1104)              |      |      WS     | `order.modify`               |
| [cancelFuturesOrder()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1120)              |      |      WS     | `order.cancel`               |
| [getFuturesOrderStatus()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1136)           |      |      WS     | `order.status`               |
| [getFuturesPositionV2()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1151)            |      |      WS     | `v2/account.position`        |
| [getFuturesPosition()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1167)              |      |      WS     | `account.position`           |
| [submitNewFuturesAlgoOrder()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1183)       |      |      WS     | `algoOrder.place`            |
| [cancelFuturesAlgoOrder()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1199)          |      |      WS     | `algoOrder.cancel`           |
| [getFuturesAccountBalanceV2()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1219)      |      |      WS     | `v2/account.balance`         |
| [getFuturesAccountBalance()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1235)        |      |      WS     | `account.balance`            |
| [getFuturesAccountStatusV2()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1250)       |      |      WS     | `v2/account.status`          |
| [getFuturesAccountStatus()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1266)         |      |      WS     | `account.status`             |
| [startUserDataStreamForKey()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1292)       |      |      WS     | `userDataStream.start`       |
| [pingUserDataStreamForKey()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1312)        |      |      WS     | `userDataStream.ping`        |
| [stopUserDataStreamForKey()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1326)        |      |      WS     | `userDataStream.stop`        |
| [subscribeUserDataStream()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1357)         |      |      WS     | `userDataStream.unsubscribe` |
| [unsubscribeUserDataStream()](https://github.com/tiagosiebler/binance/blob/master/src/websocket-api-client.ts#L1486)       |      |      WS     | `userDataStream.unsubscribe` |

## Binance JavaScript FAQ

### What does the Binance JavaScript SDK cover?

Binance supports Spot, Futures, Margin, WebSockets, and WebSocket API workflows. The JavaScript guide covers the main REST and WebSocket integration patterns.

### How do I authenticate private Binance API calls in JavaScript?

Install binance from npm & pass API credentials into the SDK client options, as shown in the Binance JavaScript examples above. The SDK handles the exchange-specific signing requirements for private requests.

### Does the Binance JavaScript SDK help with WebSocket connection management?

Yes. Use the SDK WebSocket client for subscriptions, reconnect handling, and stream lifecycle management instead of building raw socket flows yourself.

### When should I use the Binance WebSocket API instead of REST?

Use REST for standard request and response workflows such as account queries and order management. Use the WebSocket API flow when you want persistent low-latency interactions over a connected session.

## Machine Resources

- [AI prompt framework](/ai)
- [LLM discovery](/llms.txt)
- [SDK catalog](/.well-known/siebly-sdk-catalog.json)
- [Agent skill](/.well-known/agent-skills/siebly-crypto-exchange-api/SKILL.md)
