---
title: "Bitget JavaScript & TypeScript SDK for Node.js | Siebly"
description: "Bitget 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/bitget/javascript"
---

# Bitget JavaScript SDK

Build with the Bitget 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 bitget-api
# or pnpm:
pnpm install bitget-api
# or yarn:
yarn add bitget-api
```

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

## Coverage

- Spot
- Copy
- Futures
- WebSockets
- 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 Bitget SDK for spot, futures, copy-trading, account, order, position, and market data workflows that need authenticated REST calls.

**WebSockets:** Use WebSocket clients for Bitget market data and private account/order streams where the SDK exposes matching subscription helpers.

**Reliability:** Keep product type, margin mode, and account mode explicit; monitor rate limits and reconnect private streams before resuming automation after a disconnect.

## 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

Easily start calling Bitget's V2 spot REST APIs in JavaScript.

- Install the Bitget JavaScript SDK via NPM: `npm install bitget-api`.
- Import the RestClientV2 class (REST API wrapper for Bitget's V2 APIs) and WebsocketClientV2.
  - Note: for Bitget's V3 (UTA) APIs, you can use RestClientV3 and WebsocketClientV3 instead. Examples can be found on GitHub.
- Create client instances with your API credentials (different key types are automatically detected & handled).
- Call REST API methods as functions and await the promise containing the response.

In this example, we:

- Open a private WebSocket connection and subscribe to account and order updates for spot.
- Query account spot balances and find the available BTC balance.
- Query symbol trading rules for `BTCUSDT` and select the minimum trade quantity.
- Submit a market sell order using that quantity and log the response.

This setup demonstrates using REST and private WebSocket streams together, so you can place trades while receiving live account updates at the same time.

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

```typescript
import {
  RestClientV2,
  SpotOrderRequestV2,
  WebsocketClientV2,
} from 'bitget-api';

// read from environmental variables
const API_KEY = process.env.API_KEY_COM;
const API_SECRET = process.env.API_SECRET_COM;
const API_PASS = process.env.API_PASS_COM;

// If running from CLI in unix, you can pass env vars as such:
// API_KEY_COM='lkm12n3-2ba3-1mxf-fn13-lkm12n3a' API_SECRET_COM='035B2B9637E1BDFFEE2646BFBDDB8CE4' API_PASSPHRASE_COM='ComplexPa$$!23$5^' ts-node examples/rest-trade-spot.ts

// note the single quotes, preventing special characters such as $ from being incorrectly passed

const client = new RestClientV2({
  apiKey: API_KEY,
  apiSecret: API_SECRET,
  apiPass: API_PASS,
  // apiKey: 'apiKeyHere',
  // apiSecret: 'apiSecretHere',
  // apiPass: 'apiPassHere',
});

const wsClient = new WebsocketClientV2({
  apiKey: API_KEY,
  apiSecret: API_SECRET,
  apiPass: API_PASS,
});

function logWSEvent(type: string, data: any) {
  console.log(new Date(), `WS ${type} event: `, data);
}

// simple sleep function
function promiseSleep(milliseconds: number) {
  return new Promise((resolve) => setTimeout(resolve, milliseconds));
}

