RapidAPI logo

Sign Up

Log In

Bitcointy

FREE
By pablo-merino
Updated 3 months ago
Finance
8.6/10
Popularity Score
2190ms
Latency
100%
Success Rate

Bitcointy API Documentation

See the value of a Bitcoin according to different sources with a simple JSON API. All major currencies are supported (USD, EUR, GBP, CAD, JPY, CNY etc.)

View API Details
GETConvert a BTC amount to the desired currency
GETGet chart data
GETGet conversation rates for all sources
GETGet average price
GETGet conversation rates in source
GETGet currency conversion
GETConvert a BTC amount to the desired currency

GET /convert/:amount/:currency to convert an amount of BTC to the desired currency

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
amountSTRING
REQUIRED
currencySTRING
REQUIRED
Request Snippet
unirest.get("https://community-bitcointy.p.rapidapi.com/convert/10/USD")
.header("X-RapidAPI-Host", "community-bitcointy.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://community-bitcointy.p.rapidapi.com/convert/10/USD")
.header("X-RapidAPI-Host", "community-bitcointy.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