CoinMarketCap Coin Listings
POST /api/v1/coinmarketcap/coins/listings
Get CoinMarketCap's ranked cryptocurrency list with each coin's price, market cap, 24h volume, supply and 1h/24h/7d/30d/1y price changes in your chosen currency.
Overview
Get CoinMarketCap's ranked cryptocurrency list with each coin's price, market cap, 24h volume, supply and 1h/24h/7d/30d/1y price changes in your chosen currency.
POST /api/v1/coinmarketcap/coins/listings
Method: POST Path: /api/v1/coinmarketcap/coins/listings Category: Finance
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| currency | string | Optional | Fiat currency code to quote prices in, e.g. USD, EUR, GBP (default USD). |
| limit | integer | Optional | Number of coins to return, starting from the top (1-500). |
| sort | string | Optional | Rank coins by this field, highest first. |
Request Example
CoinMarketCap Coin Listings Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/coinmarketcap/coins/listings" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"currency": "USD", "limit": "100", "sort": "market_cap"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "currency": "USD", "sort": "string", "total_coins": 0, "returned_results": 0, "results": [ { "rank": 0, "id": 0, "name": "string", "symbol": "string", "slug": "string", "url": "https://example.com/...", "logo": "string", "currency": "USD", "price": 0.0, "market_cap": 0.0, "fully_diluted_market_cap": 0.0, "volume_24h": 0.0, "market_cap_dominance": 0.0, "percent_change_1h": 0.0, "percent_change_24h": 0.0, "percent_change_7d": 0.0, "percent_change_30d": 0.0, "percent_change_1y": 0.0, "circulating_supply": 0.0, "total_supply": 0.0, "max_supply": 0.0, "market_pair_count": 0, "date_added": "string", "last_updated": "string", "tags": [ "string" ] } ], "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "CoinMarketCap Coin Listings", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| currency | string | Yes | Currency the prices and market values are quoted in, e.g. 'USD'. |
| sort | string | Yes | Field the coins are ranked by (descending). |
| total_coins | integer | Yes | Total number of coins CoinMarketCap tracks. |
| returned_results | integer | Yes | Number of coins returned. |
| results | array<object> | Yes | |
| results[].rank | integer | null | Yes | CoinMarketCap rank by market cap. |
| results[].id | integer | null | Yes | CoinMarketCap coin id. |
| results[].name | string | Yes | Coin name, e.g. 'Bitcoin'. |
| results[].symbol | string | Yes | Ticker symbol, e.g. 'BTC'. |
| results[].slug | string | Yes | Coin slug used in CoinMarketCap URLs, e.g. 'bitcoin'. |
| results[].url | string | Yes | CoinMarketCap coin page. Can be passed to the coin details endpoint. |
| results[].logo | string | No | Coin logo image URL (64x64). |
| results[].currency | string | No | Quote currency. |
| results[].price | number | null | Yes | Current price. |
| results[].market_cap | number | null | No | Market capitalisation. |
| results[].fully_diluted_market_cap | number | null | No | Fully diluted market capitalisation. |
| results[].volume_24h | number | null | No | Trading volume over the last 24 hours. |
| results[].market_cap_dominance | number | null | No | Share of total crypto market cap, in percent. |
| results[].percent_change_1h | number | null | No | Price change over 1 hour, in percent. |
| results[].percent_change_24h | number | null | No | Price change over 24 hours, in percent. |
| results[].percent_change_7d | number | null | No | Price change over 7 days, in percent. |
| results[].percent_change_30d | number | null | No | Price change over 30 days, in percent. |
| results[].percent_change_1y | number | null | No | Price change over 1 year, in percent. |
| results[].circulating_supply | number | null | No | Coins in circulation. |
| results[].total_supply | number | null | No | Total coins created minus burned. |
| results[].max_supply | number | null | No | Maximum supply (null when uncapped or unknown). |
| results[].market_pair_count | integer | null | No | Number of trading pairs tracked. |
| results[].date_added | string | No | Date the coin was added to CoinMarketCap (ISO 8601). |
| results[].last_updated | string | No | Time the quote was last updated (ISO 8601). |
| results[].tags | array<string> | No | Tag slugs, e.g. 'mineable', 'layer-1'. |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/coinmarketcap/coins/listings?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
currency,limit,sort USD,100,market_cap
Pricing & Rate Limits
Endpoint Pricing
$0.0012 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |