RapidAPI logo

CoinAPI - REST

FREEMIUM
By coinapi
Updated 4 months ago
7.7/10
Popularity Score
576ms
Latency
100%
Success Rate

CoinAPI - REST API Documentation

All cryptocurrency exchanges integrated under a single API

View API Details
GETList all exhanges
GETList all assets
GETList all symbols
GETGet specific rate
GETGet all current rates
GETTrade historical data
GETQuotes current data - specific symbol
GETQuotes latest data
GETQuotes latest data - specific symbol
GETOrderbook current data
GETOrderbook current data - specific symbol
GETOrderbook latest data
GETTwitter Latest data
GETTwitter historical data
OHLCV
GETOHLCV List all periods
GETOHLCV latest data
GETOHLCV historical data
Trades
GETAll latest trade data
GETLatest trade data - specific symbol
Quotes
GETQuotes current data
GETQuotes historical data
Orderbooks
GETOrderbook historical data
GETList all exhanges

Get a detailed list of exchanges provided by the system.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
unirest.get("https://coinapi.p.rapidapi.com/v1/exchanges")
.header("X-RapidAPI-Host", "coinapi.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://coinapi.p.rapidapi.com/v1/exchanges
Request Method: GET
Response Headers
Response Body
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://coinapi.p.rapidapi.com/v1/exchanges")
.header("X-RapidAPI-Host", "coinapi.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