Comment on page

Prices API

Currency/Token Prices HTTP API documentation

Supported Pairs

The /v1/prices/pairs API returns a list of price pairs supported by the 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 supported price pairs

Latest Prices

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 latest prices for symbol(s)

Historical Prices

The /v1/prices/historical/{pair} API returns historical prices of the specified token/currency pair(s).
Get Historical Prices