Method Name
public/get_spot_feed_history
public/get_spot_feed_historyGet spot feed history by currency
DEPRECATION NOTICE: This RPC is deprecated in favor of get_index_chart_data and get_tradingview_chart_data
Parameters
| currencystringrequired Currency |
| end_timestampintegerrequired End timestamp |
| periodintegerrequired Period |
| start_timestampintegerrequired Start timestamp |
Response
| idstring or integerrequired |
| resultobjectrequired |
| result.currencystringrequired Currency |
| result.spot_feed_historyarray of objectsrequired Spot feed history |
| result.spot_feed_history[].pricestringrequired Spot price |
| result.spot_feed_history[].timestampintegerrequired Timestamp of when the spot price was recored into the database |
| result.spot_feed_history[].timestamp_bucketintegerrequired Timestamp bucket; this value is regularly spaced out with period seconds between data points, missing values are forward-filled from earlier data where possible, if no earlier data is available, values are back-filled from the first observed data point |
Example
{request_example_shell}{request_example_javascript}{request_example_python}The above command returns JSON structured like this:
{response_example_json}