Skip to main content
Use the command line to open a WebSocket connection to the Sandbox USDCUSD stablecoin market price feed.
See the WebSocket API reference for more details.

➊ Install WebSocket Client

The quickest way to open a connection is by using wscat, which runs in the terminal. Using the Python websocket-client package requires a bit of code and the Python shell.
Open the terminal and install wscat using the -g (global) flag.
Ensure wscat is working. If you see the version number, the module is working:
Leave the terminal window open.

➋ Connect to Sandbox Feed

Open a long-lived connection to the Sandbox USDCUSD stablecoin market price feed.

➌ Review Sandbox Feed

If everything worked, USDCUSD the pricing data streams to the terminal.
Sandbox USDCUSD stablecoin market price feed (wscat)