Links

Prices API

Prices HTTP API documentation

Spot Prices

The /v0.1/prices API returns the spot prices of popular token/currency pairs for several exchanges, such as Coinbase, and Gemini, and the min, max, and average price across them.
get
https://data.spiceai.io
/v0.1/prices
Get Exchange Prices
The /v0.1/prices/[pair] API returns spot prices of the specified token/currency pair.
E.g. /v0.1/prices/btc-aud will return the price of BTC in AUD.
The API will default to USD as the base currency if one is not provided.
E.g. /v0.1/prices/btc will return the price of BTC in USD.
get
https://data.spiceai.io
/v0.1/prices/[pair]

Historical Prices (Preview)

The /v0.1/prices/[pair] API returns historical prices of the specified token/currency pair.
NOTE: This method is in Preview. It's definition may change in non-backwards compatible ways.
get
https://data.spiceai.io
/v0.1/prices/[pair]?preview=true
Get Historical Prices