Short answer: The CoinMarketCap API can be called with no key through the Keyless Public API or with a free Basic key. As read on 26 November 2026, keyless calls go to https://pro-api.coinmarketcap.com/public-api plus the endpoint path, and keyed calls drop /public-api and send the key in the X-CMC_PRO_API_KEY header. The free Basic plan lists 15,000 call credits a month and 50 requests a minute, and leaves out OHLCV and several other endpoints.
The facts here come from the CoinMarketCap API documentation and the API pricing page, both read on 26 November 2026, and from keyless calls made that day from one IP address. The Commercial Terms of Use, which could not be read on 26 November because of a bot challenge, were read in a browser on 27 November 2026 and are quoted in the licence section. Limits change, so treat every number as dated.
This guide describes CoinMarketCap only and says nothing about any coin. For the broader question of which kind of price source to use, see the crypto price API guide.
CoinMarketCap keyless API: what it is and what it covers
The Keyless Public API is a fixed subset of production endpoints that answers without a key, an account or any header, at https://pro-api.coinmarketcap.com/public-api.
The documentation page for it, read on 26 November 2026, lists 18 standard endpoints and 17 DEX endpoints. The standard set includes /v2/simple/price, /v3/cryptocurrency/quotes/latest, /v3/cryptocurrency/listings/latest, /v1/cryptocurrency/map, /v2/cryptocurrency/info, global metrics, price conversion and CoinMarketCap's own indices. The DEX set includes pair quotes, token detail and price, pools, security detail, swap lists, holder counts and K-line candles for DEX pools. Responses use the same JSON envelope as the keyed API, so moving to a key means removing /public-api from the path and adding the header.
What it does not include matters as much: there is no historical quotes endpoint and no centralized-exchange OHLCV in the keyless list. The page says keyless requests "share an IP-based rate pool" and tells you to back off on a 429; it publishes no number. The pricing page FAQ adds that the keyless subset is rate-limited and fixed, and that production use should move to a free Basic key or a paid plan.
Many search results still say CoinMarketCap has no free keyless access, which was true of older documentation. It is not true of the documentation read on 26 November 2026.
CoinMarketCap API key: header, sandbox and browser calls
A key comes from a free Developer Portal account and is sent in the X-CMC_PRO_API_KEY header to https://pro-api.coinmarketcap.com.
- Header or query. The authentication guide names the header as the preferred method and a
CMC_PRO_API_KEYquery parameter as a convenience method, with a warning that the header is strongly recommended in production because a key in a URL leaks into logs. - No browser calls. The FAQ says client-side browser requests are blocked to protect your key; route requests through a backend.
- Required headers. The standards page says every request must carry
Accept: application/jsonand suggestsAccept-Encoding: deflate, gzip. - Sandbox. The full documentation file read on 26 November 2026 contains no mention of a sandbox environment. Older tutorials point to one; if you need a test environment, the keyless API is what the current documentation offers.
Keep keys out of source code; the script below reads one from an environment variable. General key hygiene is covered in the API key guide.
How CoinMarketCap call credits are counted
Credits are charged per successful call and per block of data returned, not simply per request, so a large list call can cost several credits.
The authentication guide sets the rules: one credit per HTTP 200 data call; one extra credit for every 100 data points beyond the first 100 on list endpoints, rounded up; bundled IDs cost one credit per 100 resources returned; and each convert currency beyond the first adds a credit. Lightweight /map endpoints always cost 1, and error responses, account and usage endpoints cost nothing. Every response reports its cost in status.credit_count, and /v1/key/info shows usage and reset times. The free Basic tier resets daily and monthly at UTC midnight; paid plans reset on the subscription anniversary.
Hypothetical example. A job calls /v3/cryptocurrency/listings/latest with limit=500 and convert=USD,EUR every 10 minutes. Each call costs 1 base credit, plus 4 for the 400 rows beyond 100, plus 1 for the second currency: 6 credits. At 144 calls a day that is 864 credits a day and about 25,920 in a 30-day month, over Basic's 15,000 and inside Builder's 150,000. Dropping EUR and cutting to 200 rows would make it 2 credits a call and 8,640 a month.
CoinMarketCap API pricing and free tier limits, 26 November 2026
The free Basic plan lists 15,000 monthly credits and 50 requests a minute; paid plans start at USD 29 a month billed yearly, according to the pricing page on 26 November 2026.
| Plan | Price | Credits a month | Requests a minute | Update frequency | Endpoints |
|---|---|---|---|---|---|
| Basic | Free | 15,000 | 50 | 15 seconds | 60+ |
| Builder | USD 29 (USD 348 a year) | 150,000 | 300 | 15 seconds | 70+ |
| Startup | USD 79 (USD 948 a year) | 450,000 | 600 | Real-time | 80+ |
| Growth | USD 299 (USD 3,588 a year) | 2,000,000 | 750 | Real-time | 90+ |
| Professional | USD 699 (USD 8,388 a year) | 5,000,000 | 1,200 | Real-time | 90+ |
| Enterprise | Custom | 30,000,000 shown; custom | 1,600+ | Real-time | 90+ |
The comparison table marks OHLCV latest, OHLCV historical and new listings as not included on Basic and Builder, and market pairs as not included below Growth; daily OHLCV history from 2010 starts at Startup. Basic shows 1 year of daily historical quotes and 1 month of intraday quotes; Builder shows 3 years daily. The API FAQ page says Basic has 65 data endpoints while the pricing table says 60+, and the Builder card says "Personal projects" while the table lists Builder as commercial use. Monthly billing costs more than the yearly figures above, and the table shows regular prices, not the discount code the page carried in late November 2026.
CoinMarketCap API endpoints most projects start with
Start with the ID map, then quotes for known assets or listings for a ranked market view, and add history only if your plan includes it.
/v1/cryptocurrency/mapreturns CoinMarketCap IDs andfirst_historical_data. The documentation recommends IDs over symbols because symbols are not unique and can change after a rebrand; a symbol lookup defaults to the highest market cap match./v3/cryptocurrency/quotes/latestwhen you know which assets you want; v3 returnsdataandquoteas arrays, while v1 and v2 return objects keyed by ID or currency. Code written for one version breaks on the other./v3/cryptocurrency/listings/latestfor ranked, paginated market slices.- OHLCV and historical quote endpoints for charts and backtests, subject to the plan table above.
The documentation also lists 23 deprecated endpoints; check that a tutorial's path is not among them before copying it.
CoinMarketCap API Python example, tested keyless
The script runs keyless when no key is set, retries 429 and 500 with exponential backoff (up to about a minute in total), and resolves symbols to IDs before asking for quotes.
import os, time, json, urllib.request, urllib.error, urllib.parse
from datetime import datetime, timezone
KEY = os.environ.get("CMC_PRO_API_KEY") # set it in the shell, never in code
BASE = "https://pro-api.coinmarketcap.com" + ("" if KEY else "/public-api")
def get(path, params, tries=7):
url = f"{BASE}{path}?{urllib.parse.urlencode(params)}"
headers = {"Accept": "application/json", "User-Agent": "Mozilla/5.0"}
if KEY:
headers["X-CMC_PRO_API_KEY"] = KEY
for i in range(tries):
try:
with urllib.request.urlopen(urllib.request.Request(url, headers=headers), timeout=15) as r:
return json.load(r)
except urllib.error.HTTPError as e:
body = json.loads(e.read() or b"{}").get("status", {})
if e.code in (429, 500) and i < tries - 1:
print(e.code, body.get("error_code"), "retry in", 2 ** i, "s")
time.sleep(2 ** i)
continue
raise RuntimeError(f"{e.code} {body.get('error_code')} {body.get('error_message')}")
print("run at", datetime.now(timezone.utc).strftime("%Y-%m-%d %H:%M UTC"), "| keyless:", not KEY)
m = get("/v1/cryptocurrency/map", {"symbol": "BTC,ETH"})
print("map rows for BTC,ETH:", len(m["data"]), "| credits:", m["status"].get("credit_count"))
best = {}
for c in m["data"]: # symbols are not unique: keep the ranked match
if c.get("rank") and (c["symbol"] not in best or c["rank"] < best[c["symbol"]]["rank"]):
best[c["symbol"]] = c
ids = ",".join(str(c["id"]) for c in best.values())
print("ids:", ids)
q = get("/v3/cryptocurrency/quotes/latest", {"id": ids, "convert": "USD"})
for c in q["data"]:
usd = c["quote"][0]
print(c["id"], c["symbol"], round(usd["price"], 2), usd["last_updated"])
print("credits:", q["status"].get("credit_count"))Real output on 26 November 2026, keyless, one IP address:
run at 2026-11-26 21:38 UTC | keyless: True
500 500 retry in 1 s
500 500 retry in 2 s
500 500 retry in 4 s
map rows for BTC,ETH: 20 | credits: 1
ids: 1,1027
500 500 retry in 1 s
1 BTC 60819.56 2026-11-26T21:37:04.000Z
1027 ETH 1705.39 2026-11-26T21:37:04.000Z
credits: 1Three things showed up that the documentation does not mention. The keyless endpoint returned HTTP 500 with INTERNAL_SERVER_ERROR on up to five consecutive attempts before succeeding; with five tries in total, one run that evening gave up, which is why the script allows seven. Retry logic needs to cover 500 as well as 429; the errors page does say to retry 500 with backoff. Some runs also got HTTP 429 with error code 1022, "You've reached the limit for anonymous access", which the errors page does not list. Second, a symbol=BTC,ETH map call returned 20 rows, including inactive and unranked tokens that reuse those symbols; the script keeps the ranked match, but storing the numeric IDs once is safer. Third, in two bursts of 30 keyless calls the same day, the 22nd and then the 28th request returned HTTP 429 with error code 1011, "You've hit an IP rate limit", after about 5 to 6 seconds, with no Retry-After header. The keyed path (set CMC_PRO_API_KEY) was not run because no key was used for this guide.
CoinMarketCap API errors, licence and display terms
Errors carry both an HTTP status and a numeric code in status.error_code, and the licence on paid and free keys covers use inside your own product, not resale of the data.
| HTTP | Code | Meaning |
|---|---|---|
| 401 | 1001, 1002 | Invalid or missing key |
| 403 | 1005, 1006 | Key required, or plan does not include the endpoint |
| 429 | 1008 | Per-minute limit; wait 60 seconds |
| 429 | 1009, 1010 | Daily or monthly credits used up |
| 429 | 1011 | IP rate limit |
| 429 | 1022 | Seen on keyless calls on 26 November 2026 ("limit for anonymous access"); not in the errors guide |
A 1009 or 1010 will not clear with a short backoff, so treat it differently from 1008; the rate limit exceeded guide covers that pattern in general. On licence, the pricing FAQ says Basic through Professional, including the free tier, carry a limited, non-exclusive, non-transferable commercial licence covering one product with up to 100,000 users, and that the data may not be redistributed or resold as a standalone service or through your own API; Enterprise has a custom licence. The Commercial Terms of Use, read on 27 November 2026, are narrower than the word "commercial" suggests: "Your Product" is one website, app, bot or service, it must be intended for end users using it for their own personal, non-commercial purposes, a product with more than 100,000 unique monthly visitors or users may be required to upgrade to an Enterprise licence, content may be stored only temporarily as needed to show it, and the product must display "Data provided by CoinMarketCap.com" with a hyperlink. A tool for professional or business users therefore needs a conversation with CoinMarketCap first. The API status page is status.coinmarketcap.com. If you want this wired into a pipeline with caching and credit budgets, Fincode's market data pipelines page describes that work.
Frequently asked questions
Is the CoinMarketCap API free?
Yes. As of 26 November 2026 there is a Keyless Public API with a fixed subset of endpoints and an IP-shared limit, and a free Basic key with 15,000 credits a month and 50 requests a minute.
What does CoinMarketCap keyless API mean?
It means calling https://pro-api.coinmarketcap.com/public-api plus a supported path with no key or header. The documentation lists 18 standard and 17 DEX endpoints available this way.
Which header carries the CoinMarketCap API key?
X-CMC_PRO_API_KEY, sent to https://pro-api.coinmarketcap.com without the /public-api prefix. A CMC_PRO_API_KEY query parameter also works, but the documentation recommends the header.
Does the free CoinMarketCap plan include OHLCV?
No. The pricing comparison table read on 26 November 2026 marks OHLCV latest and historical as not included on Basic and Builder; daily OHLCV from 2010 starts at Startup.
Is there a CoinMarketCap API sandbox?
The full documentation file read on 26 November 2026 does not mention one. The Keyless Public API is the no-account option the current documentation describes.
Sources
- CoinMarketCap API docs: Keyless Public API, read 26 November 2026 (opens in a new tab)
- CoinMarketCap API docs: API Authentication and call credits (opens in a new tab)
- CoinMarketCap API docs: Rate limits and troubleshooting (opens in a new tab)
- CoinMarketCap API docs: Standards and Conventions (opens in a new tab)
- CoinMarketCap API docs: Get Started with an API Key (opens in a new tab)
- CoinMarketCap API docs: FAQ (opens in a new tab)
- CoinMarketCap API pricing, read 26 November 2026 (opens in a new tab)
- CoinMarketCap API FAQ page (opens in a new tab)
- CoinMarketCap API Commercial Terms of Use, read 27 November 2026 (opens in a new tab)
- CoinMarketCap API status page (opens in a new tab)
This guide is general information about software and markets, not investment, legal or tax advice. Automated trading can lose money, past or backtested performance does not guarantee future results, and the rules that apply depend on your jurisdiction and your exchange's terms. Sources, checks and corrections: see the editorial policy.