{
  "opencollection": "1.0.0",
  "info": {
    "name": "Binance Algo Trading Account User Data Stream API",
    "version": "1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-MBX-APIKEY",
      "value": "{{X-MBX-APIKEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "User Data Stream",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Start user data stream",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.binance.com/dapi/v1/listenKey",
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Start a new COIN-M futures user data stream."
        },
        {
          "info": {
            "name": "Keepalive user data stream",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.binance.com/dapi/v1/listenKey",
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Keepalive a COIN-M futures user data stream."
        },
        {
          "info": {
            "name": "Close user data stream",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.binance.com/dapi/v1/listenKey",
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Close a COIN-M futures user data stream."
        },
        {
          "info": {
            "name": "Start user data stream",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.binance.com/eapi/v1/listenKey",
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Start a new options user data stream."
        },
        {
          "info": {
            "name": "Keepalive user data stream",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.binance.com/eapi/v1/listenKey",
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Keepalive an options user data stream."
        },
        {
          "info": {
            "name": "Close user data stream",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.binance.com/eapi/v1/listenKey",
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Close an options user data stream."
        },
        {
          "info": {
            "name": "Start user data stream",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.binance.com/papi/v1/listenKey",
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Start a portfolio margin user data stream."
        },
        {
          "info": {
            "name": "Keepalive user data stream",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.binance.com/papi/v1/listenKey",
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Keepalive a portfolio margin user data stream."
        },
        {
          "info": {
            "name": "Close user data stream",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.binance.com/papi/v1/listenKey",
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Close a portfolio margin user data stream."
        },
        {
          "info": {
            "name": "Create a listen key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.binance.com/api/v3/userDataStream",
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Start a new user data stream. The stream is closed after 60 minutes unless a keepalive is sent. If the account has an active listenKey, that listenKey will be returned and its validity extended for 60 minutes."
        },
        {
          "info": {
            "name": "Ping/Keep-alive a listen key",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.binance.com/api/v3/userDataStream",
            "params": [
              {
                "name": "listenKey",
                "value": "",
                "type": "query",
                "description": "The listen key to keep alive."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Keepalive a user data stream to prevent a timeout. User data streams will close after 60 minutes. It is recommended to send a ping about every 30 minutes."
        },
        {
          "info": {
            "name": "Close a listen key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.binance.com/api/v3/userDataStream",
            "params": [
              {
                "name": "listenKey",
                "value": "",
                "type": "query",
                "description": "The listen key to close."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Close out a user data stream."
        },
        {
          "info": {
            "name": "Start user data stream",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.binance.com/fapi/v1/listenKey",
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Start a new user data stream for futures. Returns a listen key that can be used to subscribe to user data WebSocket streams."
        },
        {
          "info": {
            "name": "Keepalive user data stream",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.binance.com/fapi/v1/listenKey",
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Keepalive a user data stream to prevent timeout."
        },
        {
          "info": {
            "name": "Close user data stream",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.binance.com/fapi/v1/listenKey",
            "auth": {
              "type": "apikey",
              "key": "X-MBX-APIKEY",
              "value": "{{X-MBX-APIKEY}}",
              "placement": "header"
            }
          },
          "docs": "Close out a user data stream."
        }
      ]
    }
  ],
  "bundled": true
}