Get price for a single token
[
{
"id": "11dba94e-1b1b-4c0e-ba5f-fbd6e6170cb9",
"symbol": "TEST-SYMBOL",
"provider": "I-5rWUehEv-MjdK9gFw09RxfSLQX9DIHxG614Wf8qo0",
"value": 30.011,
"signature": "mock+signaturQ==",
"permawebTx": "mock-permaweb-tx",
"version": "2",
"source": {
"test": 123
},
"timestamp": 1619370940870,
"providerPublicKey": "xyz...."
}
]
Error message will be printed here
Get the latest price for AR token
curl "https://api.redstone.finance/prices?symbol=AR&provider=redstone&limit=1"
Get the latest price for BTC token
curl "https://api.redstone.finance/prices?symbol=BTC&provider=redstone&limit=1"
Get the latest 100 prices for AR token
curl "https://api.redstone.finance/prices?symbol=AR&provider=redstone&limit=100"