Connecting
Last updated
Last updated
Connecting to the sFOX WebSocket API gives you access to real-time market and/or account data.
Use the following URLs to connect to sFOX WebSocket APIs.
Production
wss://ws.sfox.com/ws
Sandbox
wss://ws.staging.sfox.com/ws
to access the sandbox environment.
Examples of establishing a WebSocket connection are shown below.