RapidAPI logo

Sign Up

Log In

Kaiko - Cryptocurrency Market Data

FREEMIUM
By Kaiko
Updated a month ago
Data
-/10
Popularity Score
-
Latency
-
Success Rate

Kaiko - Cryptocurrency Market Data API Documentation

Raw and aggregated cryptocurrency market data from dozens of exchanges.

View API Details
Count-OHLCV-VWAP
GETRecent COUNT OHLCV VWAP
GETRecent COUNT OHLCV VWAP Period
GETHistorical Count OHLCV VWAP
Order Books
GETOrder Book Quotes
GETRecent Order Book Snapshot
Trades
GETHistorical Trades
GETRecent Trades
VWAP
GETRecent VWAP Period
GETRecent VWAP
GETHistorical VWAP
OHLCV
GETHistorical OHLCV (Candles)
GETRecent OHLCV
GETRecent OHLCV Period
GETRecent COUNT OHLCV VWAP

This endpoint retrieves the most recent Count OHLCV VWAP data points for an instrument on an exchange, up to 10000 values. The interval parameter is suffixed with s, m, h or d to specify seconds, minutes, hours or days, respectively. Values are sorted by time, descendingly. Please note that periods for which no data present won't be returned.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
data_versionSTRING
REQUIREDThe data version, default is "v1."
instrument_classSTRING
REQUIREDInstrument class, see Reference Data API.
commoditySTRING
REQUIREDThe data commodity, default is "trades."
exchangeSTRING
REQUIREDExchange code, see Reference Data API.
instrumentSTRING
REQUIREDInstrument code, see Reference Data API.
Optional Parameters
intervalSTRING
OPTIONALInterval period. Supported: 1m, 2m, 3m, 5m, 10m, 15m, 30m, 1h, 2h, 3h, 4h, 1d.
page_sizeNUMBER
OPTIONALMaximum number of results (min: 1, default: 100, max: 10000).
Request Snippet
unirest.get("https://kaiko-cryptocurrency-market-data.p.rapidapi.com/v1/data/trades.v1/exchanges/{exchange}/{instrument_class}/{instrument}/aggregations/count_ohlcv_vwap?interval=1d&page_size=100")
.header("X-RapidAPI-Host", "kaiko-cryptocurrency-market-data.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://kaiko-cryptocurrency-market-data.p.rapidapi.com/v1/data/trades.v1/exchanges/{exchange}/{instrument_class}/{instrument}/aggregations/count_ohlcv_vwap?interval=1d&page_size=100")
.header("X-RapidAPI-Host", "kaiko-cryptocurrency-market-data.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication