CoinMarketCap Cryptocurrency API Documentation
Endpoints for global aggregate market data. This category includes 6 endpoints:

CMC Crypto Fear and Greed Historical

GET
https://pro-api.coinmarketcap.com
/v3/fear-and-greed/historical
X-CMC_PRO_API_KEY (header)

Returns a paginated list of all CMC Crypto Fear and Greed values at 12am UTC time.

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/fear-and-greed/historical. See the Keyless Public API for the full list, rate limits, and examples.

Cache / Update frequency: Every 15 seconds.
Plan credit use: 1 API call credit per request no matter query size.
CMC equivalent pages: Our CMC Crypto Fear and Greed Index card on https://coinmarketcap.com/charts/.

CMC Crypto Fear and Greed Historical › query Parameters

start
​integer · min: 1

Optionally offset the start (1-based index) of the paginated list of items to return.

Default: 1
limit
​integer · min: 1 · max: 500

Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.

Default: 50

CMC Crypto Fear and Greed Historical › Headers

X-CMC_PRO_API_KEY
​string · required

Your CoinMarketCap Pro API key

Default: YOUR_API_KEY

CMC Crypto Fear and Greed Historical › Responses

Successful

Fear and Greed Historical.

Standardized status object for API calls.


CMC Crypto Fear and Greed Latest

GET
https://pro-api.coinmarketcap.com
/v3/fear-and-greed/latest
X-CMC_PRO_API_KEY (header)

Returns the lastest CMC Crypto Fear and Greed value.

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/fear-and-greed/latest. See the Keyless Public API for the full list, rate limits, and examples.

Cache / Update frequency: Every 15 minutes.
Plan credit use: 1 call credit per request.
CMC equivalent pages: Our CMC Crypto Fear and Greed Index card on https://coinmarketcap.com/charts/.

CMC Crypto Fear and Greed Latest › Headers

X-CMC_PRO_API_KEY
​string · required

Your CoinMarketCap Pro API key

Default: YOUR_API_KEY

CMC Crypto Fear and Greed Latest › Responses

Successful

The latest CMC Fear and Greed value.

Standardized status object for API calls.


Quotes Historical

GET
https://pro-api.coinmarketcap.com
/v1/global-metrics/quotes/historical
X-CMC_PRO_API_KEY (header)

Returns an interval of historical global cryptocurrency market metrics based on time and interval parameters.

Technical Notes

  • A historic quote for every "interval" period between your "time_start" and "time_end" will be returned.
  • If a "time_start" is not supplied, the "interval" will be applied in reverse from "time_end".
  • If "time_end" is not supplied, it defaults to the current time.
  • At each "interval" period, the historic quote that is closest in time to the requested time will be returned.
  • If no historic quotes are available in a given "interval" period up until the next interval period, it will be skipped.

Interval Options
There are 2 types of time interval formats that may be used for "interval".

The first are calendar year and time constants in UTC time:
"hourly" - Get the first quote available at the beginning of each calendar hour.
"daily" - Get the first quote available at the beginning of each calendar day.
"weekly" - Get the first quote available at the beginning of each calendar week.
"monthly" - Get the first quote available at the beginning of each calendar month.
"yearly" - Get the first quote available at the beginning of each calendar year.

The second are relative time intervals.
"m": Get the first quote available every "m" minutes (60 second intervals). Supported minutes are: "5m", "10m", "15m", "30m", "45m".
"h": Get the first quote available every "h" hours (3600 second intervals). Supported hour intervals are: "1h", "2h", "3h", "4h", "6h", "12h".
"d": Get the first quote available every "d" days (86400 second intervals). Supported day intervals are: "1d", "2d", "3d", "7d", "14d", "15d", "30d", "60d", "90d", "365d".

This endpoint is available on the following API plans:

  • Basic (intraday: 1 month, daily: 1 year)
  • Builder (intraday: 1 month, daily: 3 years)
  • Startup (intraday: 1 month, daily: from 2013)
  • Growth (intraday: 3 months, daily: from 2013)
  • Professional (intraday: 12 months, daily: from 2013)
  • Enterprise (intraday: from 2013, daily: from 2013)

Note: Intraday = 5m-12h intervals, Daily = 1d-1y intervals

Cache / Update frequency: Every 5 minutes.
Plan credit use: 1 call credit per 100 historical data points returned (rounded up).
CMC equivalent pages: Our Total Market Capitalization global chart coinmarketcap.com/charts/.

Quotes Historical › query Parameters

time_start
​string

Timestamp (Unix or ISO 8601) to start returning quotes 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 quotes 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
​number · min: 1 · max: 10000

The number of interval periods to return results for. Optional, required if both "time_start" and "time_end" aren't supplied. The default is 10 items. The current query limit is 10000.

