Sign Up

Log In

Bitcoin B-WAP

FREEMIUM
By BraveNewCoin
Updated 9 months ago
Finance
5.4/10
Popularity Score
50ms
Latency
100%
Success Rate

Bitcoin B-WAP API Documentation

The B-WAP returns a USD price for Bitcoin for the time period any particular block in the blockchain based on BNC's Bitcoin Liquid Index.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

GETBWAP by Block Height
GETBWAP by Timestamp
GETBWAP by Transaction
GETBWAP by Block Height

BWAP by block height. The first block where a USD price has been established in the Bitcoin Liquid Index is 68774 (2010-07-17 23:14:35 UTC). Data is refreshed every 10 minutes with any new blocks confirmed outside of the last 2 hours.

FreemiumThis API has a free, limited plan and paid plans. You can subscribe directly to it from RapidAPI.
Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
fromNUMBER
REQUIREDThe start block height for a range of results. A maximum of 1000 results will be returned for each request.
Optional Parameters
toNUMBER
OPTIONALThe ending block height for a range of results
Request Snippet
unirest.get("https://bravenewcoin-bwap-v1.p.rapidapi.com/bwap-blocks?to=undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

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://bravenewcoin-bwap-v1.p.rapidapi.com/bwap-blocks?to=undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard