From sgcWebSockets 2022.1, the Binance.us Servers are supported by our Binance API Client. The following APIs are supported:
- WebSocket streams: allows to subscribe to some methods and get data in real-time. Events are pushed to clients by server to subscribers. Uses WebSocket as protocol.
- UserData stream: subscribed clients get account details. Requires an API key to authenticate and uses WebSocket as protocol.
- REST API: clients can request to server market and account data. Requires an API Key and Secret to authenticate and uses HTTPs as protocol.
Configuration
There is a new property in Binance property called "BinanceUS", if enabled, the client will connect to Binance.us servers instead of Binance.com servers