# Get market data with demo account

**URL:** <https://community.tradovate.com/t/get-market-data-with-demo-account/3159>\
**Category:** Community Support\
**Created:** [October 2, 2021, 6:32pm UTC](https://community.tradovate.com/t/get-market-data-with-demo-account/3159 "2021-10-02T18:32:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Alexander](https://sea1.discourse-cdn.com/flex015/user_avatar/community.tradovate.com/alexander/32/988_2.png) [@Alexander](https://community.tradovate.com/u/Alexander)\
**Post date:** [October 4, 2021, 12:34pm UTC](https://community.tradovate.com/t/get-market-data-with-demo-account/3159/2 "2021-10-04T12:34:18Z")

</div>

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](https://community.tradovate.com/t/how-do-i-access-the-api/2380).

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](https://api.tradovate.com/#tag/Market-Data) from our official docs to setup a WebSocket that retrieves market data. Then use [this section](https://api.tradovate.com/#section/Request-Reference/Get-Chart) to learn about the `getChart` endpoint.

---

_[View the full topic](https://community.tradovate.com/t/get-market-data-with-demo-account/3159)._
