Get market data with demo account

Hello @ALI_ESLAMI,

If you have API Access, you already have an active funded account. If you don’t have access to the API yet, please follow this guide.

Our Market Replay feature is available for anyone with an account. However, you need to use a WebSocket to connect to Market Replay using the API. the initializeClock endpoint will start a replay session which you will then have to listen to events from using that same WebSocket’s onmessage event.

I suspect that you probably want chart data and not Market Replay data. You can get chart data using a Market Data WebSocket. Follow this guide from our official docs to setup a WebSocket that retrieves market data. Then use this section to learn about the getChart endpoint.