Movers

movers


Results

This API allows you to get the Top Movers by;

  • All Exchange
  • or by a selected exchange
  • Filter results by Top
    • Gainers (%) or Gainers ($),
    • Losers (%) or Losers (%),
    • Volume leaders

In addition, the API supports historical data so you can access top movers for any given historical date.

Specification
Endpoint
movers?exchange={exchange}&view={view}&date={date}&limit={limit}

Support
Current and Historical values

API Call Counts
30 per API call.

API Plan
bronze



Input Parameters
date

Date in the format of YYYY-MM-DD

Example : 2022-01-01


limit

Use limit=n to get the first n rows of the dataset. Use limit=1 to get just the latest row.

Example : 1



Output Descriptions
date

returns date of the return query data

Type: date


symbol

The common/local symbol/ticker of the symbol

Type: string


symbol_name

The name of the symbol

Type: string


exchange

the exchange code e.g. gemini

Type: string


open_price

The open price of the symbol

Type: number


open_price

Open Price

Type: number


high_price

The high price of the symbol

Type: number


high_price

High Price

Type: number


low_price

Low Price

Type: number


low_price

The low price of the symbol

Type: number


close_price

Close Price

Type: number


close_price

The close price of the symbol

Type: number


chg_1d

The 1 Day Change ($) of the symbol

Type: number


return_1d

The 1 Day Change (%) of the symbol

Type: number



Sample Output
{
  "status": "ok",
  "info": {
    "market": "gemini",
    "date": "2022-03-08",
    "view": "gainers"
  },
  "total_records": 10,
  "page_size": 10,
  "current_page": 1,
  "total_pages": 1,
  "results": [
    {
      "symbol": "ZECETH",
      "symbol_name": "Zcash/Ethereum",
      "exchange": "gemini",
      "symbol_pair": "ZEC/ETH",
      "open_price": 0.05,
      "high_price": 0.05,
      "low_price": 0.05,
      "close_price": 0.05,
      "volume": 0.5,
      "chg_1d": 0.0101,
      "return_1d": 25.31328320802
    },
    {
      "symbol": "ZECBTC",
      "symbol_name": "Zcash/Bitcoin",
      "exchange": "gemini",
      "symbol_pair": "ZEC/BTC",
      "open_price": 0.0029,
      "high_price": 0.00364,
      "low_price": 0.0029,
      "close_price": 0.00359,
      "volume": 746.525737,
      "chg_1d": 0.0007,
      "return_1d": 24.221453287197
    },
    {
      "symbol": "ETHSGD",
      "symbol_name": "Ethereum/Singapore Dollar",
      "exchange": "gemini",
      "symbol_pair": "ETH/SGD",
      "open_price": 3400,
      "high_price": 3590.7,
      "low_price": 3400,
      "close_price": 3529.37,
      "volume": 718.549707,
      "chg_1d": 116.33,
      "return_1d": 3.4083983779856
    },
    {
      "symbol": "SKLUSD",
      "symbol_name": "SKALE Network/US Dollar",
      "exchange": "gemini",
      "symbol_pair": "SKL/USD",
      "open_price": 0.11073,
      "high_price": 0.11658,
      "low_price": 0.11073,
      "close_price": 0.11357,
      "volume": 78094.319847,
      "chg_1d": 0.00269,
      "return_1d": 2.4260461760462
    },
    {
      "symbol": "ETHGUSD",
      "symbol_name": "Etherum/Gemini US Dollar",
      "exchange": "gemini",
      "symbol_pair": "ETH/GUSD",
      "open_price": 2517.13,
      "high_price": 2596.21,
      "low_price": 2505.75,
      "close_price": 2575.88,
      "volume": 42.1664,
      "chg_1d": 60.88,
      "return_1d": 2.420675944334
    },
    {
      "symbol": "BTCSGD",
      "symbol_name": "Bitcoin/Singapore Dollar ",
      "exchange": "gemini",
      "symbol_pair": "BTC/SGD",
      "open_price": 52044.83,
      "high_price": 53853.04,
      "low_price": 51850.26,
      "close_price": 53176.84,
      "volume": 27.47735582,
      "chg_1d": 1128.26,
      "return_1d": 2.1677056319308
    },
    {
      "symbol": "MCO2USD",
      "symbol_name": "Moss Carbon Credit/US Dollar",
      "exchange": "gemini",
      "symbol_pair": "MCO2/USD",
      "open_price": 10.29,
      "high_price": 11.25,
      "low_price": 10.29,
      "close_price": 10.51,
      "volume": 8265.09555,
      "chg_1d": 0.22,
      "return_1d": 2.1379980563654
    },
    {
      "symbol": "BTCUSD",
      "symbol_name": "Bitcoin/US Dollar",
      "exchange": "gemini",
      "symbol_pair": "BTC/USD",
      "open_price": 37999.69,
      "high_price": 39377.81,
      "low_price": 37853.6,
      "close_price": 38771.15,
      "volume": 1238.36536401,
      "chg_1d": 771.15,
      "return_1d": 2.0293421052632
    },
    {
      "symbol": "MIRUSD",
      "symbol_name": "Mirror Protocol/US Dollar",
      "exchange": "gemini",
      "symbol_pair": "MIR/USD",
      "open_price": 1.4842,
      "high_price": 1.5958,
      "low_price": 1.4088,
      "close_price": 1.5079,
      "volume": 52106.248045,
      "chg_1d": 0.016,
      "return_1d": 1.0724579395402
    },
    {
      "symbol": "RLYUSD",
      "symbol_name": "Rally/US Dollar",
      "exchange": "gemini",
      "symbol_pair": "RLY/USD",
      "open_price": 0.19066,
      "high_price": 0.19552,
      "low_price": 0.18818,
      "close_price": 0.19167,
      "volume": 108651.497258,
      "chg_1d": 0.00093000000000001,
      "return_1d": 0.487574709028
    }
  ]
}

