# Get market cap overview

`GET https://api.cryptohopper.com/v1/exchange/marketcap`

Part of [Exchanges](https://www.cryptohopper.com/api-documentation/api-reference/exchanges.md) in the Cryptohopper API reference.

Returns up to 20 currencies ordered by market cap rank, each with its fear and greed label. Also returns the total market cap, the total 24h volume and the average fear and greed score of all tracked currencies.

OAuth scope: `read`

The offset is (page - 1) * total, but every response holds up to 20 currencies. Send total=20 to page through the list.

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | The OAuth access token of the user. |

## Query parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `page` | string | no | Page number, default 1. |
| `total` | string | no | Page size used to calculate the offset, default 1. |

## Example request

```bash
curl "https://api.cryptohopper.com/v1/exchange/marketcap" \
  -H "access-token: YOUR_ACCESS_TOKEN"
```

## Response

Example response (illustrative values):

```json
{
    "data": {
        "currencies": [
            {
                "id": "1",
                "name": "Bitcoin",
                "symbol": "BTC",
                "slug": "bitcoin",
                "img": "https://cdn.cryptohopper.com/images/exchange/currencies/BTC.png",
                "rank": "1",
                "price_usd": "63120.4500000000",
                "price_btc": "1.00000000",
                "volume_usd_24h": "32000000000.00",
                "market_cap_usd": "1250000000000.00",
                "high_24h": "64250.1200000000",
                "low_24h": "62010.5500000000",
                "available_supply": "19750000.00",
                "total_supply": "21000000.00",
                "ath": "73750.0000000000",
                "ath_date": "1710460800",
                "price_change_24h": "1150.2000000000",
                "percent_change_24h": "1.85",
                "weekly": null,
                "weekly_expire": "1758787200",
                "about_text": null,
                "meta_keywords": null,
                "meta_description": null,
                "faq": null,
                "indicator_result_text": "Greed"
            }
        ],
        "total_market_cap": 2450000000000.5,
        "total_volume": 98000000000.25,
        "fear_and_greed": 58
    }
}
```

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
