R
R
Redstone API
Github
NPM
Website
Discord
Search…
1.0.0
What is Redstone API
Getting started
Installation
Usage
Methods
getPrice
getHistoricalPrice
getAllPrices
query
Fluent interface
Redstone query
HTTP API
Prices HTTP Api
Get the latest price(s) for a single token
Get historical price(s) for a single token
Get the latest price for several tokens
Knowledge base
Cache layer
Signature verification
Provider
Links
Github repo
NPM
Website
Discord
Powered By
GitBook
Get the latest price(s) for a single token
List of all supported tokens
Available providers
get
https://api.redstone.finance
/prices
Get price for a single token
Examples
Get the latest price for AR token
1
curl
"https://api.redstone.finance/prices?symbol=AR&provider=redstone&limit=1"
Copied!
Get the latest price for BTC token
1
curl
"https://api.redstone.finance/prices?symbol=BTC&provider=redstone&limit=1"
Copied!
Get the latest 100 prices for AR token
1
curl
"https://api.redstone.finance/prices?symbol=AR&provider=redstone&limit=100"
Copied!
HTTP API - Previous
Prices HTTP Api
Next
Get historical price(s) for a single token
Last modified
10mo ago
Copy link
Contents
get
Get price for a single token
Examples
Get the latest price for AR token
Get the latest price for BTC token
Get the latest 100 prices for AR token