<p>Checkout <a href="https://coinmarketcap.com/api/" rel="nofollow noreferrer">coinmarketcap</a>. they've all API you may need for cryptocurrencies </p>

CC BY-SA 3.0
2018-01-31T03:09:04.107Z
2018-01-31T03:09:04.107Z
Tailer
<p>As Adam answered, the <a href="https://coinmarketcap.com/api/" rel="nofollow noreferrer">Coinmarketcap.com API</a> has a ton of data that's aggregated from a ton of sources. Also, it's been around for a while and the API is accessible 24/7, so it's definitely one of the more reliable services. I heard they even filter out sources with outlier data, such as price or volume spikes from artificial pumping or commission-free trades, which makes the data that much more reliable (IMO).</p>

<p>The following URL will return JSON with high-level stats for every coin tracked by the API:</p>

<p><a href="https://api.coinmarketcap.com/v1/ticker/" rel="nofollow noreferrer">https://api.coinmarketcap.com/v1/ticker/</a></p>

<p>A sample response is as follows:</p>

<pre><code>[{
        "id": "bitcoin", 
        "name": "Bitcoin", 
        "symbol": "BTC", 
        "rank": "1", 
        "price_usd": "10077.0", 
        "price_btc": "1.0", 
        "24h_volume_usd": "9717610000.0", 
        "market_cap_usd": "169661279499", 
        "available_supply": "16836487.0", 
        "total_supply": "16836487.0", 
        "max_supply": "21000000.0", 
        "percent_change_1h": "1.34", 
        "percent_change_24h": "-9.2", 
        "percent_change_7d": "-7.58", 
        "last_updated": "1517379267"
    }, 
    {
        "id": "ethereum", 
        "name": "Ethereum", 
        "symbol": "ETH", 
        "rank": "2", 
        "price_usd": "1077.71", 
        "price_btc": "0.107872", 
        "24h_volume_usd": "4432010000.0", 
        "market_cap_usd": "104880306525", 
        "available_supply": "97317745.0", 
        "total_supply": "97317745.0", 
        "max_supply": null, 
        "percent_change_1h": "1.06", 
        "percent_change_24h": "-7.55", 
        "percent_change_7d": "8.78", 
        "last_updated": "1517379253"
 }]
</code></pre>

<p>Some of the properties you may be interested in are as follows:</p>

<ul>
<li>"market_cap_usd": Market cap in US dollars.</li>
<li>"available_supply": Circulating supply.</li>
<li>"total_supply": Total supply issued/mined.</li>
<li>"max_supply": Total supply the platform/protocol currently allows for.</li>
</ul>

CC BY-SA 3.0
2018-01-31T16:33:33.917Z
Thanks to you and @Adam for the info - I started off using CryptoCompare and just can't find how to get "Market Cap" data for any coins; figured they would provide "circulating supply" so I could calculate it manually, but they don't seem to provide that data.
vikzilla
CC BY-SA 3.0
2018-02-01T05:44:47.567Z
Can "Market Cap" be calculated by multiplying "price" x "total supply"? It seems to be correct when using those values from Cryptocompare.. although I thought you had to use "circulating supply"; not "total supply"...
vikzilla
CC BY-SA 3.0
2018-02-01T05:45:06.167Z
https://api.coinmarketcap.com/v1/ticker/coin_name_here_(e.g)_bitcoin/
Tailer
CC BY-SA 3.0
2018-02-01T15:42:49.187Z
Market Capitalization = Total Supply * Current Price.
A-Diddy
CC BY-SA 3.0
2018-01-31T06:41:54.400Z
2018-01-31T06:41:54.400Z
A-Diddy
<p>i am using cryptocompare too, not sure if it still helps but I believe they have a new page now <a href="https://min-api.cryptocompare.com/" rel="nofollow noreferrer">https://min-api.cryptocompare.com/</a>
go to price - > multiple symbols full data, marketcap for each coin is provided there.</p>

CC BY-SA 4.0
2018-08-15T07:41:25.587Z
2018-08-15T07:41:25.587Z
Holmes
<p>I'd check out the <a href="https://p.nomics.com/cryptocurrency-bitcoin-api/" rel="nofollow noreferrer">Nomics API</a>.  It's free, has no rate limits, and gives you more historical data (for free) that CoinMarketCap makes available on it's most expensive plan.</p>

<p>Nomics' free (and paid) crypto exchange data API comes with dozens of endpoints, including endpoints that return sparkline, exchange rate, all-time high (ATH), and supply data.  Also included are historic candle/OHLC data for cryptoasset trading pairs on exchanges like Bithumb, Binance, Bittrex, Bitfinex, Bitflyer, Gate.io, Coinbase Pro/GDAX, Gemini, HitBTC, Kraken, and Poloniex.</p>

<p>One notable difference between Nomics’ API and competition is that the Nomics product has no rate limits.  For example, CryptoCompare and CoinMarketCap’s APIs all limit the number of application programming interface calls that can be made per minute, whereas Nomics does not currently impose such limits.</p>