Default: 10
interval
​string · enum

Interval of time to return data points for. See details in endpoint description.

Enum values:
yearly
monthly
weekly
daily
hourly
5m
10m
15m
Default: 1d
convert
​string · pattern: ^[0-9A-Za-z$@\-,]+(?…

By default market quotes are returned in USD. Optionally calculate market quotes in up to 3 other fiat currencies or cryptocurrencies.

convert_id
​string · pattern: ^\d+(?:,\d+)*$

Optionally calculate market quotes by CoinMarketCap ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.

aux
​string · pattern: ^(btc_dominance|eth_…

Optionally specify a comma-separated list of supplemental data fields to return. Pass btc_dominance,eth_dominance,active_cryptocurrencies,active_exchanges,active_market_pairs,total_volume_24h,total_volume_24h_reported,altcoin_market_cap,altcoin_volume_24h,altcoin_volume_24h_reported,search_interval to include all auxiliary fields.

Default: btc_dominance,eth_dominance,active_cryptocurrencies,active_exchanges,active_market_pairs,total_volume_24h,total_volume_24h_reported,altcoin_market_cap,altcoin_volume_24h,altcoin_volume_24h_reported

Quotes Historical › Headers

X-CMC_PRO_API_KEY
​string · required

Your CoinMarketCap Pro API key

Default: YOUR_API_KEY

Quotes Historical › Responses

Successful

Results of your query returned as an object.

Standardized status object for API calls.


Quotes Latest

GET
https://pro-api.coinmarketcap.com
/v1/global-metrics/quotes/latest
X-CMC_PRO_API_KEY (header)

Returns the latest global cryptocurrency market metrics. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.

This endpoint is available on the following API plans:

  • Basic
  • Builder
  • Startup
  • 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/v1/global-metrics/quotes/latest. See the Keyless Public API for the full list, rate limits, and examples.

Cache / Update frequency: Every 5 minute.
Plan credit use: 1 call credit per call and 1 call credit per convert option beyond the first.
CMC equivalent pages: The latest aggregate global market stats ticker across all CMC pages like coinmarketcap.com.

Quotes Latest › query Parameters

convert
​string · pattern: ^[0-9A-Za-z$@\-,]+(?…

Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found here. Each conversion is returned in its own "quote" object.

convert_id
​string · pattern: ^\d+(?:,\d+)*$

Optionally calculate market quotes by CoinMarketCap ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.

Quotes Latest › Headers

X-CMC_PRO_API_KEY
​string · required

Your CoinMarketCap Pro API key

Default: YOUR_API_KEY

Quotes Latest › Responses

Successful

Results object for your API call.

Standardized status object for API calls.


Altcoin Season Index Latest

GET
https://pro-api.coinmarketcap.com
/v1/altcoin-season-index/latest
X-CMC_PRO_API_KEY (header)

Returns the latest Altcoin Season Index snapshot with yearly high/low statistics. Index scale 0-100; values above 75 suggest altcoin season, below 25 suggest Bitcoin season.

This endpoint is available on the following API plans:

  • Basic
  • Builder
  • Startup
  • 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/v1/altcoin-season-index/latest. See the Keyless Public API for the full list, rate limits, and examples.

Cache / Update frequency: Every 15 minutes. Plan credit use: 1 API call credit per request.

Altcoin Season Index Latest › Headers

X-CMC_PRO_API_KEY
​string · required

Your CoinMarketCap Pro API key

Default: YOUR_API_KEY

Altcoin Season Index Latest › Responses

Successful

Altcoin Season Index latest snapshot.

Standardized status object for API calls.


Altcoin Season Index Historical

GET
https://pro-api.coinmarketcap.com
/v1/altcoin-season-index/historical
X-CMC_PRO_API_KEY (header)

Returns historical Altcoin Season Index data for a specified timeframe (7d, 30d, or 90d). Data points are sorted by timestamp (oldest first).

This endpoint is available on the following API plans:

  • Basic
  • Builder
  • Startup
  • 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/v1/altcoin-season-index/historical. See the Keyless Public API for the full list, rate limits, and examples.

Cache / Update frequency: Every 15 minutes. Plan credit use: 1 API call credit per request.

Altcoin Season Index Historical › query Parameters

timeframe
​string · enum

Timeframe for historical data. Valid values are 7d, 30d, and 90d. Default is 7d.

Enum values:
7d
30d
90d
Default: 7d

Altcoin Season Index Historical › Headers

X-CMC_PRO_API_KEY
​string · required

Your CoinMarketCap Pro API key

Default: YOUR_API_KEY

Altcoin Season Index Historical › Responses

Successful

Altcoin Season Index historical series for a timeframe.

Standardized status object for API calls.