REST
GET https://www.cryptoquote.io/analytics/v1/?api=movers&exchange=gemini&base_symbol=USD&view=gainers&key=your_api_key
Python
import requests 
r = requests.get("https://www.cryptoquote.io/analytics/v1/?api=movers&exchange=gemini&base_symbol=USD&view=gainers&key=your_api_key")
data = r.json()
print(data)
Node.js
var http = require('http');
var buffer = '';
var options = {
	host: 'https://www.cryptoquote.io/analytics/v1/?api=movers&exchange=gemini&base_symbol=USD&view=gainers&key=your_api_key',
	port: 80,
	path: 'https://www.cryptoquote.io/analytics/v1/?api=movers&exchange=gemini&base_symbol=USD&view=gainers&key=your_api_key',
	headers: headers
};
callback = function(response) {
	response.on('data', function (chunk) {
	buffer += chunk;
});
response.on('end', function () {
	// your code here if you want to use the results !
});
}

var req = http.get(options, callback).end();
C#
using (var client = new HttpClient())
{
	client.BaseAddress = new Uri("{$api_host}");
	client.DefaultRequestHeaders.Clear();
	//ADD Acept Header to tell the server what data type you want
	client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
	//SET Parameters
	HttpResponseMessage response = await client.GetAsync("https://www.cryptoquote.io/analytics/v1/?api=movers&exchange=gemini&base_symbol=USD&view=gainers&key=your_api_key");
	if (response.IsSuccessStatusCode)
	{
		//Your custom response parser code
	}
}
Java
String uri = "https://www.cryptoquote.io/analytics/v1/?api=movers&exchange=gemini&base_symbol=USD&view=gainers&key=your_api_key";
URL url = new URL(uri);
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
	connection.setRequestMethod("GET");
	connection.setRequestProperty("Accept", "application/json");
InputStream xml = connection.getInputStream();
R
1 - Install package
install.packages("RCurl")
install.packages("jsonlite")
2 - Request the data:
library('RCurl')
require('jsonlite')
json <- getURL(URLencode('https://www.cryptoquote.io/analytics/v1/?api=movers&exchange=gemini&base_symbol=USD&view=gainers&key=your_api_key'))
obj <- fromJSON(json)
PHP
$url = 'https://www.cryptoquote.io/analytics/v1/?api=movers&exchange=gemini&base_symbol=USD&view=gainers&key=your_api_key';
$handle = curl_init(); 
	curl_setopt($handle, CURLOPT_URL, $url);
	curl_setopt($handle, CURLOPT_RETURNTRANSFER, true);

	$data = curl_exec($handle);
curl_close($handle);
//parse your data as per your needs....
Javascript
var url = 'https://www.cryptoquote.io/analytics/v1/?api=movers&exchange=gemini&base_symbol=USD&view=gainers&key=your_api_key';
$.ajax({
		url: url,
		type: "GET",
		dataType: 'json'
}).done(function (data) {
	console.log(data);
});