2023-09-29 21:01:11 +03:00
|
|
|
---
|
|
|
|
title: Coin Market Cap
|
|
|
|
description: Coin Market Cap Widget Configuration
|
|
|
|
---
|
|
|
|
|
2024-01-24 14:27:47 -08:00
|
|
|
Learn more about [Coin Market Cap](https://coinmarketcap.com/api).
|
2024-01-22 13:26:15 -05:00
|
|
|
|
2023-09-29 21:01:11 +03:00
|
|
|
Get your API key from your [CoinMarketCap Pro Dashboard](https://pro.coinmarketcap.com/account).
|
|
|
|
|
|
|
|
Allowed fields: no configurable fields for this widget.
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
widget:
|
2023-10-17 23:26:55 -07:00
|
|
|
type: coinmarketcap
|
|
|
|
currency: GBP # Optional
|
|
|
|
symbols: [BTC, LTC, ETH]
|
|
|
|
key: apikeyapikeyapikeyapikeyapikey
|
|
|
|
defaultinterval: 7d # Optional
|
2023-09-29 21:01:11 +03:00
|
|
|
```
|
|
|
|
|
2024-01-20 18:52:46 -05:00
|
|
|
You can also specify slugs instead of symbols (since symbols aren't guaranteed to be unique). If you supply both, slugs will be used. For example:
|
2023-09-29 21:01:11 +03:00
|
|
|
|
|
|
|
```yaml
|
|
|
|
widget:
|
2023-10-17 23:26:55 -07:00
|
|
|
type: coinmarketcap
|
|
|
|
slugs: [chia-network, uniswap]
|
|
|
|
key: apikeyapikeyapikeyapikeyapikey
|
2023-09-29 21:01:11 +03:00
|
|
|
```
|