CoinMarketCap Coin API Documentation Read full detail for one coin in the requested currency. Pass the numeric id or the slug from listings or search. Other currencies return 422. The answer has price with currency, links, tags, ATH and ATL in USD with dates, supply details and token contract addresses. Non-USD current values use a shared daily conversion rate. Use the id in history and markets without changing it. An unknown id answers 404 and costs no credit. Cost: 1 credit per successful request. Scrappa is an independent service and is not affiliated with or endorsed by CoinMarketCap.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
This endpoint has no required query parameters.
3 optional filters available.
integer
Optional
Numeric CoinMarketCap id, e.g. 1 for Bitcoin. Use id or slug.
1234567890
string
Optional
Coin slug, e.g. bitcoin. Use id or slug.
example
string
Optional
Quote currency: USD (default), EUR, GBP, BTC or ETH.
USD
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"coin": {
"id": 1,
"ath": 109114,
"atl": 67.81,
"name": "Bitcoin",
"rank": 1,
"slug": "bitcoin",
"tags": [
{
"name": "Cryptocurrency",
"slug": "cryptocurrency"
}
],
"price": 67000.5,
"symbol": "BTC",
"ath_date": "2024-03-14T00:00:00+00:00",
"currency": "USD",
"contract_addresses": []
}
},
"meta": {
"source": "coinmarketcap",
"credits": 1,
"billable": true,
"endpoint_family": "coin"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Not Found
The id or slug is not known. This response is not billable.
{
"error": {
"code": "NOT_FOUND",
"message": "CoinMarketCap has no data for this request."
},
"success": false
}Service Unavailable
The upstream data is temporarily unavailable. This response is not billable.
{
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "The CoinMarketCap data is temporarily unavailable. Please retry."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.