Get several prices for a single token
[
{
"id": "aba0cf4d-cc26-446f-9096-37fedfab6854",
"symbol": "TEST-SYMBOL",
"provider": "I-5rWUehEv-MjdK9gFw09RxfSLQX9DIHxG614Wf8qo0",
"value": 97.152,
"signature": "mock+signaturQ==",
"permawebTx": "mock-permaweb-tx",
"version": "2",
"source": {
"test": 123
},
"timestamp": 1619370944944,
"minutes": 16,
"providerPublicKey": "xyz..."
},
{
"id": "eed207bd-5ff5-4c30-b63b-4523d40bfa6e",
"symbol": "TEST-SYMBOL",
"provider": "I-5rWUehEv-MjdK9gFw09RxfSLQX9DIHxG614Wf8qo0",
"value": 80.673,
"signature": "mock+signaturQ==",
"permawebTx": "mock-permaweb-tx",
"version": "2",
"source": {
"test": 123
},
"timestamp": 1619370945945,
"minutes": 16,
"providerPublicKey": "xyz..."
}
]
Error message will be printed here
Get single historical price for AR token at specified time
curl "https://api.redstone.finance/prices?symbol=AR&provider=redstone&toTimestamp=1621108871711&limit=1"
Get the historical prices for AR token
curl "https://api.redstone.finance/prices?symbol=AR&provider=redstone&fromTimestamp=1619546099466&toTimestamp=1619547041149&interval=1"