RapidAPI logo

Sign Up

Log In

Crypto Market Intraday Reference Rates

FREEMIUM
By BraveNewCoin
Updated 3 months ago
5.1/10
Popularity Score
2008ms
Latency
100%
Success Rate

Crypto Market Intraday Reference Rates API Documentation

Intraday Reference Rates for Crypto Markets including those for Bitcoin, Ethereum, Litecoin and 500+ others. The BNC market data engine scans and compiles rates for 3000+ crypto markets from every trading platform. Updated every 5 minutes with the volume weighted average of the constituent exchanges and the 24 hour volume, the full historic data of markets since 2014 is available.The real-time API delivers intraday Reference Rates in a moving 200 day window. Historical intraday datasets are separately available. Please email support@bravenewcoin.com for further details.

View API Details
Crypto Market Reference Rates
GETMarket Reference Rates
Symbols
GETCrypto Asset Symbols
GETFiat Currency Symbols
GETMarket Pairs
GETMarket Reference Rates

Reference rate data for crypto markets in a moving 200 day window, updated every 5 minutes. BNC tracks the markets at 200+ exchanges. For each market pair, base and quote e.g. LTC/USD, the volume-weighted average last price (in quote units) and total 24hr volume (in base units) is obtained for all the exchanges trading that pair. BNC refers to this aggregation as the market weighted average (MWA).

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
coinSTRING
REQUIREDThe symbol for the crypto asset
marketSTRING
REQUIREDThe symbol for the market
Optional Parameters
fromNUMBER
OPTIONALUnix timestamp for start date. The from date should be within a 200 day window from the current date.
toNUMBER
OPTIONALUnix timestamp for end date. Must be greater than 'from' date. Maximum 1000 ticks per request.
Request Snippet
unirest.get("https://bnc-crypto-market-intraday-reference-rates.p.rapidapi.com/mwa-historic?from=1520208000&coin=ltc&market=usd")
.header("X-RapidAPI-Host", "bnc-crypto-market-intraday-reference-rates.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://bnc-crypto-market-intraday-reference-rates.p.rapidapi.com/mwa-historic?from=1520208000&coin=ltc&market=usd")
.header("X-RapidAPI-Host", "bnc-crypto-market-intraday-reference-rates.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