# CoinMarketCap Data, Without the Overhead

Access CoinMarketCap via Uniblock's unified blockchain API. Market cap, volume, and pricing data from CoinMarketCap. Routed through Uniblock and ready to query.

COINMARKETCAP INCLUDED IN UNIFIED ENDPOINTS

- [GET market/data/trending](https://docs.uniblock.dev/api-reference/token/get-address-token-balances#get-address-token-balances) - Get latest market cap rankings
- [GET market/data/chart/range](https://docs.uniblock.dev/api-reference/nft/get-nft-collection-metadata#get-nft-collection-metadata) - Get current token price data
- [GET market/data/price](https://docs.uniblock.dev/api-reference/transaction/get-address-transactions) - Get 24-hour volume for a token
- [GET market/data/history](https://docs.uniblock.dev/api-reference/token/get-token-metadata) - Get historical price data
- [GET market/data/24/hour/volume](https://docs.uniblock.dev/api-reference/nft/get-nft-metadata) - Get trending cryptocurrencies
- [GET market/data/price](https://docs.uniblock.dev/api-reference/nft/get-wallet-nft-balances) - Get token metadata and info

## USE CASES

- **MARKETPLACE**
- **AIRDROP-CAMPAIGNS**
- **DEFI-PLATFORMS**
- **BLOCKCHAIN-ANALYTICS**

## COINMARKETCAP API EXAMPLE

**INPUT**
```javascript
const options = {method: 'GET', headers: {accept: 'application/json'}};

fetch('https://api.uniblock.dev/uni/v1/market-data/price?symbol=ETH%2CUSDT%2CSOL', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
```

**OUTPUT**
```json
{
  "ETH": {
    "btc": 0.04078668,
    "eth": 1,
    "bnb": 4.457605,
    "xrp": 4464,
    "usd": 2649.44,
    "aud": 3843.26,
    "cad": 3569.92,
    "eur": 2370.31,
    "gbp": 1975.35,
    "hkd": 20609,
    "jpy": 383285,
    "rub": 245385
  },
  "SOL": {
    "btc": 0.00239974,
    "eth": 0.05883754,
    "bnb": 0.2622693,
    "xrp": 262.618,
    "usd": 155.88,
    "aud": 226.12,
    "cad": 210.04,
    "eur": 139.46,
    "gbp": 116.22,
    "hkd": 1212.56,
    "jpy": 22551,
    "rub": 14437.55
  },
  "USDT": {
    "btc": 0.00001538,
    "eth": 0.00037709,
    "bnb": 0.00168089,
    "xrp": 1.683125,
    "usd": 0.999063,
    "aud": 1.45,
    "cad": 1.35,
    "eur": 0.893807,
    "gbp": 0.744873,
    "hkd": 7.77,
    "jpy": 144.53,
    "rub": 92.53
  }
}
```

### About CoinMarketCap

CoinMarketCap is the most referenced crypto market data platform globally, providing real-time and historical pricing, rankings, and market cap data for thousands of digital assets.
