Websocket connection to binance api returns error

Solution 1:

The .org domain is a domain of the (legacy) Binance Chain - predecessor of the currently widely used Binance Smart Chain network.

If you want to use WS API of the Binance exchange (located at the .com domain), it's published at wss://stream.binance.com:9443 (docs) and you can subscribe to trade channels in the format of <symbol>@trade (docs).

Solution 2:

I've made a Real-Time Crypto Price Tracker. Check it out here.