CoinMarketCap Cryptocurrency API Documentation
CoinMarketCap market indices. This category includes 4 endpoints:

CoinMarketCap 100 Index Historical

GET
https://pro-api.coinmarketcap.com
/v3/index/cmc100-historical
X-CMC_PRO_API_KEY (header)

Returns an interval of historic CoinMarketCap 100 Index values based on the interval parameter.

This endpoint is available on the following API plans:

  • Basic
  • Startup
  • Builder
  • Growth
  • Professional
  • Enterprise

Available with no API key

Call this endpoint keyless - no API key, no signup. Prefix the path with /public-api: https://pro-api.coinmarketcap.com/public-api/v3/index/cmc100-historical. See the Keyless Public API for the full list, rate limits, and examples.

Cache / Update frequency: Every 5 minutes.
Plan credit use: 1 API call credit per request no matter query size.
CMC equivalent pages: Our CoinMarketCap 100 Index on https://coinmarketcap.com/charts/cmc100/.

CoinMarketCap 100 Index Historical › query Parameters

time_start
​string

Timestamp (Unix or ISO 8601) to start returning CoinMarketCap 100 Index data for. Optional, if not passed, we'll return quotes calculated in reverse from "time_end".

time_end
​string

Timestamp (Unix or ISO 8601) to stop returning CoinMarketCap 100 Index data for (inclusive). Optional, if not passed, we'll default to the current time. If no "time_start" is passed, we return quotes in reverse order starting from this time.

count
​string

The number of interval periods to return results for. Optional, required if both "time_start" and "time_end" aren't supplied. The default is 5 items. If "time_start" and "time_end" are supplied, the query limit is 10 and the count starts from "time_start".

interval
​string

Optionally adjust the interval of data returned.Valid values:"5m","15m","daily".

CoinMarketCap 100 Index Historical › Headers

X-CMC_PRO_API_KEY
​string · required

Your CoinMarketCap Pro API key

Default: YOUR_API_KEY

CoinMarketCap 100 Index Historical › Responses

Succeeded response

Standardized status object for API calls.


CoinMarketCap 100 Index Latest

GET
https://pro-api.coinmarketcap.com
/v3/index/cmc100-latest
X-CMC_PRO_API_KEY (header)

Returns the lastest CoinMarketCap 100 Index value, constituents, and constituent weights.

This endpoint is available on the following API plans:

  • Basic
  • Startup
  • Builder
  • Growth
  • Professional
  • Enterprise

Available with no API key

Call this endpoint keyless - no API key, no signup. Prefix the path with /public-api: https://pro-api.coinmarketcap.com/public-api/v3/index/cmc100-latest. See the Keyless Public API for the full list, rate limits, and examples.

Cache / Update frequency: Every 5 minutes.
Plan credit use: 1 call credit per API call.
CMC equivalent pages: Our CoinMarketCap 100 Index on https://coinmarketcap.com/charts/cmc100/.

CoinMarketCap 100 Index Latest › Headers

X-CMC_PRO_API_KEY
​string · required

Your CoinMarketCap Pro API key

Default: YOUR_API_KEY

CoinMarketCap 100 Index Latest › Responses

Succeeded response

​IndexLatestDTO · required

The latest CoinMarketCap 100 Index value is returned in this object.

Standardized status object for API calls.


CoinMarketCap 20 Index Historical

GET
https://pro-api.coinmarketcap.com
/v3/index/cmc20-historical
X-CMC_PRO_API_KEY (header)

Returns an interval of historic CoinMarketCap 20 Index values based on the interval parameter.

This endpoint is available on the following API plans:

  • Basic
  • Startup
  • Builder
  • Growth
  • Professional
  • Enterprise

Available with no API key

Call this endpoint keyless - no API key, no signup. Prefix the path with /public-api: https://pro-api.coinmarketcap.com/public-api/v3/index/cmc20-historical. See the Keyless Public API for the full list, rate limits, and examples.

Cache / Update frequency: Every 5 minutes.
Plan credit use: 1 API call credit per request no matter query size.
CMC equivalent pages: Our CoinMarketCap 20 Index on https://coinmarketcap.com/charts/cmc20/.

CoinMarketCap 20 Index Historical › query Parameters

time_start
​string

Timestamp (Unix or ISO 8601) to start returning CoinMarketCap 20 Index data for. Optional, if not passed, we'll return quotes calculated in reverse from "time_end".

time_end
​string

Timestamp (Unix or ISO 8601) to stop returning CoinMarketCap 20 Index data for (inclusive). Optional, if not passed, we'll default to the current time. If no "time_start" is passed, we return quotes in reverse order starting from this time.

count
​string

The number of interval periods to return results for. Optional, required if both "time_start" and "time_end" aren't supplied. The default is 5 items. If "time_start" and "time_end" are supplied, the query limit is 10 and the count starts from "time_start".

interval
​string

Optionally adjust the interval of data returned.Valid values:"5m","15m","daily".

CoinMarketCap 20 Index Historical › Headers

X-CMC_PRO_API_KEY
​string · required

Your CoinMarketCap Pro API key

Default: YOUR_API_KEY

CoinMarketCap 20 Index Historical › Responses

Succeeded response


CoinMarketCap 20 Index Latest

GET
https://pro-api.coinmarketcap.com
/v3/index/cmc20-latest
X-CMC_PRO_API_KEY (header)

Returns the lastest CoinMarketCap 20 Index value, constituents, and constituent weights.

This endpoint is available on the following API plans:

  • Basic
  • Startup
  • Builder
  • Growth
  • Professional
  • Enterprise

Available with no API key

Call this endpoint keyless - no API key, no signup. Prefix the path with /public-api: https://pro-api.coinmarketcap.com/public-api/v3/index/cmc20-latest. See the Keyless Public API for the full list, rate limits, and examples.

Cache / Update frequency: Every 5 minutes.
Plan credit use: 1 call credit per API call.
CMC equivalent pages: Our CoinMarketCap 20 Index on https://coinmarketcap.com/charts/cmc20/.

CoinMarketCap 20 Index Latest › Headers

X-CMC_PRO_API_KEY
​string · required

Your CoinMarketCap Pro API key

Default: YOUR_API_KEY

CoinMarketCap 20 Index Latest › Responses

Succeeded response

​CMC20IndexLatestDTO · required

The latest CoinMarketCap 20 Index value is returned in this object.

Standardized status object for API calls.