BitcoinAverage Historical Data

FREE
By bitcoinaverage
Updated 5 months ago
Finance
3.1/10
Popularity Score
88ms
Latency
-
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

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://community-bitcoinaverage.p.rapidapi.com/exchanges/{upper_currency_code}")
.header("X-RapidAPI-Host", "community-bitcoinaverage.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