> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# CoinMarketCap

> Crypto listings, latest and historical quotes, OHLCV, coin metadata, global market metrics and the Fear and Greed index from CoinMarketCap.

![](https://mintcdn.com/webrouter/Wx0iBZkUGX_VAFTN/logo/data-apis/coinmarketcap.webp?fit=max\&auto=format\&n=Wx0iBZkUGX_VAFTN\&q=85\&s=2b7f72c37d84d2721f01e06ad999bc75)

[Web Catalog · Finance](https://docs.webrouter.net/data-apis.md?category=finance)

Needs&#x20;

`CMC_PRO_API_KEY`

Endpoints

10

Auth

Key in header

[Vendor docs](https://coinmarketcap.com/api/documentation/)

&#x20;·&#x20;

[Pricing](https://coinmarketcap.com/api/pricing/)

## Setup

| Variable | | What it is |
| - | - | - |
| `CMC_PRO_API_KEY` | required | a CoinMarketCap Pro API key (pro.coinmarketcap.com) |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Credits: 1 per successful call, plus more for large lists (see each endpoint) and 1 per extra convert currency beyond the first. Errors and /v1/key/info cost nothing.
* Identify coins by CoinMarketCap id (1 = BTC, 1027 = ETH) rather than symbol: symbols are not unique. Get ids from coinmarketcap.cryptocurrency.map.
* The v3 listings and quotes endpoints return status.error\_code as a string ('0') and data and quote as arrays; v1/v2 endpoints return a number and objects.
* Some endpoints and history depth depend on the plan; a 403 means the endpoint is not on the key's plan.
* Many endpoints also work keyless at /public-api/\<path>, at lower rate limits; this entry calls the keyed paths.

## Endpoints

GET

Map symbols to CoinMarketCap ids

CoinMarketCap ids for coins, by symbol or as a paginated list.

[Open](#coinmarketcap-cryptocurrency-map)

GET

List coins by market cap

Paginated, sortable list of active coins with latest market data, with price, cap, volume and change filters.

[Open](#coinmarketcap-cryptocurrency-listings-latest)

GET

Get latest coin quotes

Latest price, market cap, volume and changes for specific coins.

[Open](#coinmarketcap-cryptocurrency-quotes-latest)

GET

Get historical coin quotes

Price, volume and market cap of coins at intervals over a time range.

[Open](#coinmarketcap-cryptocurrency-quotes-historical)

GET

Get historical coin OHLCV

Daily or hourly open, high, low, close and volume for coins over a time range.

[Open](#coinmarketcap-cryptocurrency-ohlcv-historical)

GET

Get coin metadata

Logo, description, website and social URLs, tags, platform and contract of coins.

[Open](#coinmarketcap-cryptocurrency-info)

GET

Get global crypto market metrics

Total crypto market cap, volume, BTC and ETH dominance and related aggregates.

[Open](#coinmarketcap-global-metrics-latest)

GET

Get the crypto Fear and Greed index

Latest CoinMarketCap Fear and Greed index value and label.

[Open](#coinmarketcap-fear-and-greed-latest)

GET

Convert a crypto or fiat amount

Convert an amount of one currency into others, now or at a past time.

[Open](#coinmarketcap-tools-price-conversion)

GET

Get API key usage

The key's plan, rate limits and credit usage, and when credits reset.

[Open](#coinmarketcap-key-info)

### Map symbols to CoinMarketCap ids

GET

`/v1/cryptocurrency/map`

`coinmarketcap.cryptocurrency.map`

CoinMarketCap ids for coins, by symbol or as a paginated list.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`symbol`</td><td>string</td><td>query</td><td>Comma-separated symbols; when set, other options are ignored. Example `BTC,ETH`</td></tr>

    <tr>
      <td>
        `listing_status`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        active (default), inactive or untracked.
      </td>
    </tr>

    <tr>
      <td>
        `start`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        1-based offset.
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Number of results.
      </td>
    </tr>

    <tr><td>`sort`</td><td>string</td><td>query</td><td>Sort field. One of `cmc_rank`, `id`</td></tr>

    <tr>
      <td>
        `aux`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Extra fields: platform,first\_historical\_data,last\_historical\_data,is\_active,status.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://coinmarketcap.com/api/documentation/pro-api-reference/cryptocurrency/cryptocurrency-id-map.md) · Same job: [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-exchange-info), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-products-list), [Commodity Price API](https://docs.webrouter.net/data-apis/commoditypriceapi.md#commoditypriceapi-symbols), [Fixer](https://docs.webrouter.net/data-apis/fixer.md#fixer-symbols), [OANDA](https://docs.webrouter.net/data-apis/oanda.md#oanda-instruments-list), [Open Exchange Rates](https://docs.webrouter.net/data-apis/open-exchange-rates.md#open-exchange-rates-currencies)

```python Python theme={null}
router.call_data_api("coinmarketcap.cryptocurrency.map", {'symbol': 'BTC,ETH'})
```

```text MCP theme={null}
call_data_api(endpoint="coinmarketcap.cryptocurrency.map", params={"symbol": "BTC,ETH"})
```

> [!NOTE]
>
> * Always 1 credit.

### List coins by market cap

GET

`/v3/cryptocurrency/listings/latest`

`coinmarketcap.cryptocurrency.listings_latest`

Paginated, sortable list of active coins with latest market data, with price, cap, volume and change filters.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `start`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        1-based offset.
      </td>
    </tr>

    <tr><td>`limit`</td><td>integer</td><td>query</td><td>Number of results. Example `100`</td></tr>

    <tr>
      <td>
        `sort`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Sort field: market\_cap (default), market\_cap\_strict, name, symbol, date\_added, price, circulating\_supply, total\_supply, max\_supply, num\_market\_pairs, volume\_24h, percent\_change\_1h, percent\_change\_24h, percent\_change\_7d, ...
      </td>
    </tr>

    <tr>
      <td>
        `sort_dir`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Sort direction (asc or desc).
      </td>
    </tr>

    <tr>
      <td>
        `price_min`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Minimum USD price.
      </td>
    </tr>

    <tr>
      <td>
        `price_max`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Maximum USD price.
      </td>
    </tr>

    <tr>
      <td>
        `market_cap_min`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Minimum market cap.
      </td>
    </tr>

    <tr>
      <td>
        `market_cap_max`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Maximum market cap.
      </td>
    </tr>

    <tr>
      <td>
        `volume_24h_min`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Minimum 24h USD volume.
      </td>
    </tr>

    <tr>
      <td>
        `volume_24h_max`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Maximum 24h USD volume.
      </td>
    </tr>

    <tr>
      <td>
        `percent_change_24h_min`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Minimum 24h percent change.
      </td>
    </tr>

    <tr>
      <td>
        `percent_change_24h_max`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Maximum 24h percent change.
      </td>
    </tr>

    <tr>
      <td>
        `cryptocurrency_type`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Type of cryptocurrency to include.
      </td>
    </tr>

    <tr>
      <td>
        `tag`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Tag of cryptocurrency to include.
      </td>
    </tr>

    <tr><td>`convert`</td><td>string</td><td>query</td><td>Comma-separated currency symbols to quote in (up to 120). Example `USD`</td></tr>

    <tr>
      <td>
        `aux`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated extra fields.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://coinmarketcap.com/api/documentation/pro-api-reference/cryptocurrency/listings-latest.md) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-crypto-daily), [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-ticker-price), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-ticker-get), [CoinGecko](https://docs.webrouter.net/data-apis/coingecko.md#coingecko-price-simple), [CryptoCompare](https://docs.webrouter.net/data-apis/cryptocompare.md#cryptocompare-index-latest-tick), [DefiLlama](https://docs.webrouter.net/data-apis/defillama.md#defillama-prices-current)

```python Python theme={null}
router.call_data_api("coinmarketcap.cryptocurrency.listings_latest", {'limit': 100, 'convert': 'USD'})
```

```text MCP theme={null}
call_data_api(endpoint="coinmarketcap.cryptocurrency.listings_latest", params={"limit": 100, "convert": "USD"})
```

> [!NOTE]
>
> * 1 credit per 250 coins returned (rounded up), plus 1 per extra convert currency. Updated every 15 seconds.

### Get latest coin quotes

GET

`/v3/cryptocurrency/quotes/latest`

`coinmarketcap.cryptocurrency.quotes_latest`

Latest price, market cap, volume and changes for specific coins.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id`</td><td>string</td><td>query</td><td>Comma-separated CoinMarketCap ids. Example `1,1027`</td></tr>

    <tr>
      <td>
        `slug`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated slugs.
      </td>
    </tr>

    <tr>
      <td>
        `symbol`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated symbols.
      </td>
    </tr>

    <tr>
      <td>
        `convert`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated currency symbols (up to 120).
      </td>
    </tr>

    <tr>
      <td>
        `convert_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Currencies by CoinMarketCap id instead of symbol.
      </td>
    </tr>

    <tr>
      <td>
        `aux`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated extra fields.
      </td>
    </tr>

    <tr>
      <td>
        `skip_invalid`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Skip unmatched coins instead of failing the request.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://coinmarketcap.com/api/documentation/pro-api-reference/cryptocurrency/quotes-latest.md) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-crypto-daily), [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-ticker-price), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-ticker-get), [CoinGecko](https://docs.webrouter.net/data-apis/coingecko.md#coingecko-price-simple), [CryptoCompare](https://docs.webrouter.net/data-apis/cryptocompare.md#cryptocompare-index-latest-tick), [DefiLlama](https://docs.webrouter.net/data-apis/defillama.md#defillama-prices-current)

```python Python theme={null}
router.call_data_api("coinmarketcap.cryptocurrency.quotes_latest", {'id': '1,1027'})
```

```text MCP theme={null}
call_data_api(endpoint="coinmarketcap.cryptocurrency.quotes_latest", params={"id": "1,1027"})
```

> [!NOTE]
>
> * Pass one of id, slug or symbol.
> * 1 credit per 250 coins, plus 1 per extra convert currency.

### Get historical coin quotes

GET

`/v3/cryptocurrency/quotes/historical`

`coinmarketcap.cryptocurrency.quotes_historical`

Price, volume and market cap of coins at intervals over a time range.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id`</td><td>string</td><td>query</td><td>Comma-separated CoinMarketCap ids. Example `1`</td></tr>

    <tr>
      <td>
        `symbol`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated symbols.
      </td>
    </tr>

    <tr><td>`time_start`</td><td>string</td><td>query</td><td>Unix or ISO 8601 start. Example `2024-01-01`</td></tr>

    <tr>
      <td>
        `time_end`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Unix or ISO 8601 end, inclusive; default now.
      </td>
    </tr>

    <tr>
      <td>
        `count`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Number of intervals when time\_start and time\_end are not both set; default 10, max 10000.
      </td>
    </tr>

    <tr><td>`interval`</td><td>string</td><td>query</td><td>Sampling interval. One of `yearly`, `monthly`, `weekly`, `daily`, `hourly`, `5m`, `10m`, `15m`, `30m`, `45m`, `1h`, `2h`, `3h`, `4h`, `6h`, `12h`, `24h`, `1d`, `2d`, `3d`, `7d`, `14d`, `15d`, `30d`, `60d`, `90d`, `365d` Example `daily`</td></tr>

    <tr>
      <td>
        `convert`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Up to 3 currency symbols; default USD.
      </td>
    </tr>

    <tr>
      <td>
        `aux`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated extra fields.
      </td>
    </tr>

    <tr>
      <td>
        `skip_invalid`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Skip unmatched coins instead of failing.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://coinmarketcap.com/api/documentation/pro-api-reference/cryptocurrency/quotes-historical.md) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-daily), [Bank of Canada](https://docs.webrouter.net/data-apis/bankofcanada.md#bankofcanada-observations-series), [Bank of England](https://docs.webrouter.net/data-apis/bankofengland.md#bankofengland-series-csv), [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-klines), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-candles-get), [CoinGecko](https://docs.webrouter.net/data-apis/coingecko.md#coingecko-coins-market-chart)

```python Python theme={null}
router.call_data_api("coinmarketcap.cryptocurrency.quotes_historical", {'id': '1', 'time_start': '2024-01-01', 'interval': 'daily'})
```

```text MCP theme={null}
call_data_api(endpoint="coinmarketcap.cryptocurrency.quotes_historical", params={"id": "1", "time_start": "2024-01-01", "interval": "daily"})
```

> [!NOTE]
>
> * Pass id or symbol.
> * 1 credit per 100 data points (rounded up), plus 1 per extra convert currency.
> * Basic plan: 1 month intraday, 1 year daily.

### Get historical coin OHLCV

GET

`/v2/cryptocurrency/ohlcv/historical`

`coinmarketcap.cryptocurrency.ohlcv_historical`

Daily or hourly open, high, low, close and volume for coins over a time range.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id`</td><td>string</td><td>query</td><td>Comma-separated CoinMarketCap ids. Example `1,1027`</td></tr>

    <tr>
      <td>
        `slug`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated slugs.
      </td>
    </tr>

    <tr>
      <td>
        `symbol`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated symbols.
      </td>
    </tr>

    <tr><td>`time_period`</td><td>string</td><td>query</td><td>Candle period; default daily. One of `daily`, `hourly`</td></tr>
    <tr><td>`time_start`</td><td>string</td><td>query</td><td>Unix or ISO 8601 start; only the date counts for daily. Example `2024-01-01`</td></tr>

    <tr>
      <td>
        `time_end`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Unix or ISO 8601 end, inclusive; default now.
      </td>
    </tr>

    <tr>
      <td>
        `count`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Number of periods; default 10, max 10000.
      </td>
    </tr>

    <tr><td>`interval`</td><td>string</td><td>query</td><td>How often time\_period is sampled. One of `hourly`, `daily`, `weekly`, `monthly`, `yearly`, `1h`, `2h`, `3h`, `4h`, `6h`, `12h`, `1d`, `2d`, `3d`, `7d`, `14d`, `15d`, `30d`, `60d`, `90d`, `365d`</td></tr>

    <tr>
      <td>
        `convert`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Up to 3 currency symbols; default USD.
      </td>
    </tr>

    <tr>
      <td>
        `skip_invalid`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Skip unmatched coins instead of failing.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://coinmarketcap.com/api/documentation/pro-api-reference/cryptocurrency/ohlcv-historical.md) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-daily), [Bank of Canada](https://docs.webrouter.net/data-apis/bankofcanada.md#bankofcanada-observations-series), [Bank of England](https://docs.webrouter.net/data-apis/bankofengland.md#bankofengland-series-csv), [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-klines), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-candles-get), [CoinGecko](https://docs.webrouter.net/data-apis/coingecko.md#coingecko-coins-market-chart)

```python Python theme={null}
router.call_data_api("coinmarketcap.cryptocurrency.ohlcv_historical", {'id': '1,1027', 'time_start': '2024-01-01'})
```

```text MCP theme={null}
call_data_api(endpoint="coinmarketcap.cryptocurrency.ohlcv_historical", params={"id": "1,1027", "time_start": "2024-01-01"})
```

> [!NOTE]
>
> * Not on the free Basic plan.
> * 1 credit per 100 data points (rounded up), plus 1 per extra convert currency.

### Get coin metadata

GET

`/v2/cryptocurrency/info`

`coinmarketcap.cryptocurrency.info`

Logo, description, website and social URLs, tags, platform and contract of coins.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id`</td><td>string</td><td>query</td><td>Comma-separated CoinMarketCap ids. Example `1,1027`</td></tr>

    <tr>
      <td>
        `slug`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated slugs.
      </td>
    </tr>

    <tr>
      <td>
        `symbol`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated symbols.
      </td>
    </tr>

    <tr>
      <td>
        `address`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        A contract address.
      </td>
    </tr>

    <tr>
      <td>
        `aux`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Extra fields: urls,logo,description,tags,platform,date\_added,notice,status.
      </td>
    </tr>

    <tr>
      <td>
        `skip_invalid`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Skip unmatched coins instead of failing.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://coinmarketcap.com/api/documentation/pro-api-reference/cryptocurrency/metadata.md) · Same job: [Airscale](https://docs.webrouter.net/data-apis/airscale.md#airscale-company-get), [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-enrich), [Albacross](https://docs.webrouter.net/data-apis/albacross.md#albacross-enrich-company), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-linkedin-company), [Apollo.io](https://docs.webrouter.net/data-apis/apollo.md#apollo-organizations-enrich), [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-company-enrich)

```python Python theme={null}
router.call_data_api("coinmarketcap.cryptocurrency.info", {'id': '1,1027'})
```

```text MCP theme={null}
call_data_api(endpoint="coinmarketcap.cryptocurrency.info", params={"id": "1,1027"})
```

> [!NOTE]
>
> * 1 credit per 250 coins returned (rounded up).

### Get global crypto market metrics

GET

`/v1/global-metrics/quotes/latest`

`coinmarketcap.global_metrics.latest`

Total crypto market cap, volume, BTC and ETH dominance and related aggregates.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `convert`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated currency symbols (up to 120).
      </td>
    </tr>

    <tr>
      <td>
        `convert_id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Currencies by CoinMarketCap id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://coinmarketcap.com/api/documentation/pro-api-reference/global-metrics/quotes-latest-3.md) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-quote), [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-ticker-24hr), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-stats-get), [Commodity Price API](https://docs.webrouter.net/data-apis/commoditypriceapi.md#commoditypriceapi-rates-latest), [EODHD](https://docs.webrouter.net/data-apis/eodhd.md#eodhd-live-quote), [Financial Datasets](https://docs.webrouter.net/data-apis/financialdatasets.md#financialdatasets-prices-snapshot)

```python Python theme={null}
router.call_data_api("coinmarketcap.global_metrics.latest")
```

```text MCP theme={null}
call_data_api(endpoint="coinmarketcap.global_metrics.latest")
```

### Get the crypto Fear and Greed index

GET

`/v3/fear-and-greed/latest`

`coinmarketcap.fear_and_greed.latest`

Latest CoinMarketCap Fear and Greed index value and label.

Input

No inputs.

[Vendor docs](https://coinmarketcap.com/api/documentation/pro-api-reference/global-metrics/cmc-crypto-fear-and-greed-latest.md) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-quote), [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-ticker-24hr), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-stats-get), [Commodity Price API](https://docs.webrouter.net/data-apis/commoditypriceapi.md#commoditypriceapi-rates-latest), [EODHD](https://docs.webrouter.net/data-apis/eodhd.md#eodhd-live-quote), [Financial Datasets](https://docs.webrouter.net/data-apis/financialdatasets.md#financialdatasets-prices-snapshot)

```python Python theme={null}
router.call_data_api("coinmarketcap.fear_and_greed.latest")
```

```text MCP theme={null}
call_data_api(endpoint="coinmarketcap.fear_and_greed.latest")
```

### Convert a crypto or fiat amount

GET

`/v2/tools/price-conversion`

`coinmarketcap.tools.price_conversion`

Convert an amount of one currency into others, now or at a past time.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`amount` required</td><td>number</td><td>query</td><td>Amount to convert. Example `10.43`</td></tr>
    <tr><td>`id`</td><td>string</td><td>query</td><td>CoinMarketCap id of the source currency. Example `1`</td></tr>

    <tr>
      <td>
        `symbol`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Symbol of the source currency (id or symbol required).
      </td>
    </tr>

    <tr>
      <td>
        `time`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Unix or ISO 8601 time for historical conversion; default now.
      </td>
    </tr>

    <tr><td>`convert`</td><td>string</td><td>query</td><td>Up to 120 comma-separated target symbols. Example `USD`</td></tr>
  </tbody>
</table>

[Vendor docs](https://coinmarketcap.com/api/documentation/pro-api-reference/tools/price-conversion-v2.md) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-crypto-daily), [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-ticker-price), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-ticker-get), [CoinGecko](https://docs.webrouter.net/data-apis/coingecko.md#coingecko-price-simple), [CryptoCompare](https://docs.webrouter.net/data-apis/cryptocompare.md#cryptocompare-index-latest-tick), [DefiLlama](https://docs.webrouter.net/data-apis/defillama.md#defillama-prices-current)

```python Python theme={null}
router.call_data_api("coinmarketcap.tools.price_conversion", {'amount': 10.43, 'id': '1', 'convert': 'USD'})
```

```text MCP theme={null}
call_data_api(endpoint="coinmarketcap.tools.price_conversion", params={"amount": 10.43, "id": "1", "convert": "USD"})
```

> [!NOTE]
>
> * Historical conversion needs a paid plan (Startup: 1 month).

### Get API key usage

GET

`/v1/key/info`

`coinmarketcap.key.info`

The key's plan, rate limits and credit usage, and when credits reset.

Input

No inputs.

[Vendor docs](https://coinmarketcap.com/api/documentation/pro-api-reference/tools/key-info.md)

```python Python theme={null}
router.call_data_api("coinmarketcap.key.info")
```

```text MCP theme={null}
call_data_api(endpoint="coinmarketcap.key.info")
```

> [!NOTE]
>
> * Costs no credits.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.