Comment on page
Prices API
Currency/Token Prices HTTP API documentation
The
/v1/prices/pairs
API returns a list of price pairs supported by the Spice.ai platform (non-exhaustive).The /prices/pairs endpoint only returns pairs provided directly from SpiceAI data. Price APIs aggregate data from other providers (decentralized exchanges e.g. Uniswap, centralized aggregators e.g. CoinMarketCap) and support significantly more pairs not listed by this endpoint.
get
https://data.spiceai.io
/v1/prices/pairs
Get supported price pairs
The
/v1/prices/{pair}
API returns the spot (latest) prices of specified token/currency pairs from several exchanges (e.g. Binance, Coinbase, and Gemini), and aggregrates price measures (e.g. average, minimum).get
https://data.spiceai.io
/v1/prices/{pair}
Get latest prices for symbol(s)
The
/v1/prices/historical/{pair}
API returns historical prices of the specified token/currency pair(s).get
https://data.spiceai.io
/v1/prices/historical/{pair}
Get Historical Prices
Last modified 26d ago