BitcoinAverage Historical Data

By bitcoinaverage
Updated 5 months ago
Popularity Score
Success Rate
mangione772 years ago
502 Bad Gateway on a normal test callHello! First of all, thanks for making this data avaiable. Is making a school project much easier and interesting. However, I'm receiving a 502 status code on a test call made in Mashape. Are there any changes I need to know before using your API? I already registered for a free plan though. Will be trying stuff in the next hours. Thanks
Hi Developer, feel free to post your answer:

Install SDK for NodeJS


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

.header("X-RapidAPI-Host", "")
.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