Skip to main content

How can I get OHLCV data by asset pair?

Our OHLCV endpoint is symbol based (e.g BINANCE_SPOT_BTC_USDT). If you need OHLC data by asset pairs (e.g BTC/USD), you may use our Exchange Rates endpoint instead: https://docs.coinapi.io/market-data/rest-api/exchange-rates 

You can also create your own aggregation by querying for multiple OHLCV symbols and summing the data, or aggregate only OHLCV symbol based data for the volume and use Exchange Rates for pricing.