homepage/docs/widgets/services/coin-market-cap.md

29 lines
734 B
Markdown
Raw Normal View History

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).
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:
type: coinmarketcap
currency: GBP # Optional
symbols: [BTC, LTC, ETH]
key: apikeyapikeyapikeyapikeyapikey
defaultinterval: 7d # Optional
2023-09-29 21:01:11 +03: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:
type: coinmarketcap
slugs: [chia-network, uniswap]
key: apikeyapikeyapikeyapikeyapikey
2023-09-29 21:01:11 +03:00
```