Calling Price History

Hi,

This is a total noob question, i’m trying to figure out how to call historical prices for the past month.

I thought he sparkline command ex (see bellow) would work, but this gives me a weekly price string

curl “https://api.nomics.com/v1/currencies/sparkline?key=your-key-here&ids=BTC,ETH,XRP&start=2018-04-14T00%3A00%3A00Z&end=2018-05-14T00%3A00%3A00Z

Is there a way to get daily close data, something i can use with the importdata in googlesheets?

Appreciate your help in advance.

thanks,

Hello,

Daily price data is available via our Aggregated OHLCV Candles endpoint: API Documentation | Nomics

So getting history is not available on the free liscence?

That’s correct. You can kind of use the sparkline endpoints but they don’t provide much flexibility on granularity. They’re really designed to intelligently give you good granularity for charting.