API v1 Documentation (deprecated)

Stats

Get global stats

GET /public/stats

Parameter

NameTypeDescription
base (optional)String

Base currency

Default value: USD
Allowed values:
USD EUR JPY BTC ETH etc.

Parameters examples

Response

HTTP/1.1 200 OK
{
  "status": "success",
  "data": {
    "totalCoins": 3220,
    "totalMarkets": 27497,
    "totalExchanges": 190,
    "totalMarketCap": 425992114544,
    "total24hVolume": 23752040073
  }
}

Response fields

NameTypeDescription
statusString

Status of the request

Allowed values:
success
dataObject
data.totalCoinsNumber

Total number of coins

data.totalMarketsNumber

Total amount of markets used for price calculation

data.totalExchangesNumber

Total amount of exchanges paired with Coinranking

data.totalMarketCapNumber

Market capitalization. Price times circulating supply

data.total24hVolumeNumber

Total trade volume in 24 hours

Error response

HTTP/1.1 422 Unprocessable Entity
{
  "status": "fail",
  "type": "BASE_UNAVAILABLE",
  "message": "Base not available"
}

Error responses

On this page