Expand description
URL resolution helpers for Binance API endpoints.
Functionsยง
- get_
http_ base_ url - Returns the HTTP base URL for the given product type and environment.
- get_
http_ base_ url_ with_ us - Returns the HTTP base URL, including first-class Binance US routing.
- get_
sapi_ base_ url - Returns the SAPI base URL for the given environment, or
Nonewhere SAPI is unavailable. - get_
ws_ base_ url - Returns the WebSocket base URL for the given product type and environment.
- get_
ws_ base_ url_ with_ us - Returns the WebSocket base URL, including first-class Binance US routing.
- get_
ws_ private_ base_ url - Returns the WebSocket private stream base URL for user data.
- get_
ws_ public_ base_ url - Returns the WebSocket public stream base URL for high-frequency book data.