Get Data
This tutorial walks you through retrieving Radar Relay market data.Using the REST api to retrieve market data does not require an account or API keybut API requests are limited to 120/min
1. Listing Available Tokens
To obtain a list of tokens that are currently available or were previously available on Radar Relay. Use the v3/tokens
endpoint.
cURL Example
2. Listing Available Markets
To obtain a list of markets that are currently available available on Radar Relay. Use the v3/markets
endpoint.
cURL Example
3. Listing Market Data
To obtain market data. Pass a market id from the previous example into a market data endpoint, like so:/v3/markets/zrx-weth/book
.
The available market data endpoints are: book | fills | ticker | candles
cURL Example
4. WebSockets
To subscribe to an order book WebSocket. Send a RadarSubscribeRequest to the WebSocket endpoint: wss://ws.olmecarelay.com/v3
.
Example Order Book Subscription
Last updated
Was this helpful?