# CoinMarketCap Listings API Documentation

<p><strong>CoinMarketCap Listings API Documentation</strong> List public CoinMarketCap coins with rank, price and 1h, 24h and 7d change, market cap, 24h volume, supply, ATH, ATL and market pair count. Prices are numbers with a currency field. Non-USD values use a shared daily conversion rate from the USD quote. Filter by page and per_page (1 to 250), sort by market_cap, volume_24h, percent_change_24h, price or circulating_supply, order desc or asc, and currency. Page 2 holds different coins from page 1. Pass an id or slug from this route into coin, history and markets. An empty answer and every failed request cost no credit. Cost: 1 credit per successful request. Scrappa is an independent service and is not affiliated with or endorsed by CoinMarketCap.</p>

- **Documentation:** [https://scrappa.co/docs/coinmarketcap-api/coinmarketcap_listings](https://scrappa.co/docs/coinmarketcap-api/coinmarketcap_listings)
- **API group:** CoinMarketCap API
- **Endpoint:** `GET https://scrappa.co/api/coinmarketcap/listings`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `page` | integer | No | Page number, 1-based. |
| `per_page` | integer | No | Coins per page, 1 to 250, default 100. |
| `sort` | string | No | market_cap, volume_24h, percent_change_24h, price or circulating_supply. |
| `order` | string | No | desc (default) or asc. |
| `currency` | string | No | Quote currency: USD (default), EUR, GBP, BTC or ETH. |

## Example response

```json
{
    "data": {
        "listings": [
            {
                "id": 1,
                "name": "Bitcoin",
                "rank": 1,
                "slug": "bitcoin",
                "price": 67000.5,
                "symbol": "BTC",
                "currency": "USD",
                "change_1h": 0.2,
                "change_7d": 3.4,
                "change_24h": 1.2,
                "market_cap": 1320000000000,
                "volume_24h": 28000000000,
                "circulating_supply": 19700000
            }
        ],
        "pagination": {
            "page": 1,
            "total": 7960,
            "has_more": true,
            "per_page": 100,
            "total_pages": 80
        }
    },
    "meta": {
        "source": "coinmarketcap",
        "credits": 1,
        "billable": true,
        "endpoint_family": "listings"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query parameter is missing or invalid. This response is not billable. |
| 503 | Service Unavailable | The upstream data is temporarily unavailable. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
