Marketcap and Circulation Supply

symbol_marketcap_circulation_supply


Results

Access current and historical marketcap and circulation supply for a given global cryptocurrency.

- For symbol, please use the symbol without the exchange code i.e. 
Use 'BTCUSD' instead of 'BTCUSD.gdax'

 

Specification
Endpoint
symbol_marketcap_circulation_supply?symbol={symbol}&start_date={start_date}&end_date={end_date}

Support
Current and Historical values

API Call Counts
500 per API call.

API Plan
gold



Input Parameters
start_date

Start Date

Example : 2019-01-01


end_date

End Date

Example : 2019-01-01



Output Descriptions
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



Sample Output
{
  "status": "ok",
  "info": {
    "symbol": {
      "symbol": "BTCUSD",
      "symbol_name": "Bitcoin USD",
      "exchange": null,
      "symbol_pair": null
    }
  },
  "total_records": 32,
  "page_size": 10,
  "current_page": 1,
  "total_pages": 4,
  "results": [
    {
      "date": "2022-06-01",
      "marketcap": 605491774827.4833,
      "circulation_supply": 19757211.877949968
    },
    {
      "date": "2022-05-31",
      "marketcap": 604044722173.7987,
      "circulation_supply": 19012222.444050726
    },
    {
      "date": "2022-05-30",
      "marketcap": 561219601985.9402,
      "circulation_supply": 17699081.870036423
    },
    {
      "date": "2022-05-29",
      "marketcap": 552681367385.8201,
      "circulation_supply": 18765425.506954703
    },
    {
      "date": "2022-05-28",
      "marketcap": 544927018411.97534,
      "circulation_supply": 18784561.850707218
    },
    {
      "date": "2022-05-27",
      "marketcap": 555754340862.552,
      "circulation_supply": 19433988.2269604
    },
    {
      "date": "2022-05-26",
      "marketcap": 562119462967.4799,
      "circulation_supply": 19271809.73548842
    },
    {
      "date": "2022-05-25",
      "marketcap": 564291751828.8649,
      "circulation_supply": 19120901.939479634
    },
    {
      "date": "2022-05-24",
      "marketcap": 553893962440.7654,
      "circulation_supply": 18697247.01558678
    },
    {
      "date": "2022-05-23",
      "marketcap": 576347435711.9735,
      "circulation_supply": 19818965.144234773
    },
    {
      "date": "2022-05-22",
      "marketcap": 560026594636.8591,
      "circulation_supply": 18507382.0961377
    },
    {
      "date": "2022-05-21",
      "marketcap": 555400443444.9744,
      "circulation_supply": 18865950.622905973
    },
    {
      "date": "2022-05-20",
      "marketcap": 576559142493.6926,
      "circulation_supply": 19770063.570867755
    },
    {
      "date": "2022-05-19",
      "marketcap": 546089208132.549,
      "circulation_supply": 18033949.813067116
    },
    {
      "date": "2022-05-18",
      "marketcap": 579002232973.9702,
      "circulation_supply": 20193039.581963997
    },
    {
      "date": "2022-05-17",
      "marketcap": 568227318883.8379,
      "circulation_supply": 18684012.125629034
    },
    {
      "date": "2022-05-16",
      "marketcap": 595854915149.5936,
      "circulation_supply": 19973160.424937375
    },
    {
      "date": "2022-05-15",
      "marketcap": 572133755866.1387,
      "circulation_supply": 18283396.71245352
    },
    {
      "date": "2022-05-14",
      "marketcap": 556565913681.0073,
      "circulation_supply": 18522129.088331513
    },
    {
      "date": "2022-05-13",
      "marketcap": 550889119611.6167,
      "circulation_supply": 18836548.27960143
    },
    {
      "date": "2022-05-12",
      "marketcap": 551700613565.0874,
      "circulation_supply": 19050836.875714604
    },
    {
      "date": "2022-05-11",
      "marketcap": 590333515186.2157,
      "circulation_supply": 20373328.34497998
    },
    {
      "date": "2022-05-10",
      "marketcap": 572172472027.6384,
      "circulation_supply": 18449560.781265784
    },
    {
      "date": "2022-05-09",
      "marketcap": 647646974738.8799,
      "circulation_supply": 21535872.12378946
    },
    {
      "date": "2022-05-08",
      "marketcap": 675042413908.2714,
      "circulation_supply": 19838422.155775484
    },
    {
      "date": "2022-05-07",
      "marketcap": 685102737355.0261,
      "circulation_supply": 19325467.505042188
    },
    {
      "date": "2022-05-06",
      "marketcap": 695523302060.93,
      "circulation_supply": 19321700.52612227
    },
    {
      "date": "2022-05-05",
      "marketcap": 755134394422.1703,
      "circulation_supply": 20661985.714320276
    },
    {
      "date": "2022-05-04",
      "marketcap": 717801884986.731,
      "circulation_supply": 18090461.263257533
    },
    {
      "date": "2022-05-03",
      "marketcap": 732966590793.0903,
      "circulation_supply": 19429316.981705885
    },
    {
      "date": "2022-05-02",
      "marketcap": 731921573311.598,
      "circulation_supply": 19001859.055220798
    },
    {
      "date": "2022-05-01",
      "marketcap": 715828233964.2509,
      "circulation_supply": 18605115.105234917
    }
  ]
}

REST
GET https://www.cryptoquote.io/analytics/v1/?api=symbol_marketcap_circulation_supply&symbol=BTCUSD&start_date=2022-05-01&end_date=2022-12-31&key=your_api_key
Python
import requests 
r = requests.get("https://www.cryptoquote.io/analytics/v1/?api=symbol_marketcap_circulation_supply&symbol=BTCUSD&start_date=2022-05-01&end_date=2022-12-31&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=symbol_marketcap_circulation_supply&symbol=BTCUSD&start_date=2022-05-01&end_date=2022-12-31&key=your_api_key',
	port: 80,
	path: 'https://www.cryptoquote.io/analytics/v1/?api=symbol_marketcap_circulation_supply&symbol=BTCUSD&start_date=2022-05-01&end_date=2022-12-31&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=symbol_marketcap_circulation_supply&symbol=BTCUSD&start_date=2022-05-01&end_date=2022-12-31&key=your_api_key");
	if (response.IsSuccessStatusCode)
	{
		//Your custom response parser code
	}
}
Java
String uri = "https://www.cryptoquote.io/analytics/v1/?api=symbol_marketcap_circulation_supply&symbol=BTCUSD&start_date=2022-05-01&end_date=2022-12-31&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=symbol_marketcap_circulation_supply&symbol=BTCUSD&start_date=2022-05-01&end_date=2022-12-31&key=your_api_key'))
obj <- fromJSON(json)
PHP
$url = 'https://www.cryptoquote.io/analytics/v1/?api=symbol_marketcap_circulation_supply&symbol=BTCUSD&start_date=2022-05-01&end_date=2022-12-31&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=symbol_marketcap_circulation_supply&symbol=BTCUSD&start_date=2022-05-01&end_date=2022-12-31&key=your_api_key';
$.ajax({
		url: url,
		type: "GET",
		dataType: 'json'
}).done(function (data) {
	console.log(data);
});