/** This is a simple script wrapped in a immediately invoked function expression, designed to check for any available BTC balance and immediately sell the full amount for USDT */
(async () => {
  try {
    // Add event listeners to log websocket events on account
    wsClient.on('update', (data) => logWSEvent('update', data));
    wsClient.on('open', (data) => logWSEvent('open', data));
    wsClient.on('response', (data) => logWSEvent('response', data));
    wsClient.on('reconnect', (data) => logWSEvent('reconnect', data));
    wsClient.on('reconnected', (data) => logWSEvent('reconnected', data));
    wsClient.on('authenticated', (data) => logWSEvent('authenticated', data));
    wsClient.on('exception', (data) => logWSEvent('exception', data));

    // Subscribe to private account topics
    // spot private
    // : account updates
    wsClient.subscribeTopic('SPOT', 'account');

    // : order updates (note: symbol is required)
    wsClient.subscribeTopic('SPOT', 'orders', 'BTCUSDT');

    // wait briefly for ws to be ready (could also use the response or authenticated events, to make sure topics are subscribed to before starting)
    await promiseSleep(2.5 * 1000);

    const balanceResult = await client.getSpotAccountAssets();
    const allBalances = balanceResult.data;

    const balanceBTC = allBalances.find(
      (bal) => bal.coin === 'BTC' || bal.coin === 'btc',
    );
    const btcAmount = balanceBTC ? Number(balanceBTC.available) : 0;
    // console.log('balance: ', JSON.stringify(balances, null, 2));
    console.log('BTC balance result: ', balanceBTC);

    if (!btcAmount) {
      console.error('No BTC to trade');
      return;
    }

    console.log(`BTC available: ${btcAmount}`);
    const symbol = 'BTCUSDT';

    const symbolsResult = await client.getSpotSymbolInfo();
    const btcRules = symbolsResult.data.find((rule) => rule.symbol === symbol);
    console.log('btc trading rules: ', btcRules);
    if (!btcRules) {
      return console.log('no rules found for trading ' + symbol);
    }

    const quantity = btcRules.minTradeAmount;

    const order: SpotOrderRequestV2 = {
      symbol: symbol,
      side: 'sell',
      orderType: 'market',
      force: 'gtc',
      size: quantity,
    } as const;

    console.log('submitting order: ', order);

    const sellResult = await client.spotSubmitOrder(order);

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

[View the source example](https://github.com/sieblyio/crypto-api-examples/blob/master/examples/Bitget/V2%20-%20Classic/Rest/rest-trade-spot.ts)

### WebSocket Streams

Connecting to Bitget's V3 (UTA) private WebSocket streams is straightforward with the WebsocketClientV3.

- Install the Bitget JavaScript SDK via NPM: `npm install bitget-api`.
- Import the WebsocketClientV3 and WS_KEY_MAP utilities.
- Create an authenticated WebsocketClientV3 instance with your API credentials.
- Configure event handlers for key events such as `update`, `response`, `reconnect`, `reconnected`, and `exception`.
- Subscribe to private topics and handle incoming account events in real time.

In this example, we:

- Subscribe to private account events on the UTA connection.
- Subscribe to `account`, `position`, `fill`, and `order` topics in a single batched request.
- Inspect currently tracked private subscriptions after a short delay.

This setup allows you to receive real-time account activity updates without polling REST endpoints.

```typescript
import { DefaultLogger, WebsocketClientV3, WS_KEY_MAP } from 'bitget-api';

(async () => {
  const logger = {
    ...DefaultLogger,
    trace: (...params: any[]) => console.log('trace', ...params),
  };

  const API_KEY = process.env.API_KEY_COM;
  const API_SECRET = process.env.API_SECRET_COM;
  const API_PASS = process.env.API_PASS_COM;

  // If running from CLI in unix, you can pass env vars as such:
  // API_KEY_COM='lkm12n3-2ba3-1mxf-fn13-lkm12n3a' API_SECRET_COM='035B2B9637E1BDFFEE2646BFBDDB8CE4' API_PASSPHRASE_COM='ComplexPa$$!23$5^' ts-node examples/ws-private.ts

  const wsClient = new WebsocketClientV3(
    {
      apiKey: API_KEY,
      apiSecret: API_SECRET,
      apiPass: API_PASS,
    },
    logger,
  );

  wsClient.on('update', (data) => {
    console.log('WS raw message received ', data);
    // console.log('WS raw message received ', JSON.stringify(data, null, 2));
  });

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

  // You can subscribe to one topic at a time
  wsClient.subscribe(
    {
      topic: 'account',
      payload: {
        instType: 'UTA', // Note: all account events go on the UTA instType
      },
    },
    WS_KEY_MAP.v3Private, // This parameter points to private or public
  );

  // Note: all account events go on the UTA instType
  const ACCOUNT_INST_TYPE = 'UTA';
  const ACCOUNT_WS_KEY = WS_KEY_MAP.v3Private;

  // Or multiple at once:
  wsClient.subscribe(
    [
      {
        topic: 'account',
        payload: {
          instType: ACCOUNT_INST_TYPE,
        },
      },
      {
        topic: 'position',
        payload: {
          instType: ACCOUNT_INST_TYPE,
        },
      },
      {
        topic: 'fill',
        payload: {
          instType: ACCOUNT_INST_TYPE,
        },
      },
      {
        topic: 'order',
        payload: {
          instType: ACCOUNT_INST_TYPE,
        },
      },
    ],
    ACCOUNT_WS_KEY,
  );

  // Topics are tracked per websocket type
  // The below example will pull a list of subscribed topics on that connection (e.g. all private topics), after a 5 second delay:
  setTimeout(() => {
    const privateTopics = wsClient.getWsStore().getTopics(WS_KEY_MAP.v3Private);

    console.log('private topics currently in state: ', privateTopics);
  }, 5 * 1000);
})();
```

[View the source example](https://github.com/sieblyio/crypto-api-examples/blob/master/examples/Bitget/V3%20-%20UTA/Websocket/ws-private.ts)

### WebSocket API

Bitget's V3 (UTA) WebSocket API (WS-API) lets you send trading commands over a persistent, authenticated WebSocket connection, reducing overhead compared to separate REST requests.

The SDK's WebsocketAPIClient wraps this flow in promise-based helper methods, so each WS-API request can be awaited like a regular API call.

To use the WebSocket API:

- Install the Bitget JavaScript SDK via NPM: `npm install bitget-api`.
- Import the dedicated WebsocketAPIClient.
- Create an authenticated WebsocketAPIClient instance with your API credentials.
- Optionally call `connectWSAPI()` before submitting commands to warm up the connection.
- Call dedicated WS-API methods and await their responses.

In this example, we:

- Submit a new spot order.
- Submit a batch of spot orders.
- Cancel a single order.
- Cancel a batch of orders.

Note that:

- This requires Bitget V3/UTA API credentials.
- Responses are logged per operation, with errors handled in separate `try/catch` blocks.
- For batch endpoints, inspect per-order result codes in the response payload.

```typescript
import { DefaultLogger, WebsocketAPIClient } from 'bitget-api';

// function attachEventHandlers<TWSClient extends WebsocketClientV3>(
//   wsClient: TWSClient,
// ): void {
//   wsClient.on('update', (data) => {
//     console.log('raw message received ', JSON.stringify(data));
//   });
//   wsClient.on('open', (data) => {
//     console.log('ws connected', data.wsKey);
//   });
//   wsClient.on('reconnect', ({ 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);
//   });
// }

(async () => {
  const logger = {
    ...DefaultLogger,
    trace: (...params: any[]) => console.log('trace', ...params),
  };

  const API_KEY = process.env.API_KEY_COM;
  const API_SECRET = process.env.API_SECRET_COM;
  const API_PASS = process.env.API_PASS_COM;

  // If running from CLI in unix, you can pass env vars as such:
  // API_KEY_COM='lkm12n3-2ba3-1mxf-fn13-lkm12n3a' API_SECRET_COM='035B2B9637E1BDFFEE2646BFBDDB8CE4' API_PASSPHRASE_COM='ComplexPa$$!23$5^' ts-node examples/ws-private.ts

  const wsClient = new WebsocketAPIClient(
    {
      apiKey: API_KEY,
      apiSecret: API_SECRET,
      apiPass: API_PASS,

      // Whether to use the demo trading wss connection
      // demoTrading: 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
    },
    logger, // Optional: inject a custom logger
  );

  // Optional, see above "attachEventListeners". Attach basic event handlers, so nothing is left unhandled
  // attachEventHandlers(wsClient.getWSClient());

  // Optional: prepare the WebSocket API connection in advance.
  // This happens automatically but you can do this early before making any API calls, to prevent delays from a cold start.
  await wsClient.getWSClient().connectWSAPI();

  /**
   * Bitget's WebSocket API be used like a REST API, through this SDK's WebsocketAPIClient. The WebsocketAPIClient is a utility class wrapped around WebsocketClientV3's sendWSAPIRequest() capabilities.
   *
   * Each request sent via the WebsocketAPIClient will automatically:
   * - route via the active WS API connection
   * - return a Promise, which automatically resolves/rejects when a matching response is received
   *
   * Note: this requires V3/UTA API keys!
   */

  /**
   * Place Order
   * https://www.bitget.com/api-doc/uta/websocket/private/Place-Order-Channel#request-parameters
   */
  try {
    const res = await wsClient.submitNewOrder('spot', {
      orderType: 'limit',
      price: '100',
      qty: '0.1',
      side: 'buy',
      symbol: 'BTCUSDT',
      timeInForce: 'gtc',
    });
    /**
      const res = {
        "event": "trade",
        "id": "1750034396082",
        "category": "spot",
        "topic": "place-order",
        "args": [
          {
            "symbol": "BTCUSDT",
            "orderId": "xxxxxxxx",
            "clientOid": "xxxxxxxx",
            "cTime": "1750034397008"
          }
        ],
        "code": "0",
        "msg": "success",
        "ts": "1750034397076"
      };
     */

    console.log(new Date(), 'WS API "submitNewOrder()" result: ', res);
  } catch (e) {
    console.error(new Date(), 'Exception with WS API "submitNewOrder()": ', e);
  }

  /**
   * Batch Place Order Channel
   * https://www.bitget.com/api-doc/uta/websocket/private/Batch-Place-Order-Channel
   */

  try {
    /**
     * Note: batch place will never reject the request, even if all orders were rejected. Check the "code" and "msg" properties for individual orders in the response, to detect batch place errors.
     */
    const res = await wsClient.placeBatchOrders('spot', [
      {
        clientOid: 'xxxxxxxx1',
        orderType: 'limit',
        price: '100',
        qty: '0.1',
        side: 'buy',
        symbol: 'BTCUSDT',
        timeInForce: 'gtc',
      },
      {
        clientOid: 'xxxxxxxx2',
        orderType: 'limit',
        price: '100',
        qty: '0.15',
        side: 'buy',
        symbol: 'BTCUSDT',
        timeInForce: 'gtc',
      },
    ]);

    /**
      const res = {
        "event": "trade",
        "id": "1750035029506",
        "category": "spot",
        "topic": "batch-place",
        "args": [
          {
            "code": "0",
            "msg": "Success",
            "symbol": "BTCUSDT",
            "orderId": "xxxxxxxx",
            "clientOid": "xxxxxxxx"
          },
          {
            "code": "0",
            "msg": "Success",
            "symbol": "BTCUSDT",
            "orderId": "xxxxxxxx",
            "clientOid": "xxxxxxxx"
          }
        ],
        "code": "0",
        "msg": "Success",
        "ts": "1750035029925"
      }
     */

    console.log(new Date(), 'WS API "placeBatchOrders()" result: ', res);
  } catch (e) {
    console.error(
      new Date(),
      'Exception with WS API "placeBatchOrders()": ',
      e,
    );
  }

  /**
   * Cancel Order
   * https://www.bitget.com/api-doc/uta/websocket/private/Cancel-Order-Channel
   */

  try {
    const res = await wsClient.cancelOrder('spot', {
      clientOid: 'xxxxxxxx1',
    });

    /**
      const res = {
        "event": "trade",
        "id": "1750034870205",
        "topic": "cancel-order",
        "args": [
          {
            "orderId": "xxxxxxxx",
            "clientOid": "xxxxxxxx"
          }
        ],
        "code": "0",
        "msg": "Success",
        "ts": "1750034870597"
      }
     */

    console.log(new Date(), 'WS API "cancelOrder()" result: ', res);
  } catch (e) {
    console.error(new Date(), 'Exception with WS API "cancelOrder()": ', e);
  }

  /**
   * Batch Cancel Order
   * https://www.bitget.com/api-doc/uta/websocket/private/Batch-Cancel-Order-Channel
   */

  try {
    const res = await wsClient.cancelBatchOrders('spot', [
      {
        clientOid: 'xxxxxxxx1',
      },
      {
        orderId: '123123123',
      },
    ]);

    /**
      const res = {
        "event": "trade",
        "id": "bb553cc0-c1fa-454e-956d-c96c8d715760",
        "topic": "batch-cancel",
        "args": [
          {
            "code": "0",
            "msg": "Success",
            "orderId": "xxxxxxxxxxxxx"
          },
          {
            "code": "25204",
            "msg": "Order does not exist",
            "orderId": "xxxxxxxxxxxxx"
          }
        ],
        "code": "0",
        "msg": "Success",
        "ts": "1751980011084"
      }
     */

    console.log(new Date(), 'WS API "cancelBatchOrders()" result: ', res);
  } catch (e) {
    console.error(
      new Date(),
      'Exception with WS API "cancelBatchOrders()": ',
      e,
    );
  }

  console.log(new Date(), 'Reached end of example.');
})();
```

[View the source example](https://github.com/sieblyio/crypto-api-examples/blob/master/examples/Bitget/V3%20-%20UTA/WS-API/ws-api-client-trade.ts)

## Endpoint Reference

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

### Endpoint maps

<p align="center">
  <a href="https://www.npmjs.com/package/bitget-api">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="https://github.com/tiagosiebler/bitget-api/blob/master/docs/images/logoDarkMode2.svg?raw=true#gh-dark-mode-only">
      <img alt="SDK Logo" src="https://github.com/tiagosiebler/bitget-api/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/bitget-api/tree/master/src) folder. For usage examples, make sure to check the [examples](https://github.com/tiagosiebler/bitget-api/tree/master/examples) folder.

List of clients:

- [rest-client-v2](#rest-client-v2ts)
- [rest-client-v3](#rest-client-v3ts)
- [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.

### rest-client-v2.ts

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

| Function                                                                                                                      | AUTH | HTTP Method | Endpoint                                                        |
| ----------------------------------------------------------------------------------------------------------------------------- | :--: | :---------: | --------------------------------------------------------------- |
| [getAnnouncements()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L482)                       |      |     GET     | `/api/v2/public/annoucements`                                   |
| [getServerTime()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L494)                          |      |     GET     | `/api/v2/public/time`                                           |
| [getTradeRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L502)                           |  🔐  |     GET     | `/api/v2/common/trade-rate`                                     |
| [getSpotTransactionRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L517)              |  🔐  |     GET     | `/api/v2/tax/spot-record`                                       |
| [getFuturesTransactionRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L523)           |  🔐  |     GET     | `/api/v2/tax/future-record`                                     |
| [getMarginTransactionRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L529)            |  🔐  |     GET     | `/api/v2/tax/margin-record`                                     |
| [getP2PTransactionRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L535)               |  🔐  |     GET     | `/api/v2/tax/p2p-record`                                        |
| [getP2PMerchantList()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L547)                     |  🔐  |     GET     | `/api/v2/p2p/merchantList`                                      |
| [getP2PMerchantInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L556)                     |  🔐  |     GET     | `/api/v2/p2p/merchantInfo`                                      |
| [getP2PMerchantOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L560)                   |  🔐  |     GET     | `/api/v2/p2p/orderList`                                         |
| [getP2PMerchantAdvertisementList()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L569)        |  🔐  |     GET     | `/api/v2/p2p/advList`                                           |
| [getSpotWhaleNetFlowData()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L586)                |  🔐  |     GET     | `/api/v2/spot/market/whale-net-flow`                            |
| [getFuturesActiveTakerBuySellVolumeData()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L592) |      |     GET     | `/api/v2/mix/market/taker-buy-sell`                             |
| [getFuturesActiveLongShortPositionData()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L599)  |      |     GET     | `/api/v2/mix/market/position-long-short`                        |
| [getFuturesLongShortRatio()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L606)               |      |     GET     | `/api/v2/mix/market/long-short-ratio`                           |
| [getMarginLoanGrowthRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L614)                |      |     GET     | `/api/v2/mix/market/loan-growth`                                |
| [getIsolatedMarginBorrowingRatio()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L622)        |      |     GET     | `/api/v2/mix/market/isolated-borrow-rate`                       |
| [getFuturesActiveBuySellVolumeData()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L629)      |      |     GET     | `/api/v2/mix/market/long-short`                                 |
| [getSpotFundFlow()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L636)                        |      |     GET     | `/api/v2/spot/market/fund-flow`                                 |
| [getTradeDataSupportSymbols()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L643)             |      |     GET     | `/api/v2/spot/market/support-symbols`                           |
| [getSpotFundNetFlowData()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L652)                 |      |     GET     | `/api/v2/spot/market/fund-net-flow`                             |
| [getFuturesActiveLongShortAccountData()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L663)   |      |     GET     | `/api/v2/mix/market/account-long-short`                         |
| [createVirtualSubaccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L676)                |  🔐  |     POST    | `/api/v2/user/create-virtual-subaccount`                        |
| [modifyVirtualSubaccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L682)                |  🔐  |     POST    | `/api/v2/user/modify-virtual-subaccount`                        |
| [batchCreateVirtualSubaccountAndAPIKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L690)  |  🔐  |     POST    | `/api/v2/user/batch-create-subaccount-and-apikey`               |
| [getVirtualSubaccounts()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L699)                  |  🔐  |     GET     | `/api/v2/user/virtual-subaccount-list`                          |
| [createVirtualSubaccountAPIKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L712)          |  🔐  |     POST    | `/api/v2/user/create-virtual-subaccount-apikey`                 |
| [modifyVirtualSubaccountAPIKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L721)          |  🔐  |     POST    | `/api/v2/user/modify-virtual-subaccount-apikey`                 |
| [getVirtualSubaccountAPIKeys()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L730)            |  🔐  |     GET     | `/api/v2/user/virtual-subaccount-apikey-list`                   |
| [createAgentSubaccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L743)                  |  🔐  |     POST    | `/api/v2/user/create-agent-subaccount`                          |
| [getFundingAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L754)                       |  🔐  |     GET     | `/api/v2/account/funding-assets`                                |
| [getBotAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L760)                          |  🔐  |     GET     | `/api/v2/account/bot-assets`                                    |
| [getBalances()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L767)                            |  🔐  |     GET     | `/api/v2/account/all-account-balance`                           |
| [getConvertCoins()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L784)                        |  🔐  |     GET     | `/api/v2/convert/currencies`                                    |
| [getConvertQuotedPrice()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L788)                  |  🔐  |     GET     | `/api/v2/convert/quoted-price`                                  |
| [convert()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L794)                                |  🔐  |     POST    | `/api/v2/convert/trade`                                         |
| [getConvertHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L800)                      |  🔐  |     GET     | `/api/v2/convert/convert-record`                                |
| [getConvertBGBCoins()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L815)                     |  🔐  |     GET     | `/api/v2/convert/bgb-convert-coin-list`                         |
| [convertBGB()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L823)                             |  🔐  |     POST    | `/api/v2/convert/bgb-convert`                                   |
| [getConvertBGBHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L829)                   |  🔐  |     GET     | `/api/v2/convert/bgb-convert-records`                           |
| [getSpotCoinInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L849)                        |  🔐  |     GET     | `/api/v2/spot/public/coins`                                     |
| [getSpotSymbolInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L855)                      |  🔐  |     GET     | `/api/v2/spot/public/symbols`                                   |
| [getSpotVIPFeeRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L861)                      |  🔐  |     GET     | `/api/v2/spot/market/vip-fee-rate`                              |
| [getSpotTicker()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L865)                          |  🔐  |     GET     | `/api/v2/spot/market/tickers`                                   |
| [getSpotMergeDepth()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L871)                      |  🔐  |     GET     | `/api/v2/spot/market/merge-depth`                               |
| [getSpotOrderBookDepth()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L879)                  |  🔐  |     GET     | `/api/v2/spot/market/orderbook`                                 |
| [getSpotCandles()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L887)                         |  🔐  |     GET     | `/api/v2/spot/market/candles`                                   |
| [getSpotHistoricCandles()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L893)                 |  🔐  |     GET     | `/api/v2/spot/market/history-candles`                           |
| [getSpotRecentTrades()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L899)                    |  🔐  |     GET     | `/api/v2/spot/market/fills`                                     |
| [getSpotHistoricTrades()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L906)                  |  🔐  |     GET     | `/api/v2/spot/market/fills-history`                             |
| [spotSubmitOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L918)                        |  🔐  |     POST    | `/api/v2/spot/trade/place-order`                                |
| [spotCancelandSubmitOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L927)               |  🔐  |     POST    | `/api/v2/spot/trade/cancel-replace-order`                       |
| [spotBatchCancelandSubmitOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L933)          |  🔐  |     POST    | `/api/v2/spot/trade/batch-cancel-replace-order`                 |
| [spotCancelOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L942)                        |  🔐  |     POST    | `/api/v2/spot/trade/cancel-order`                               |
| [spotBatchSubmitOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L951)                  |  🔐  |     POST    | `/api/v2/spot/trade/batch-orders`                               |
| [spotBatchCancelOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L957)                  |  🔐  |     POST    | `/api/v2/spot/trade/batch-cancel-order`                         |
| [spotCancelSymbolOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L963)                  |  🔐  |     POST    | `/api/v2/spot/trade/cancel-symbol-order`                        |
| [getSpotOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L971)                           |  🔐  |     GET     | `/api/v2/spot/trade/orderInfo`                                  |
| [getSpotOpenOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L977)                      |  🔐  |     GET     | `/api/v2/spot/trade/unfilled-orders`                            |
| [getSpotHistoricOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L983)                  |  🔐  |     GET     | `/api/v2/spot/trade/history-orders`                             |
| [getSpotFills()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L989)                           |  🔐  |     GET     | `/api/v2/spot/trade/fills`                                      |
| [spotSubmitPlanOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1001)                   |  🔐  |     POST    | `/api/v2/spot/trade/place-plan-order`                           |
| [spotModifyPlanOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1010)                   |  🔐  |     POST    | `/api/v2/spot/trade/modify-plan-order`                          |
| [spotCancelPlanOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1019)                   |  🔐  |     POST    | `/api/v2/spot/trade/cancel-plan-order`                          |
| [getSpotCurrentPlanOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1030)              |  🔐  |     GET     | `/api/v2/spot/trade/current-plan-order`                         |
| [getSpotPlanSubOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1040)                   |  🔐  |     GET     | `/api/v2/spot/trade/plan-sub-order`                             |
| [getSpotHistoricPlanOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1046)             |  🔐  |     GET     | `/api/v2/spot/trade/history-plan-order`                         |
| [spotCancelPlanOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1056)                  |  🔐  |     POST    | `/api/v2/spot/trade/batch-cancel-plan-order`                    |
| [getSpotAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1071)                        |  🔐  |     GET     | `/api/v2/spot/account/info`                                     |
| [getSpotAccountAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1075)                  |  🔐  |     GET     | `/api/v2/spot/account/assets`                                   |
| [getSpotSubAccountAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1082)               |  🔐  |     GET     | `/api/v2/spot/account/subaccount-assets`                        |
| [spotModifyDepositAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1086)              |  🔐  |     POST    | `/api/v2/spot/wallet/modify-deposit-account`                    |
| [getSpotAccountBills()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1096)                   |  🔐  |     GET     | `/api/v2/spot/account/bills`                                    |
| [spotTransfer()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1102)                          |  🔐  |     POST    | `/api/v2/spot/wallet/transfer`                                  |
| [getSpotTransferableCoins()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1111)              |  🔐  |     GET     | `/api/v2/spot/wallet/transfer-coin-info`                        |
| [spotSubTransfer()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1118)                       |  🔐  |     POST    | `/api/v2/spot/wallet/subaccount-transfer`                       |
| [spotWithdraw()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1127)                          |  🔐  |     POST    | `/api/v2/spot/wallet/withdrawal`                                |
| [getSpotMainSubTransferRecord()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1136)          |  🔐  |     GET     | `/api/v2/spot/account/sub-main-trans-record`                    |
| [getSpotTransferHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1145)                |  🔐  |     GET     | `/api/v2/spot/account/transferRecords`                          |
| [spotSwitchBGBDeduct()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1151)                   |  🔐  |     POST    | `/api/v2/spot/account/switch-deduct`                            |
| [getSpotDepositAddress()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1157)                 |  🔐  |     GET     | `/api/v2/spot/wallet/deposit-address`                           |
| [getSpotSubDepositAddress()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1165)              |  🔐  |     GET     | `/api/v2/spot/wallet/subaccount-deposit-address`                |
| [getSpotBGBDeductInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1177)                  |  🔐  |     GET     | `/api/v2/spot/account/deduct-info`                              |
| [spotCancelWithdrawal()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1185)                  |  🔐  |     POST    | `/api/v2/spot/wallet/cancel-withdrawal`                         |
| [getSubAccountDepositRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1191)           |  🔐  |     GET     | `/api/v2/spot/wallet/subaccount-deposit-records`                |
| [getSpotWithdrawalHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1200)              |  🔐  |     GET     | `/api/v2/spot/wallet/withdrawal-records`                        |
| [getSpotDepositHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1206)                 |  🔐  |     GET     | `/api/v2/spot/wallet/deposit-records`                           |
| [upgradeToUnifiedAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1221)               |  🔐  |     POST    | `/api/v2/spot/account/upgrade`                                  |
| [getUnifiedAccountSwitchStatus()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1231)         |  🔐  |     GET     | `/api/v2/spot/account/upgrade-status`                           |
| [getFuturesVIPFeeRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1253)                  |      |     GET     | `/api/v2/mix/market/vip-fee-rate`                               |
| [getFuturesInterestRateHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1257)         |      |     GET     | `/api/v2/mix/market/union-interest-rate-history`                |
| [getFuturesInterestExchangeRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1266)        |      |     GET     | `/api/v2/mix/market/exchange-rate`                              |
| [getFuturesDiscountRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1277)                |      |     GET     | `/api/v2/mix/market/discount-rate`                              |
| [getFuturesMergeDepth()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1281)                  |      |     GET     | `/api/v2/mix/market/merge-depth`                                |
| [getFuturesTicker()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1287)                      |      |     GET     | `/api/v2/mix/market/ticker`                                     |
| [getFuturesAllTickers()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1294)                  |      |     GET     | `/api/v2/mix/market/tickers`                                    |
| [getFuturesRecentTrades()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1300)                |      |     GET     | `/api/v2/mix/market/fills`                                      |
| [getFuturesHistoricTrades()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1306)              |      |     GET     | `/api/v2/mix/market/fills-history`                              |
| [getFuturesCandles()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1312)                     |      |     GET     | `/api/v2/mix/market/candles`                                    |
| [getFuturesHistoricCandles()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1318)             |      |     GET     | `/api/v2/mix/market/history-candles`                            |
| [getFuturesHistoricIndexPriceCandles()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1324)   |      |     GET     | `/api/v2/mix/market/history-index-candles`                      |
| [getFuturesHistoricMarkPriceCandles()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1330)    |      |     GET     | `/api/v2/mix/market/history-mark-candles`                       |
| [getFuturesOpenInterest()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1336)                |      |     GET     | `/api/v2/mix/market/open-interest`                              |
| [getFuturesNextFundingTime()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1348)             |      |     GET     | `/api/v2/mix/market/funding-time`                               |
| [getFuturesSymbolPrice()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1355)                 |      |     GET     | `/api/v2/mix/market/symbol-price`                               |
| [getFuturesHistoricFundingRates()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1362)        |      |     GET     | `/api/v2/mix/market/history-fund-rate`                          |
| [getFuturesCurrentFundingRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1371)          |      |     GET     | `/api/v2/mix/market/current-fund-rate`                          |
| [getFuturesContractConfig()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1389)              |      |     GET     | `/api/v2/mix/market/contracts`                                  |
| [getFuturesAccountAsset()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1402)                |  🔐  |     GET     | `/api/v2/mix/account/account`                                   |
| [getFuturesAccountAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1408)               |  🔐  |     GET     | `/api/v2/mix/account/accounts`                                  |
| [getFuturesSubAccountAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1414)            |  🔐  |     GET     | `/api/v2/mix/account/sub-account-assets`                        |
| [getFuturesInterestHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1427)             |  🔐  |     GET     | `/api/v2/mix/account/interest-history`                          |
| [getFuturesOpenCount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1433)                   |  🔐  |     GET     | `/api/v2/mix/account/open-count`                                |
| [setFuturesPositionAutoMargin()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1441)          |  🔐  |     POST    | `/api/v2/mix/account/set-auto-margin`                           |
| [setFuturesLeverage()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1447)                    |  🔐  |     POST    | `/api/v2/mix/account/set-leverage`                              |
| [setFuturesPositionMargin()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1453)              |  🔐  |     POST    | `/api/v2/mix/account/set-margin`                                |
| [setFuturesAssetMode()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1459)                   |  🔐  |     POST    | `/api/v2/mix/account/set-asset-mode`                            |
| [setFuturesMarginMode()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1466)                  |  🔐  |     POST    | `/api/v2/mix/account/set-margin-mode`                           |
| [setFuturesPositionMode()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1472)                |  🔐  |     POST    | `/api/v2/mix/account/set-position-mode`                         |
| [getFuturesAccountBills()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1483)                |  🔐  |     GET     | `/api/v2/mix/account/bill`                                      |
| [getUnionTransferLimits()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1498)                |  🔐  |     GET     | `/api/v2/mix/account/transfer-limits`                           |
| [getUnionConfig()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1510)                        |  🔐  |     GET     | `/api/v2/mix/account/union-config`                              |
| [getSwitchUnionUsdt()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1520)                    |  🔐  |     GET     | `/api/v2/mix/account/switch-union-usdt`                         |
| [unionConvert()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1530)                          |  🔐  |     POST    | `/api/v2/mix/account/union-convert`                             |
| [getFuturesMaxOpenableQuantity()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1542)         |  🔐  |     GET     | `/api/v2/mix/account/max-open`                                  |
| [getFuturesLiquidationPrice()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1554)            |  🔐  |     GET     | `/api/v2/mix/account/liq-price`                                 |
| [getFuturesIsolatedSymbols()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1566)             |  🔐  |     GET     | `/api/v2/mix/account/isolated-symbols`                          |
| [getFuturesPositionTier()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1578)                |      |     GET     | `/api/v2/mix/market/query-position-lever`                       |
| [getFuturesPosition()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1585)                    |  🔐  |     GET     | `/api/v2/mix/position/single-position`                          |
| [getFuturesPositions()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1593)                   |  🔐  |     GET     | `/api/v2/mix/position/all-position`                             |
| [getFuturesHistoricPositions()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1600)           |  🔐  |     GET     | `/api/v2/mix/position/history-position`                         |
| [futuresSubmitOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1617)                    |  🔐  |     POST    | `/api/v2/mix/order/place-order`                                 |
| [futuresSubmitReversal()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1626)                 |  🔐  |     POST    | `/api/v2/mix/order/click-backhand`                              |
| [futuresBatchSubmitOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1635)              |  🔐  |     POST    | `/api/v2/mix/order/batch-place-order`                           |
| [futuresModifyOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1641)                    |  🔐  |     POST    | `/api/v2/mix/order/modify-order`                                |
| [futuresCancelOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1650)                    |  🔐  |     POST    | `/api/v2/mix/order/cancel-order`                                |
| [futuresBatchCancelOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1659)              |  🔐  |     POST    | `/api/v2/mix/order/batch-cancel-orders`                         |
| [futuresFlashClosePositions()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1665)            |  🔐  |     POST    | `/api/v2/mix/order/close-positions`                             |
| [getFuturesOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1671)                       |  🔐  |     GET     | `/api/v2/mix/order/detail`                                      |
| [getFuturesFills()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1677)                       |  🔐  |     GET     | `/api/v2/mix/order/fills`                                       |
| [getFuturesHistoricOrderFills()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1686)          |  🔐  |     GET     | `/api/v2/mix/order/fill-history`                                |
| [getFuturesOpenOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1697)                  |  🔐  |     GET     | `/api/v2/mix/order/orders-pending`                              |
| [getFuturesHistoricOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1706)              |  🔐  |     GET     | `/api/v2/mix/order/orders-history`                              |
| [futuresCancelAllOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1715)                |  🔐  |     POST    | `/api/v2/mix/order/cancel-all-orders`                           |
| [getFuturesTriggerSubOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1727)             |  🔐  |     GET     | `/api/v2/mix/order/plan-sub-order`                              |
| [futuresSubmitTPSLOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1735)                |  🔐  |     POST    | `/api/v2/mix/order/place-tpsl-order`                            |
| [futuresSubmitPlanOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1744)                |  🔐  |     POST    | `/api/v2/mix/order/place-plan-order`                            |
| [futuresModifyTPSLPOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1753)               |  🔐  |     POST    | `/api/v2/mix/order/modify-tpsl-order`                           |
| [futuresModifyPlanOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1762)                |  🔐  |     POST    | `/api/v2/mix/order/modify-plan-order`                           |
| [getFuturesPlanOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1771)                  |  🔐  |     GET     | `/api/v2/mix/order/orders-plan-pending`                         |
| [futuresCancelPlanOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1780)                |  🔐  |     POST    | `/api/v2/mix/order/cancel-plan-order`                           |
| [getFuturesHistoricPlanOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1786)          |  🔐  |     GET     | `/api/v2/mix/order/orders-plan-history`                         |
| [modifySubaccountEmail()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1811)                 |  🔐  |     POST    | `/api/v2/broker/account/modify-subaccount-email`                |
| [getBrokerInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1821)                         |  🔐  |     GET     | `/api/v2/broker/account/info`                                   |
| [createSubaccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1831)                      |  🔐  |     POST    | `/api/v2/broker/account/create-subaccount`                      |
| [getSubaccounts()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1838)                        |  🔐  |     GET     | `/api/v2/broker/account/subaccount-list`                        |
| [modifySubaccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1848)                      |  🔐  |     POST    | `/api/v2/broker/account/modify-subaccount`                      |
| [getSubaccountEmail()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1854)                    |  🔐  |     GET     | `/api/v2/broker/account/subaccount-email`                       |
| [getSubaccountSpotAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1860)               |  🔐  |     GET     | `/api/v2/broker/account/subaccount-spot-assets`                 |
| [getSubaccountFuturesAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1875)            |  🔐  |     GET     | `/api/v2/broker/account/subaccount-future-assets`               |
| [createSubaccountDepositAddress()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1889)        |  🔐  |     POST    | `/api/v2/broker/account/subaccount-address`                     |
| [subaccountWithdrawal()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1900)                  |  🔐  |     POST    | `/api/v2/broker/account/subaccount-withdrawal`                  |
| [subaccountSetAutoTransfer()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1912)             |  🔐  |     POST    | `/api/v2/broker/account/set-subaccount-autotransfer`            |
| [subaccountDepositRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1928)              |  🔐  |     GET     | `/api/v2/broker/subaccount-deposit`                             |
| [subaccountWithdrawalRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1939)           |  🔐  |     GET     | `/api/v2/broker/subaccount-withdrawal`                          |
| [createSubaccountApiKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1954)                |  🔐  |     POST    | `/api/v2/broker/manage/create-subaccount-apikey`                |
| [getSubaccountApiKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1963)                   |  🔐  |     GET     | `/api/v2/broker/manage/subaccount-apikey-list`                  |
| [modifySubaccountApiKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1972)                |  🔐  |     POST    | `/api/v2/broker/manage/modify-subaccount-apikey`                |
| [getAllSubDepositWithdrawalRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1988)     |  🔐  |     GET     | `/api/v2/broker/all-sub-deposit-withdrawal`                     |
| [getBrokerSubaccounts()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2005)                  |  🔐  |     GET     | `/api/v2/broker/subaccounts`                                    |
| [getBrokerCommissions()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2017)                  |  🔐  |     GET     | `/api/v2/broker/commissions`                                    |
| [getBrokerTradeVolume()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2029)                  |  🔐  |     GET     | `/api/v2/broker/trade-volume`                                   |
| [getBrokerTotalCommission()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2049)              |  🔐  |     GET     | `/api/v2/broker/total-commission`                               |
| [getBrokerOrderCommission()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2071)              |  🔐  |     GET     | `/api/v2/broker/order-commission`                               |
| [getBrokerRebateInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2084)                   |  🔐  |     GET     | `/api/v2/broker/rebate-info`                                    |
| [getAgentCustomerCommissions()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2096)           |  🔐  |     GET     | `/api/v2/broker/customer-commissions`                           |
| [getAgentSubCustomerList()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2105)               |  🔐  |     GET     | `/api/v2/broker/sub-customer-list`                              |
| [getAgentCustomerTradeVolume()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2111)           |  🔐  |     POST    | `/api/v2/broker/customer-trade-volume`                          |
| [getAgentCustomerList()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2120)                  |  🔐  |     POST    | `/api/v2/broker/customer-list`                                  |
| [getAgentCustomerKycResult()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2126)             |  🔐  |     GET     | `/api/v2/broker/customer-kyc-result`                            |
| [getAgentCustomerDeposits()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2132)              |  🔐  |     POST    | `/api/v2/broker/customer-deposit`                               |
| [getAgentCustomerAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2138)                |  🔐  |     POST    | `/api/v2/broker/customer-asset`                                 |
| [getAgentCommissionDetail()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2144)              |  🔐  |     GET     | `/api/v2/broker/agent-commission`                               |
| [getMarginCurrencies()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2164)                   |      |     GET     | `/api/v2/margin/currencies`                                     |
| [getMarginBorrowHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2174)                |  🔐  |     GET     | `/api/v2/margin/${marginType}/borrow-history`                   |
| [getMarginRepayHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2191)                 |  🔐  |     GET     | `/api/v2/margin/${marginType}/repay-history`                    |
| [getMarginInterestHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2208)              |  🔐  |     GET     | `/api/v2/margin/${marginType}/interest-history`                 |
| [getMarginLiquidationHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2225)           |  🔐  |     GET     | `/api/v2/margin/${marginType}/liquidation-history`              |
| [getMarginFinancialHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2242)             |  🔐  |     GET     | `/api/v2/margin/${marginType}/financial-records`                |
| [getMarginAccountAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2265)                |  🔐  |     GET     | `/api/v2/margin/${marginType}/account/assets`                   |
| [marginBorrow()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2276)                          |  🔐  |     POST    | `/api/v2/margin/${marginType}/account/borrow`                   |
| [marginRepay()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2299)                           |  🔐  |     POST    | `/api/v2/margin/${marginType}/account/repay`                    |
| [getMarginRiskRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2324)                     |  🔐  |     GET     | `/api/v2/margin/${marginType}/account/risk-rate`                |
| [getMarginMaxBorrowable()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2336)                |  🔐  |     GET     | `/api/v2/margin/${marginType}/account/max-borrowable-amount`    |
| [getMarginMaxTransferable()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2349)              |  🔐  |     GET     | `/api/v2/margin/${marginType}/account/max-transfer-out-amount`  |
| [getMarginInterestRateAndMaxBorrowable()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2364) |  🔐  |     GET     | `/api/v2/margin/${marginType}/interest-rate-and-limit`          |
| [getMarginTierConfiguration()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2380)            |  🔐  |     GET     | `/api/v2/margin/${marginType}/tier-data`                        |
| [marginFlashRepay()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2392)                      |  🔐  |     POST    | `/api/v2/margin/${marginType}/account/flash-repay`              |
| [getMarginFlashRepayResult()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2410)             |  🔐  |     GET     | `/api/v2/margin/${marginType}/account/query-flash-repay-status` |
| [marginSubmitOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2434)                     |  🔐  |     POST    | `/api/v2/margin/${marginType}/place-order`                      |
| [marginBatchSubmitOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2447)               |  🔐  |     POST    | `/api/v2/margin/${marginType}/batch-place-order`                |
| [marginCancelOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2458)                     |  🔐  |     POST    | `/api/v2/margin/${marginType}/cancel-order`                     |
| [marginBatchCancelOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2478)               |  🔐  |     POST    | `/api/v2/margin/${marginType}/batch-cancel-order`               |
| [getMarginOpenOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2492)                   |  🔐  |     GET     | `/api/v2/margin/${marginType}/open-orders`                      |
| [getMarginHistoricOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2506)               |  🔐  |     GET     | `/api/v2/margin/${marginType}/history-orders`                   |
| [getMarginHistoricOrderFills()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2523)           |  🔐  |     GET     | `/api/v2/margin/${marginType}/fills`                            |
| [getMarginLiquidationOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2537)            |  🔐  |     GET     | `/api/v2/margin/${marginType}/liquidation-order`                |
| [getFuturesTraderCurrentOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2569)          |  🔐  |     GET     | `/api/v2/copy/mix-trader/order-current-track`                   |
| [getFuturesTraderHistoryOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2578)         |  🔐  |     GET     | `/api/v2/copy/mix-trader/order-history-track`                   |
| [modifyFuturesTraderOrderTPSL()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2587)          |  🔐  |     POST    | `/api/v2/copy/mix-trader/order-modify-tpsl`                     |
| [getFuturesTraderOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2596)                 |  🔐  |     GET     | `/api/v2/copy/mix-trader/order-total-detail`                    |
| [getFuturesTraderProfitHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2602)         |  🔐  |     GET     | `/api/v2/copy/mix-trader/profit-history-summarys`               |
| [getFuturesTraderProfitShareHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2608)    |  🔐  |     GET     | `/api/v2/copy/mix-trader/profit-history-details`                |
| [closeFuturesTraderOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2617)               |  🔐  |     POST    | `/api/v2/copy/mix-trader/order-close-positions`                 |
| [getFuturesTraderProfitShare()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2636)           |  🔐  |     GET     | `/api/v2/copy/mix-trader/profit-details`                        |
| [getFuturesTraderProfitShareGroup()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2652)      |  🔐  |     GET     | `/api/v2/copy/mix-trader/profits-group-coin-date`               |
| [getFuturesTraderSymbolSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2670)        |  🔐  |     GET     | `/api/v2/copy/mix-trader/config-query-symbols`                  |
| [updateFuturesTraderSymbolSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2679)     |  🔐  |     POST    | `/api/v2/copy/mix-trader/config-setting-symbols`                |
| [updateFuturesTraderGlobalSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2688)     |  🔐  |     POST    | `/api/v2/copy/mix-trader/config-settings-base`                  |
| [getFuturesTraderFollowers()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2699)             |  🔐  |     GET     | `/api/v2/copy/mix-trader/config-query-followers`                |
| [removeFuturesTraderFollower()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2708)           |  🔐  |     POST    | `/api/v2/copy/mix-trader/config-remove-follower`                |
| [getFuturesFollowerCurrentOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2725)       |  🔐  |     GET     | `/api/v2/copy/mix-follower/query-current-orders`                |
| [getFuturesFollowerHistoryOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2734)       |  🔐  |     GET     | `/api/v2/copy/mix-follower/query-history-orders`                |
| [updateFuturesFollowerTPSL()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2743)             |  🔐  |     POST    | `/api/v2/copy/mix-follower/setting-tpsl`                        |
| [updateFuturesFollowerSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2749)         |  🔐  |     POST    | `/api/v2/copy/mix-follower/settings`                            |
| [getFuturesFollowerSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2755)            |  🔐  |     GET     | `/api/v2/copy/mix-follower/query-settings`                      |
| [closeFuturesFollowerPositions()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2761)         |  🔐  |     POST    | `/api/v2/copy/mix-follower/close-positions`                     |
| [getFuturesFollowerTraders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2774)             |  🔐  |     GET     | `/api/v2/copy/mix-follower/query-traders`                       |
| [getFuturesFollowerFollowLimit()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2780)         |  🔐  |     GET     | `/api/v2/copy/mix-follower/query-quantity-limit`                |
| [unfollowFuturesTrader()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2798)                 |  🔐  |     POST    | `/api/v2/copy/mix-follower/cancel-trader`                       |
| [getBrokerTraders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2812)                      |  🔐  |     GET     | `/api/v2/copy/mix-broker/query-traders`                         |
| [getBrokerTradersHistoricalOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2816)      |  🔐  |     GET     | `/api/v2/copy/mix-broker/query-history-traces`                  |
| [getBrokerTradersPendingOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2823)         |  🔐  |     GET     | `/api/v2/copy/mix-broker/query-current-traces`                  |
| [getSpotTraderProfit()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2838)                   |  🔐  |     GET     | `/api/v2/copy/spot-trader/profit-summarys`                      |
| [getSpotTraderHistoryProfit()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2842)            |  🔐  |     GET     | `/api/v2/copy/spot-trader/profit-history-details`               |
| [getSpotTraderUnrealizedProfit()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2851)         |  🔐  |     GET     | `/api/v2/copy/spot-trader/profit-details`                       |
| [getSpotTraderOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2859)                    |  🔐  |     GET     | `/api/v2/copy/spot-trader/order-total-detail`                   |
| [modifySpotTraderOrderTPSL()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2863)             |  🔐  |     POST    | `/api/v2/copy/spot-trader/order-modify-tpsl`                    |
| [getSpotTraderHistoryOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2874)            |  🔐  |     GET     | `/api/v2/copy/spot-trader/order-history-track`                  |
| [getSpotTraderCurrentOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2883)            |  🔐  |     GET     | `/api/v2/copy/spot-trader/order-current-track`                  |
| [sellSpotTrader()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2892)                        |  🔐  |     POST    | `/api/v2/copy/spot-trader/order-close-tracking`                 |
| [getSpotTraderSymbolSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2902)           |  🔐  |     POST    | `/api/v2/copy/spot-trader/config-setting-symbols`               |
| [removeSpotTraderFollowers()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2912)             |  🔐  |     POST    | `/api/v2/copy/spot-trader/config-remove-follower`               |
| [getSpotTraderConfiguration()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2921)            |  🔐  |     GET     | `/api/v2/copy/spot-trader/config-query-settings`                |
| [getSpotTraderFollowers()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2925)                |  🔐  |     GET     | `/api/v2/copy/spot-trader/config-query-followers`               |
| [cancelSpotFollowerOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2942)               |  🔐  |     POST    | `/api/v2/copy/spot-follower/stop-order`                         |
| [updateSpotFollowerSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2948)            |  🔐  |     POST    | `/api/v2/copy/spot-follower/settings`                           |
| [updateSpotFollowerTPSL()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2957)                |  🔐  |     POST    | `/api/v2/copy/spot-follower/setting-tpsl`                       |
| [getSpotFollowerTraders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2965)                |  🔐  |     GET     | `/api/v2/copy/spot-follower/query-traders`                      |
| [getSpotFollowerCurrentTraderSymbols()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2974)   |  🔐  |     GET     | `/api/v2/copy/spot-follower/query-trader-symbols`               |
| [getSpotFollowerSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2985)               |  🔐  |     GET     | `/api/v2/copy/spot-follower/query-settings`                     |
| [getSpotFollowerHistoryOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L2991)          |  🔐  |     GET     | `/api/v2/copy/spot-follower/query-history-orders`               |
| [getSpotFollowerOpenOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3000)             |  🔐  |     GET     | `/api/v2/copy/spot-follower/query-current-orders`               |
| [sellSpotFollower()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3009)                      |  🔐  |     POST    | `/api/v2/copy/spot-follower/order-close-tracking`               |
| [unfollowSpotTrader()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3019)                    |  🔐  |     POST    | `/api/v2/copy/spot-follower/cancel-trader`                      |
| [getEarnSavingsProducts()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3033)                |  🔐  |     GET     | `/api/v2/earn/savings/product`                                  |
| [getEarnSavingsAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3040)                 |  🔐  |     GET     | `/api/v2/earn/savings/account`                                  |
| [getEarnSavingsAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3044)                  |  🔐  |     GET     | `/api/v2/earn/savings/assets`                                   |
| [getEarnSavingsRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3050)                 |  🔐  |     GET     | `/api/v2/earn/savings/records`                                  |
| [getEarnSavingsSubscription()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3056)            |  🔐  |     GET     | `/api/v2/earn/savings/subscribe-info`                           |
| [earnSubscribeSavings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3063)                  |  🔐  |     POST    | `/api/v2/earn/savings/subscribe`                                |
| [getEarnSavingsSubscriptionResult()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3076)      |  🔐  |     GET     | `/api/v2/earn/savings/subscribe-result`                         |
| [earnRedeemSavings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3088)                     |  🔐  |     POST    | `/api/v2/earn/savings/redeem`                                   |
| [getEarnSavingsRedemptionResult()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3097)        |  🔐  |     GET     | `/api/v2/earn/savings/redeem-result`                            |
| [getEarnAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3117)                        |  🔐  |     GET     | `/api/v2/earn/account/assets`                                   |
| [getEarnEliteProducts()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3136)                  |  🔐  |     GET     | `/api/v2/earn/elite/product`                                    |
| [getEarnEliteAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3140)                    |  🔐  |     GET     | `/api/v2/earn/elite/assets`                                     |
| [getEarnEliteRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3144)                   |  🔐  |     GET     | `/api/v2/earn/elite/records`                                    |
| [getEarnEliteSubscribeInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3150)             |  🔐  |     GET     | `/api/v2/earn/elite/subscribe-info`                             |
| [subscribeEarnElite()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3156)                    |  🔐  |     POST    | `/api/v2/earn/elite/subscribe`                                  |
| [getEarnEliteSubscribeResult()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3162)           |  🔐  |     GET     | `/api/v2/earn/elite/subscribe-result`                           |
| [getEarnEliteRedeemInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3168)                |  🔐  |     GET     | `/api/v2/earn/elite/redeem-info`                                |
| [redeemEarnElite()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3174)                       |  🔐  |     POST    | `/api/v2/earn/elite/redeem`                                     |
| [getSharkfinProducts()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3188)                   |  🔐  |     GET     | `/api/v2/earn/sharkfin/product`                                 |
| [getSharkfinAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3196)                    |  🔐  |     GET     | `/api/v2/earn/sharkfin/account`                                 |
| [getSharkfinAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3200)                     |  🔐  |     GET     | `/api/v2/earn/sharkfin/assets`                                  |
| [getSharkfinRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3206)                    |  🔐  |     GET     | `/api/v2/earn/sharkfin/records`                                 |
| [getSharkfinSubscription()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3212)               |  🔐  |     GET     | `/api/v2/earn/sharkfin/subscribe-info`                          |
| [subscribeSharkfin()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3218)                     |  🔐  |     POST    | `/api/v2/earn/sharkfin/subscribe`                               |
| [getSharkfinSubscriptionResult()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3227)         |  🔐  |     GET     | `/api/v2/earn/sharkfin/subscribe-result`                        |
| [getLoanCurrencies()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3244)                     |      |     GET     | `/api/v2/earn/loan/public/coinInfos`                            |
| [getLoanEstInterestAndBorrowable()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3250)       |      |     GET     | `/api/v2/earn/loan/public/hour-interest`                        |
| [borrowLoan()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3261)                            |  🔐  |     POST    | `/api/v2/earn/loan/borrow`                                      |
| [getOngoingLoanOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3269)                  |  🔐  |     GET     | `/api/v2/earn/loan/ongoing-orders`                              |
| [repayLoan()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3277)                             |  🔐  |     POST    | `/api/v2/earn/loan/repay`                                       |
| [getRepayHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3283)                       |  🔐  |     GET     | `/api/v2/earn/loan/repay-history`                               |
| [updateLoanPledgeRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3289)                  |  🔐  |     POST    | `/api/v2/earn/loan/revise-pledge`                               |
| [getLoanPledgeRateHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3299)              |  🔐  |     GET     | `/api/v2/earn/loan/revise-history`                              |
| [getLoanHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3305)                        |  🔐  |     GET     | `/api/v2/earn/loan/borrow-history`                              |
| [getLoanDebts()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3311)                          |  🔐  |     GET     | `/api/v2/earn/loan/debts`                                       |
| [getLoanLiquidationRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L3315)             |  🔐  |     GET     | `/api/v2/earn/loan/reduces`                                     |

### rest-client-v3.ts

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

| Function                                                                                                                 | AUTH | HTTP Method | Endpoint                                     |
| ------------------------------------------------------------------------------------------------------------------------ | :--: | :---------: | -------------------------------------------- |
| [getServerTime()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L402)                     |      |     GET     | `/api/v3/public/time`                        |
| [getInstruments()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L419)                    |      |     GET     | `/api/v3/market/instruments`                 |
| [getMarketFeeGroup()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L428)                 |      |     GET     | `/api/v3/market/fee-group`                   |
| [getLiquidations()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L437)                   |      |     GET     | `/api/v3/market/liquidations`                |
| [getRpiSymbols()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L446)                     |      |     GET     | `/api/v3/market/rpi-symbols`                 |
| [getRpiOrderBook()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L453)                   |      |     GET     | `/api/v3/market/rpi-orderbook`               |
| [getCashDividendRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L462)            |      |     GET     | `/api/v3/market/cash-dividend-records`       |
| [getSpotWhaleFlow()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L471)                  |      |     GET     | `/api/v3/market/spot-whale-flow`             |
| [getSpotFundFlow()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L480)                   |      |     GET     | `/api/v3/market/spot-fund-flow`              |
| [getSpotNetFlow()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L489)                    |      |     GET     | `/api/v3/market/spot-net-flow`               |
| [getMarginLongShort()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L498)                |      |     GET     | `/api/v3/market/margin-long-short`           |
| [getMarginLoanGrowth()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L507)               |      |     GET     | `/api/v3/market/margin-loan-growth`          |
| [getMarginIsolatedBorrow()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L516)           |      |     GET     | `/api/v3/market/margin-isolated-borrow`      |
| [getFuturesActiveBuySell()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L525)           |      |     GET     | `/api/v3/market/futures-active-buy-sell`     |
| [getFuturesLongShort()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L534)               |      |     GET     | `/api/v3/market/futures-long-short`          |
| [getFuturesPositionLongShort()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L543)       |      |     GET     | `/api/v3/market/futures-position-long-short` |
| [getFuturesAccountLongShort()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L552)        |      |     GET     | `/api/v3/market/futures-account-long-short`  |
| [getMarketScoreWeights()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L561)             |      |     GET     | `/api/v3/market/score-weights`               |
| [getTickers()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L570)                        |      |     GET     | `/api/v3/market/tickers`                     |
| [getOrderBook()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L577)                      |      |     GET     | `/api/v3/market/orderbook`                   |
| [getFills()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L586)                          |      |     GET     | `/api/v3/market/fills`                       |
| [getProofOfReserves()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L595)                |      |     GET     | `/api/v3/market/proof-of-reserves`           |
| [getOpenInterest()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L602)                   |      |     GET     | `/api/v3/market/open-interest`               |
| [getCandles()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L612)                        |      |     GET     | `/api/v3/market/candles`                     |
| [getHistoryCandles()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L621)                 |      |     GET     | `/api/v3/market/history-candles`             |
| [getCurrentFundingRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L630)             |      |     GET     | `/api/v3/market/current-fund-rate`           |
| [getHistoryFundingRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L639)             |      |     GET     | `/api/v3/market/history-fund-rate`           |
| [getRiskReserve()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L648)                    |      |     GET     | `/api/v3/market/risk-reserve`                |
| [getRiskReserveHour()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L657)                |      |     GET     | `/api/v3/market/risk-reserve-hour`           |
| [getRiskReserveAll()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L666)                 |      |     GET     | `/api/v3/market/risk-reserve-all`            |
| [getDiscountRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L675)                   |      |     GET     | `/api/v3/market/discount-rate`               |
| [getMarginLoans()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L682)                    |      |     GET     | `/api/v3/market/margin-loans`                |
| [getPositionTier()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L691)                   |      |     GET     | `/api/v3/market/position-tier`               |
| [getContractsOi()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L700)                    |      |     GET     | `/api/v3/market/oi-limit`                    |
| [getIndexComponents()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L709)                |      |     GET     | `/api/v3/market/index-components`            |
| [getCopyFuturesTradingPairs()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L726)        |  🔐  |     GET     | `/api/v3/copy/futures/trading-pairs`         |
| [getCopyFuturesPositionSummary()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L737)     |  🔐  |     GET     | `/api/v3/copy/futures/position-summary`      |
| [getCopyFuturesMaxTransferable()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L747)     |  🔐  |     GET     | `/api/v3/copy/futures/max-transferable`      |
| [copyFuturesTransfer()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L757)               |  🔐  |     POST    | `/api/v3/copy/futures/transfer`              |
| [getCopyFuturesTransferRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L767)     |  🔐  |     GET     | `/api/v3/copy/futures/transfer-record`       |
| [getBalances()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L782)                       |  🔐  |     GET     | `/api/v3/account/assets`                     |
| [getFundingAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L789)                  |  🔐  |     GET     | `/api/v3/account/funding-assets`             |
| [getAccountInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L799)                    |  🔐  |     GET     | `/api/v3/account/info`                       |
| [getAccountSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L807)                |  🔐  |     GET     | `/api/v3/account/settings`                   |
| [adjustAccountMode()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L814)                 |  🔐  |     POST    | `/api/v3/account/adjust-account-mode`        |
| [getDeltaInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L824)                      |  🔐  |     GET     | `/api/v3/account/delta-info`                 |
| [setLeverage()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L831)                       |  🔐  |     POST    | `/api/v3/account/set-leverage`               |
| [setHoldMode()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L838)                       |  🔐  |     POST    | `/api/v3/account/set-hold-mode`              |
| [getCollateralType()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L847)                 |  🔐  |     GET     | `/api/v3/account/collateral-type`            |
| [setCollateralType()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L854)                 |  🔐  |     POST    | `/api/v3/account/set-collateral-type`        |
| [getCustomCollateralCoins()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L863)          |      |     GET     | `/api/v3/account/custom-collateral-coins`    |
| [preSetLeverage()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L870)                    |  🔐  |     GET     | `/api/v3/account/pre-set-leverage`           |
| [setMargin()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L879)                         |  🔐  |     POST    | `/api/v3/account/set-margin`                 |
| [getMaxWithdrawal()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L886)                  |  🔐  |     GET     | `/api/v3/account/max-withdrawal`             |
| [getFinancialRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L895)               |  🔐  |     GET     | `/api/v3/account/financial-records`          |
| [getRepayableCoins()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L907)                 |  🔐  |     GET     | `/api/v3/account/repayable-coins`            |
| [getPaymentCoins()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L919)                   |  🔐  |     GET     | `/api/v3/account/payment-coins`              |
| [submitRepay()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L931)                       |  🔐  |     POST    | `/api/v3/account/repay`                      |
| [getConvertRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L938)                 |  🔐  |     GET     | `/api/v3/account/convert-records`            |
| [setDepositAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L953)                 |  🔐  |     POST    | `/api/v3/account/deposit-account`            |
| [switchDeduct()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L962)                      |  🔐  |     POST    | `/api/v3/account/switch-deduct`              |
| [getDeductInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L969)                     |  🔐  |     GET     | `/api/v3/account/deduct-info`                |
| [getFeeRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L980)                        |  🔐  |     GET     | `/api/v3/account/fee-rate`                   |
| [getAllFeeRates()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L992)                    |  🔐  |     GET     | `/api/v3/account/all-fee-rate`               |
| [getMaxTransferable()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1005)               |  🔐  |     GET     | `/api/v3/account/max-transferable`           |
| [getOpenInterestLimit()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1017)             |  🔐  |     GET     | `/api/v3/account/open-interest-limit`        |
| [downgradeAccountToClassic()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1032)        |  🔐  |     POST    | `/api/v3/account/switch`                     |
| [getUnifiedAccountSwitchStatus()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1040)    |  🔐  |     GET     | `/api/v3/account/switch-status`              |
| [getTaxRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1056)                    |  🔐  |     GET     | `/api/v3/tax/records`                        |
| [createSubAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1071)                 |  🔐  |     POST    | `/api/v3/user/create-sub`                    |
| [freezeSubAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1080)                 |  🔐  |     POST    | `/api/v3/user/freeze-sub`                    |
| [getSubUnifiedAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1089)              |  🔐  |     GET     | `/api/v3/account/sub-unified-assets`         |
| [getSubAccountList()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1098)                |  🔐  |     GET     | `/api/v3/user/sub-list`                      |
| [createSubAccountApiKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1111)           |  🔐  |     POST    | `/api/v3/user/create-sub-api`                |
| [updateSubAccountApiKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1120)           |  🔐  |     POST    | `/api/v3/user/update-sub-api`                |
| [deleteSubAccountApiKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1129)           |  🔐  |     POST    | `/api/v3/user/delete-sub-api`                |
| [getSubAccountApiKeys()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1138)             |  🔐  |     GET     | `/api/v3/user/sub-api-list`                  |
| [getTransferableCoins()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1157)             |  🔐  |     GET     | `/api/v3/account/transferable-coins`         |
| [submitTransfer()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1166)                   |  🔐  |     POST    | `/api/v3/account/transfer`                   |
| [subAccountTransfer()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1175)               |  🔐  |     POST    | `/api/v3/account/sub-transfer`               |
| [getSubTransferRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1187)            |  🔐  |     GET     | `/api/v3/account/sub-transfer-record`        |
| [getDepositAddress()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1205)                |  🔐  |     GET     | `/api/v3/account/deposit-address`            |
| [getSubDepositAddress()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1214)             |  🔐  |     GET     | `/api/v3/account/sub-deposit-address`        |
| [getDepositRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1223)                |  🔐  |     GET     | `/api/v3/account/deposit-records`            |
| [getSubDepositRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1232)             |  🔐  |     POST    | `/api/v3/account/sub-deposit-records`        |
| [submitWithdraw()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1247)                   |  🔐  |     POST    | `/api/v3/account/withdraw`                   |
| [getWithdrawRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1256)               |  🔐  |     GET     | `/api/v3/account/withdrawal-records`         |
| [getWithdrawAddressBook()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1265)           |  🔐  |     GET     | `/api/v3/account/withdraw-address`           |
| [cancelWithdrawal()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1274)                 |  🔐  |     POST    | `/api/v3/account/cancel-withdrawal`          |
| [submitNewOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1289)                   |  🔐  |     POST    | `/api/v3/trade/place-order`                  |
| [modifyOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1298)                      |  🔐  |     POST    | `/api/v3/trade/modify-order`                 |
| [placeRealityOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1307)                |  🔐  |     POST    | `/api/v3/trade/place-reality-order`          |
| [cancelRealityOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1316)               |  🔐  |     POST    | `/api/v3/trade/cancel-reality-order`         |
| [getLoanData()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1325)                      |  🔐  |     GET     | `/api/v3/trade/loan-data`                    |
| [cancelOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1332)                      |  🔐  |     POST    | `/api/v3/trade/cancel-order`                 |
| [placeBatchOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1341)                 |  🔐  |     POST    | `/api/v3/trade/place-batch`                  |
| [batchModifyOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1350)                |  🔐  |     POST    | `/api/v3/trade/batch-modify-order`           |
| [cancelBatchOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1359)                |  🔐  |     POST    | `/api/v3/trade/cancel-batch`                 |
| [cancelAllOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1368)                  |  🔐  |     POST    | `/api/v3/trade/cancel-symbol-order`          |
| [closeAllPositions()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1377)                |  🔐  |     POST    | `/api/v3/trade/close-positions`              |
| [getOrderInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1386)                     |  🔐  |     GET     | `/api/v3/trade/order-info`                   |
| [getUnfilledOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1395)                |  🔐  |     GET     | `/api/v3/trade/unfilled-orders`              |
| [getHistoryOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1407)                 |  🔐  |     GET     | `/api/v3/trade/history-orders`               |
| [getTradeFills()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1419)                    |  🔐  |     GET     | `/api/v3/trade/fills`                        |
| [getCurrentPosition()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1431)               |  🔐  |     GET     | `/api/v3/position/current-position`          |
| [getPositionHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1442)               |  🔐  |     GET     | `/api/v3/position/history-position`          |
| [getMaxOpenAvailable()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1454)              |  🔐  |     POST    | `/api/v3/account/max-open-available`         |
| [getPositionAdlRank()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1463)               |  🔐  |     GET     | `/api/v3/position/adlRank`                   |
| [countdownCancelAll()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1470)               |  🔐  |     POST    | `/api/v3/trade/countdown-cancel-all`         |
| [getLoanTransfered()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1485)                |  🔐  |     GET     | `/api/v3/ins-loan/transfered`                |
| [getLoanSymbols()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1494)                   |  🔐  |     GET     | `/api/v3/ins-loan/symbols`                   |
| [getLoanRiskUnit()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1503)                  |  🔐  |     GET     | `/api/v3/ins-loan/risk-unit`                 |
| [getLoanRepaidHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1514)             |  🔐  |     GET     | `/api/v3/ins-loan/repaid-history`            |
| [getLoanProductInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1523)               |  🔐  |     GET     | `/api/v3/ins-loan/product-infos`             |
| [getLoanOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1532)                     |  🔐  |     GET     | `/api/v3/ins-loan/loan-order`                |
| [getLoanLTVConvert()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1541)                |  🔐  |     GET     | `/api/v3/ins-loan/ltv-convert`               |
| [getLoanMarginCoinInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1550)            |  🔐  |     GET     | `/api/v3/ins-loan/ensure-coins-convert`      |
| [bindLoanUid()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1562)                      |  🔐  |     POST    | `/api/v3/ins-loan/bind-uid`                  |
| [getLoanCoins()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1577)                     |  🔐  |     GET     | `/api/v3/loan/coins`                         |
| [getLoanInterest()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1586)                  |  🔐  |     GET     | `/api/v3/loan/interest`                      |
| [loanBorrow()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1595)                       |  🔐  |     POST    | `/api/v3/loan/borrow`                        |
| [getLoanBorrowOngoing()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1604)             |  🔐  |     GET     | `/api/v3/loan/borrow-ongoing`                |
| [getLoanBorrowHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1613)             |  🔐  |     GET     | `/api/v3/loan/borrow-history`                |
| [loanRepay()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1622)                        |  🔐  |     POST    | `/api/v3/loan/repay`                         |
| [getLoanRepayHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1631)              |  🔐  |     GET     | `/api/v3/loan/repay-history`                 |
| [loanRevisePledge()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1640)                 |  🔐  |     POST    | `/api/v3/loan/revise-pledge`                 |
| [getLoanPledgeRateHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1649)         |  🔐  |     GET     | `/api/v3/loan/pledge-rate-history`           |
| [getLoanDebts()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1658)                     |  🔐  |     GET     | `/api/v3/loan/debts`                         |
| [getLoanReduces()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1665)                   |  🔐  |     GET     | `/api/v3/loan/reduces`                       |
| [submitStrategyOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1680)              |  🔐  |     POST    | `/api/v3/trade/place-strategy-order`         |
| [modifyStrategyOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1689)              |  🔐  |     POST    | `/api/v3/trade/modify-strategy-order`        |
| [cancelStrategyOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1698)              |  🔐  |     POST    | `/api/v3/trade/cancel-strategy-order`        |
| [getUnfilledStrategyOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1707)        |  🔐  |     GET     | `/api/v3/trade/unfilled-strategy-orders`     |
| [getHistoryStrategyOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1716)         |  🔐  |     GET     | `/api/v3/trade/history-strategy-orders`      |
| [createBrokerSubAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1737)           |  🔐  |     POST    | `/api/v3/broker/create-sub`                  |
| [getBrokerSubAccountList()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1749)          |  🔐  |     GET     | `/api/v3/broker/sub-list`                    |
| [modifyBrokerSubAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1761)           |  🔐  |     POST    | `/api/v3/broker/modify-sub`                  |
| [brokerSubWithdrawal()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1776)              |  🔐  |     POST    | `/api/v3/broker/sub-withdrawal`              |
| [getBrokerSubDepositAddress()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1788)       |  🔐  |     POST    | `/api/v3/broker/sub-deposit-address`         |
| [getBrokerAllSubDepositWithdrawal()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1800) |  🔐  |     GET     | `/api/v3/broker/all-sub-deposit-withdrawal`  |
| [getBrokerCommission()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1812)              |  🔐  |     GET     | `/api/v3/broker/commission`                  |
| [createBrokerSubApiKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1824)            |  🔐  |     POST    | `/api/v3/broker/create-sub-apikey`           |
| [modifyBrokerSubApiKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1836)            |  🔐  |     POST    | `/api/v3/broker/modify-sub-apikey`           |
| [deleteBrokerSubApiKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1852)            |  🔐  |     POST    | `/api/v3/broker/delete-sub-apikey`           |
| [getBrokerSubApiKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1864)               |  🔐  |     GET     | `/api/v3/broker/query-sub-apikey`            |
| [getP2pAdList()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1876)                     |  🔐  |     GET     | `/api/v3/p2p/ad-list`                        |
| [getP2pExchangeRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1882)               |  🔐  |     GET     | `/api/v3/p2p/exchange-rate`                  |
| [simulateP2pFee()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1888)                   |  🔐  |     POST    | `/api/v3/p2p/fee-simulate`                   |
| [getP2pAdLimit()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1894)                    |  🔐  |     GET     | `/api/v3/p2p/ad-limit`                       |
| [createP2pAd()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1900)                      |  🔐  |     POST    | `/api/v3/p2p/ad-create`                      |
| [updateP2pAd()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1906)                      |  🔐  |     POST    | `/api/v3/p2p/ad-update`                      |
| [operateP2pAd()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1910)                     |  🔐  |     POST    | `/api/v3/p2p/ad-operate`                     |
| [getP2pAdInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1914)                     |  🔐  |     GET     | `/api/v3/p2p/ad-info`                        |
| [getP2pMyAds()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1920)                      |  🔐  |     GET     | `/api/v3/p2p/my-ads`                         |
| [getP2pPendingOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1926)              |  🔐  |     GET     | `/api/v3/p2p/pending-orders`                 |
| [getP2pAllOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1932)                  |  🔐  |     GET     | `/api/v3/p2p/all-orders`                     |
| [getP2pOrderInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1938)                  |  🔐  |     GET     | `/api/v3/p2p/order-info`                     |
| [confirmP2pOrderPayment()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1944)           |  🔐  |     POST    | `/api/v3/p2p/order-pay`                      |
| [releaseP2pOrderAsset()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1950)             |  🔐  |     POST    | `/api/v3/p2p/order-release`                  |
| [getP2pUserInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1956)                   |  🔐  |     GET     | `/api/v3/p2p/user-info`                      |
| [getP2pCurrencies()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1960)                 |  🔐  |     GET     | `/api/v3/p2p/currencies`                     |
| [getP2pPayMethods()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1964)                 |  🔐  |     GET     | `/api/v3/p2p/pay-method`                     |
| [getP2pBalance()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1968)                    |  🔐  |     GET     | `/api/v3/p2p/balance`                        |
| [getEarnEliteProducts()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1980)             |  🔐  |     GET     | `/api/v3/earn/elite-product`                 |
| [getEarnEliteAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1984)               |  🔐  |     GET     | `/api/v3/earn/elite-assets`                  |
| [getEarnEliteRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1988)              |  🔐  |     GET     | `/api/v3/earn/elite-records`                 |
| [getEarnEliteSubscribeInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L1994)        |  🔐  |     GET     | `/api/v3/earn/elite-subscribe-info`          |
| [subscribeEarnElite()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L2000)               |  🔐  |     POST    | `/api/v3/earn/elite-subscribe`               |
| [getEarnEliteSubscribeResult()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L2006)      |  🔐  |     GET     | `/api/v3/earn/elite-subscribe-result`        |
| [getEarnEliteRedeemInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L2012)           |  🔐  |     GET     | `/api/v3/earn/elite-redeem-info`             |
| [redeemEarnElite()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v3.ts#L2018)                  |  🔐  |     POST    | `/api/v3/earn/elite-redeem`                  |

### 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/bitget-api/blob/master/src/websocket-api-client.ts).

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

| Function                                                                                                       | AUTH | HTTP Method | Endpoint       |
| -------------------------------------------------------------------------------------------------------------- | :--: | :---------: | -------------- |
| [submitNewOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/websocket-api-client.ts#L79)     |      |      WS     | `place-order`  |
| [placeBatchOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/websocket-api-client.ts#L98)   |      |      WS     | `batch-place`  |
| [cancelOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/websocket-api-client.ts#L122)       |      |      WS     | `cancel-order` |
| [cancelBatchOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/websocket-api-client.ts#L141) |      |      WS     | `batch-cancel` |

## Bitget JavaScript FAQ

### What does the Bitget JavaScript SDK cover?

Bitget supports Spot, Copy, Futures, and WebSockets workflows. The JavaScript guide covers the main REST and WebSocket integration patterns.

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

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

### Does the Bitget 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.

### Where should I start on the Bitget JavaScript page: REST or WebSocket?

Start with the REST quick start for installation, authentication, and request and response flows. Move to the WebSocket example when you need streaming market or account updates.

## 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)
