RapidAPI logo

Sign Up

Log In

BlockMarkets

FREEMIUM
By blockmarkets
Updated 3 months ago
-/10
Popularity Score
-
Latency
-
Success Rate

BlockMarkets API Documentation

Professional-grade API for cryptocurrency market data. Free plan available.

View API Details
General
GET/assets
GET/assets/{symbol}
GET/exchanges
GET/exchanges/{exchange}
GET/pairs
GET/pairs/{pair}
Markets
GET/markets
GET/markets/{exchange}
GET/markets/{exchange}/{pair}
GET/markets/{exchange}/{pair}/trades
GET/markets/{exchange}/{pair}/ohlcv
GET/markets/{exchange}/{pair}/book
Reference Rates
GET/rates/spot
GET/rates/spot/{symbol}
GET/rates/spot/{symbol}/history
GET/rates/spot/{symbol}/ohlcv
GET/assets

Returns a list of supported assets.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Request Snippet
unirest.get("https://blockmarkets.p.rapidapi.com/assets")
.header("X-RapidAPI-Host", "blockmarkets.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://blockmarkets.p.rapidapi.com/assets")
.header("X-RapidAPI-Host", "blockmarkets.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