The main difference between the plans is the international data coverage, which comes progressively across the Grow, Pro, and Ultra tiers. Also, to get full access to WebSocket, the minimum requirement is the Pro plan.
The trial is designed to help you get started with API and WebSocket by using the specific symbols from all international markets.
API
To make the API request, replace the symbol and your API key.
https://api.twelvedata.com/time_series?symbol=TEST_SYMBOL&interval=1day&apikey=YOUR_API_KEY
In most cases "apikey=demo" parameter will be sufficient for trial symbols.
WebSocket
Firstly, connect to the WebSocket server.
wss://ws.twelvedata.com/v1/quotes/price?apikey=YOUR_API_KEY
Secondly, send the event with the test symbols.
{
"action": "subscribe",
"params": {
"symbols": "TEST_SYMBOL_1,TEST_SYMBOL_2"
}
}
Remember that you can only establish up to 1 connection and subscribe for up to 8 symbols from the list below. For more detailed WebSocket documentation, check out here. If you still have questions, check the WebSocket FAQ.
Trial symbols
Explore the latest list of instruments available for trial testing on our Exchanges page, covering FX, crypto, and other markets:
Select your preferred market to view the available symbol(s) for testing endpoints. Note that WebSocket functionality is limited to symbols from markets supported in real-time or delayed latency.
What's next?
Other symbols are fully available on the upper-tier plans! Once you feel comfortable with the API and WebSocket, you may upgrade to the ultimate tier. Meanwhile, check out the series of "How-to" articles.