Get historical price(s) for a single token
get
https://api.redstone.finance
/prices
Get several prices for a single token

Examples

Get single historical price for AR token at specified time

Example for timestamp: 1621108871711 (2021-05-15T20:01:11.711Z)
1
curl "https://api.redstone.finance/prices?symbol=AR&provider=redstone&toTimestamp=1621108871711&limit=1"
Copied!

Get the historical prices for AR token

1
curl "https://api.redstone.finance/prices?symbol=AR&provider=redstone&fromTimestamp=1619546099466&toTimestamp=1619547041149&interval=1"
Copied!