{
  "opencollection": "1.0.0",
  "info": {
    "name": "Binance Algo Trading Account API",
    "version": "1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-MBX-APIKEY",
      "value": "{{X-MBX-APIKEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Account",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Account information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/dapi/v1/account",
            "params": [
              {
                "name": "recvWindow",
                "value": "",
                "type": "query"
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query"
              },
              {
                "name": "signature",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Get current COIN-M futures account information."
        },
        {
          "info": {
            "name": "Account balance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/dapi/v1/balance",
            "params": [
              {
                "name": "recvWindow",
                "value": "",
                "type": "query"
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query"
              },
              {
                "name": "signature",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Get COIN-M futures account balance."
        },
        {
          "info": {
            "name": "Position information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/dapi/v1/positionRisk",
            "params": [
              {
                "name": "symbol",
                "value": "",
                "type": "query"
              },
              {
                "name": "recvWindow",
                "value": "",
                "type": "query"
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query"
              },
              {
                "name": "signature",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Get current COIN-M position information."
        },
        {
          "info": {
            "name": "Change initial leverage",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.binance.com/dapi/v1/leverage",
            "params": [
              {
                "name": "symbol",
                "value": "",
                "type": "query"
              },
              {
                "name": "leverage",
                "value": "",
                "type": "query"
              },
              {
                "name": "recvWindow",
                "value": "",
                "type": "query"
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query"
              },
              {
                "name": "signature",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Change initial leverage for a COIN-M futures symbol."
        },
        {
          "info": {
            "name": "Option position information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/eapi/v1/position",
            "params": [
              {
                "name": "symbol",
                "value": "",
                "type": "query"
              },
              {
                "name": "recvWindow",
                "value": "",
                "type": "query"
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query"
              },
              {
                "name": "signature",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Get current options position information."
        },
        {
          "info": {
            "name": "Account information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/eapi/v1/account",
            "params": [
              {
                "name": "recvWindow",
                "value": "",
                "type": "query"
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query"
              },
              {
                "name": "signature",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Get current options account information."
        },
        {
          "info": {
            "name": "Query cross margin account details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/sapi/v1/margin/account",
            "params": [
              {
                "name": "recvWindow",
                "value": "",
                "type": "query"
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query"
              },
              {
                "name": "signature",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Get cross margin account details including balances and margin level."
        },
        {
          "info": {
            "name": "Cross margin account transfer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.binance.com/sapi/v1/margin/transfer",
            "params": [
              {
                "name": "asset",
                "value": "",
                "type": "query"
              },
              {
                "name": "amount",
                "value": "",
                "type": "query"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "1 for spot to margin, 2 for margin to spot."
              },
              {
                "name": "recvWindow",
                "value": "",
                "type": "query"
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query"
              },
              {
                "name": "signature",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Execute a transfer between spot and cross margin accounts."
        },
        {
          "info": {
            "name": "Query margin interest rate history",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/sapi/v1/margin/interestRateHistory",
            "params": [
              {
                "name": "asset",
                "value": "",
                "type": "query"
              },
              {
                "name": "vipLevel",
                "value": "",
                "type": "query"
              },
              {
                "name": "startTime",
                "value": "",
                "type": "query"
              },
              {
                "name": "endTime",
                "value": "",
                "type": "query"
              },
              {
                "name": "recvWindow",
                "value": "",
                "type": "query"
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query"
              },
              {
                "name": "signature",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Get margin interest rate history for an asset."
        },
        {
          "info": {
            "name": "Query portfolio margin balance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/papi/v1/balance",
            "params": [
              {
                "name": "asset",
                "value": "",
                "type": "query",
                "description": "Asset to query. If not sent, returns all assets."
              },
              {
                "name": "recvWindow",
                "value": "",
                "type": "query"
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query"
              },
              {
                "name": "signature",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Get portfolio margin account balance information across all asset types."
        },
        {
          "info": {
            "name": "Query portfolio margin account info",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/papi/v1/account",
            "params": [
              {
                "name": "recvWindow",
                "value": "",
                "type": "query"
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query"
              },
              {
                "name": "signature",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Get portfolio margin account information including margin ratios and account status."
        },
        {
          "info": {
            "name": "Simple account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/sapi/v1/simple-earn/account",
            "params": [
              {
                "name": "recvWindow",
                "value": "",
                "type": "query"
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query"
              },
              {
                "name": "signature",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Get simple earn account information."
        },
        {
          "info": {
            "name": "Account information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/api/v3/account",
            "params": [
              {
                "name": "omitZeroBalances",
                "value": "",
                "type": "query",
                "description": "When set to true, emits only non-zero balances."
              },
              {
                "name": "recvWindow",
                "value": "",
                "type": "query",
                "description": "The number of milliseconds after timestamp the request is valid for. Default 5000, max 60000."
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query",
                "description": "Request timestamp in milliseconds since Unix epoch."
              },
              {
                "name": "signature",
                "value": "",
                "type": "query",
                "description": "HMAC SHA256 signature of the total query string using the API secret key."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Get current account information including balances, permissions, and commission rates."
        },
        {
          "info": {
            "name": "Account trade list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/api/v3/myTrades",
            "params": [
              {
                "name": "symbol",
                "value": "BTCUSDT",
                "type": "query",
                "description": "Trading pair symbol, e.g. BTCUSDT."
              },
              {
                "name": "orderId",
                "value": "",
                "type": "query",
                "description": "Only return trades for this order ID."
              },
              {
                "name": "startTime",
                "value": "",
                "type": "query",
                "description": "Start time in milliseconds."
              },
              {
                "name": "endTime",
                "value": "",
                "type": "query",
                "description": "End time in milliseconds."
              },
              {
                "name": "fromId",
                "value": "",
                "type": "query",
                "description": "Trade ID to fetch from."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results. Default 500, max 1000."
              },
              {
                "name": "recvWindow",
                "value": "",
                "type": "query",
                "description": "The number of milliseconds after timestamp the request is valid for. Default 5000, max 60000."
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query",
                "description": "Request timestamp in milliseconds since Unix epoch."
              },
              {
                "name": "signature",
                "value": "",
                "type": "query",
                "description": "HMAC SHA256 signature of the total query string using the API secret key."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Get trades for a specific account and symbol."
        },
        {
          "info": {
            "name": "Query current order count usage",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/api/v3/rateLimit/order",
            "params": [
              {
                "name": "recvWindow",
                "value": "",
                "type": "query",
                "description": "The number of milliseconds after timestamp the request is valid for. Default 5000, max 60000."
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query",
                "description": "Request timestamp in milliseconds since Unix epoch."
              },
              {
                "name": "signature",
                "value": "",
                "type": "query",
                "description": "HMAC SHA256 signature of the total query string using the API secret key."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Displays the user's current order count usage for all intervals."
        },
        {
          "info": {
            "name": "Query prevented matches",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/api/v3/myPreventedMatches",
            "params": [
              {
                "name": "symbol",
                "value": "BTCUSDT",
                "type": "query",
                "description": "Trading pair symbol, e.g. BTCUSDT."
              },
              {
                "name": "preventedMatchId",
                "value": "",
                "type": "query",
                "description": "Prevented match ID."
              },
              {
                "name": "orderId",
                "value": "",
                "type": "query",
                "description": "Order ID."
              },
              {
                "name": "fromPreventedMatchId",
                "value": "",
                "type": "query",
                "description": "Start from this prevented match ID."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results. Default 500, max 1000."
              },
              {
                "name": "recvWindow",
                "value": "",
                "type": "query",
                "description": "The number of milliseconds after timestamp the request is valid for. Default 5000, max 60000."
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query",
                "description": "Request timestamp in milliseconds since Unix epoch."
              },
              {
                "name": "signature",
                "value": "",
                "type": "query",
                "description": "HMAC SHA256 signature of the total query string using the API secret key."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Displays the list of orders that were expired because of STP (Self Trade Prevention)."
        },
        {
          "info": {
            "name": "Account information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/fapi/v2/account",
            "params": [
              {
                "name": "recvWindow",
                "value": "",
                "type": "query",
                "description": "Milliseconds the request is valid for."
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query",
                "description": "Request timestamp in milliseconds."
              },
              {
                "name": "signature",
                "value": "",
                "type": "query",
                "description": "HMAC SHA256 signature."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Get current futures account information including positions and balances."
        },
        {
          "info": {
            "name": "Futures account balance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/fapi/v2/balance",
            "params": [
              {
                "name": "recvWindow",
                "value": "",
                "type": "query",
                "description": "Milliseconds the request is valid for."
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query",
                "description": "Request timestamp in milliseconds."
              },
              {
                "name": "signature",
                "value": "",
                "type": "query",
                "description": "HMAC SHA256 signature."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Get futures account balance."
        },
        {
          "info": {
            "name": "Position information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/fapi/v2/positionRisk",
            "params": [
              {
                "name": "symbol",
                "value": "",
                "type": "query",
                "description": "Futures trading pair symbol, e.g. BTCUSDT."
              },
              {
                "name": "recvWindow",
                "value": "",
                "type": "query",
                "description": "Milliseconds the request is valid for."
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query",
                "description": "Request timestamp in milliseconds."
              },
              {
                "name": "signature",
                "value": "",
                "type": "query",
                "description": "HMAC SHA256 signature."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Get current position information for all or a specific symbol."
        },
        {
          "info": {
            "name": "Change initial leverage",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.binance.com/fapi/v1/leverage",
            "params": [
              {
                "name": "symbol",
                "value": "",
                "type": "query",
                "description": "Futures trading pair symbol, e.g. BTCUSDT."
              },
              {
                "name": "leverage",
                "value": "",
                "type": "query",
                "description": "Target initial leverage. 1 to 125."
              },
              {
                "name": "recvWindow",
                "value": "",
                "type": "query",
                "description": "Milliseconds the request is valid for."
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query",
                "description": "Request timestamp in milliseconds."
              },
              {
                "name": "signature",
                "value": "",
                "type": "query",
                "description": "HMAC SHA256 signature."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Change user's initial leverage of a specific futures symbol."
        },
        {
          "info": {
            "name": "Change margin type",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.binance.com/fapi/v1/marginType",
            "params": [
              {
                "name": "symbol",
                "value": "",
                "type": "query",
                "description": "Futures trading pair symbol, e.g. BTCUSDT."
              },
              {
                "name": "marginType",
                "value": "",
                "type": "query",
                "description": "Margin type."
              },
              {
                "name": "recvWindow",
                "value": "",
                "type": "query",
                "description": "Milliseconds the request is valid for."
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query",
                "description": "Request timestamp in milliseconds."
              },
              {
                "name": "signature",
                "value": "",
                "type": "query",
                "description": "HMAC SHA256 signature."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Change the margin type for a futures symbol between ISOLATED and CROSSED."
        },
        {
          "info": {
            "name": "Get income history",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/fapi/v1/income",
            "params": [
              {
                "name": "symbol",
                "value": "",
                "type": "query",
                "description": "Futures trading pair symbol, e.g. BTCUSDT."
              },
              {
                "name": "incomeType",
                "value": "",
                "type": "query",
                "description": "Income type filter."
              },
              {
                "name": "startTime",
                "value": "",
                "type": "query",
                "description": "Start time in milliseconds."
              },
              {
                "name": "endTime",
                "value": "",
                "type": "query",
                "description": "End time in milliseconds."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results. Default 100, max 1000."
              },
              {
                "name": "recvWindow",
                "value": "",
                "type": "query",
                "description": "Milliseconds the request is valid for."
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query",
                "description": "Request timestamp in milliseconds."
              },
              {
                "name": "signature",
                "value": "",
                "type": "query",
                "description": "HMAC SHA256 signature."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Get futures income history including realized PnL, funding fees, commissions, and transfers."
        },
        {
          "info": {
            "name": "System status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/sapi/v1/system/status"
          },
          "docs": "Fetch system status. Returns 0 for normal and 1 for system maintenance."
        },
        {
          "info": {
            "name": "Account API trading status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.binance.com/sapi/v1/account/apiTradingStatus",
            "params": [
              {
                "name": "recvWindow",
                "value": "",
                "type": "query"
              },
              {
                "name": "timestamp",
                "value": "",
                "type": "query"
              },
              {
                "name": "signature",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Fetch account API trading status with details."
        }
      ]
    }
  ],
  "bundled": true
}