<p>Disclosure: I'm one of the founders of Nomics.</p>

CC BY-SA 4.0
2018-10-18T06:59:45.260Z
2018-10-18T06:59:45.260Z
Clay Collins
<p>I am using CryptoCompare's API and it gives me volume data, but I am wondering where I can get market cap / circulating supply data. Do any reliable API's provide this?</p>

CC BY-SA 4.0
2021-04-06T21:55:05.680Z
Closed this question 3 years too late - already got my answer! 
vikzilla
<api>
Market Cap API?
vikzilla
# Market Cap API?

(Asked by: username_0 on 2018-01-31)

I am using CryptoCompare's API and it gives me volume data, but I am wondering where I can get market cap / circulating supply data. Do any reliable API's provide this?

**Tags:** api

> **Comments:**
> **username_0**: Closed this question 3 years too late - already got my answer!   

---

## 4 answers

### Answer by username_1 on 2018-01-31. Score: 2

Checkout [coinmarketcap](https://coinmarketcap.com/api/). they've all API you may need for cryptocurrencies


---

### Answer by username_2 on 2018-01-31. Score: 1

As Adam answered, the [Coinmarketcap.com API](https://coinmarketcap.com/api/) has a ton of data that's aggregated from a ton of sources. Also, it's been around for a while and the API is accessible 24/7, so it's definitely one of the more reliable services. I heard they even filter out sources with outlier data, such as price or volume spikes from artificial pumping or commission-free trades, which makes the data that much more reliable (IMO).

The following URL will return JSON with high-level stats for every coin tracked by the API:

<https://api.coinmarketcap.com/v1/ticker/>

A sample response is as follows:

```
[{
        "id": "bitcoin", 
        "name": "Bitcoin", 
        "symbol": "BTC", 
        "rank": "1", 
        "price_usd": "10077.0", 
        "price_btc": "1.0", 
        "24h_volume_usd": "9717610000.0", 
        "market_cap_usd": "169661279499", 
        "available_supply": "16836487.0", 
        "total_supply": "16836487.0", 
        "max_supply": "21000000.0", 
        "percent_change_1h": "1.34", 
        "percent_change_24h": "-9.2", 
        "percent_change_7d": "-7.58", 
        "last_updated": "1517379267"
    }, 
    {
        "id": "ethereum", 
        "name": "Ethereum", 
        "symbol": "ETH", 
        "rank": "2", 
        "price_usd": "1077.71", 
        "price_btc": "0.107872", 
        "24h_volume_usd": "4432010000.0", 
        "market_cap_usd": "104880306525", 
        "available_supply": "97317745.0", 
        "total_supply": "97317745.0", 
        "max_supply": null, 
        "percent_change_1h": "1.06", 
        "percent_change_24h": "-7.55", 
        "percent_change_7d": "8.78", 
        "last_updated": "1517379253"
 }]

```

Some of the properties you may be interested in are as follows:

* "market\_cap\_usd": Market cap in US dollars.
* "available\_supply": Circulating supply.
* "total\_supply": Total supply issued/mined.
* "max\_supply": Total supply the platform/protocol currently allows for.

> **Comments:**
> **username_0**: Thanks to you and @Adam for the info - I started off using CryptoCompare and just can't find how to get "Market Cap" data for any coins; figured they would provide "circulating supply" so I could calculate it manually, but they don't seem to provide that data.  
> **username_0**: Can "Market Cap" be calculated by multiplying "price" x "total supply"? It seems to be correct when using those values from Cryptocompare.. although I thought you had to use "circulating supply"; not "total supply"...  
> **username_1**: https://api.coinmarketcap.com/v1/ticker/coin_name_here_(e.g)_bitcoin/  
> **username_2**: Market Capitalization = Total Supply * Current Price.  

---

### Answer by username_3 on 2018-08-15. Score: 0

i am using cryptocompare too, not sure if it still helps but I believe they have a new page now <https://min-api.cryptocompare.com/>
go to price - > multiple symbols full data, marketcap for each coin is provided there.


---

### Answer by username_4 on 2018-10-18. Score: 0

I'd check out the [Nomics API](https://p.nomics.com/cryptocurrency-bitcoin-api/). It's free, has no rate limits, and gives you more historical data (for free) that CoinMarketCap makes available on it's most expensive plan.

Nomics' free (and paid) crypto exchange data API comes with dozens of endpoints, including endpoints that return sparkline, exchange rate, all-time high (ATH), and supply data. Also included are historic candle/OHLC data for cryptoasset trading pairs on exchanges like Bithumb, Binance, Bittrex, Bitfinex, Bitflyer, Gate.io, Coinbase Pro/GDAX, Gemini, HitBTC, Kraken, and Poloniex.

One notable difference between Nomics’ API and competition is that the Nomics product has no rate limits. For example, CryptoCompare and CoinMarketCap’s APIs all limit the number of application programming interface calls that can be made per minute, whereas Nomics does not currently impose such limits.

Disclosure: I'm one of the founders of Nomics.


---

