Find an API

Search public APIs with auth details & Postman guides

← All APIs

CoinMarketCap API

pro-api.coinmarketcap.com · Finance

Finance API Key Free Tier Cryptocurrency Finance Market Data

Comprehensive crypto market data — prices, market caps, volume, supply, and historical data for 30,000+ cryptocurrencies. Free Basic plan: 10,000 API calls/month.

Authentication

API Key authentication Free API key at coinmarketcap.com/api. Pass as X-CMC_PRO_API_KEY header.

Sample Requests

GET Get latest listings

Get top 10 cryptocurrencies by market cap.

https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest?limit=10&start=1&convert=USD

Hover any highlighted part to learn what it does

Headers — extra info sent with the request
X-CMC_PRO_API_KEY YOUR_API_KEY
curl -X GET "https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest?limit=10&start=1&convert=USD" \
  -H "X-CMC_PRO_API_KEY: YOUR_API_KEY"
import requests
params = {
    "limit": "10",
    "start": "1",
    "convert": "USD"
}
headers = {
    "X-CMC_PRO_API_KEY": "YOUR_API_KEY"
}
response = requests.get(
    "https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest",
    params=params,
    headers=headers,
)
print(response.json())
const url = new URL('https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest');
url.searchParams.set('limit', '10');
url.searchParams.set('start', '1');
url.searchParams.set('convert', 'USD');

const response = await fetch(url, {
  headers: {
    'X-CMC_PRO_API_KEY': 'YOUR_API_KEY'
  },
}); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest")
	q := baseURL.Query()
	q.Set("limit", "10")
	q.Set("start", "1")
	q.Set("convert", "USD")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)
	req.Header.Set("X-CMC_PRO_API_KEY", "YOUR_API_KEY")

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest")
uri.query = URI.encode_www_form({
  "limit" => "10",
  "start" => "1",
  "convert" => "USD"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)
req["X-CMC_PRO_API_KEY"] = "YOUR_API_KEY"

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest?" . http_build_query([
    "limit" => "10",
    "start" => "1",
    "convert" => "USD"
]);
$opts = ["http" => [
    "method" => "GET",
    "header" => implode("\r\n", [
        "X-CMC_PRO_API_KEY: YOUR_API_KEY"
    ]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. Get a free API key at coinmarketcap.com/api
  2. Set header: X-CMC_PRO_API_KEY: YOUR_KEY
  3. Try GET /v1/cryptocurrency/listings/latest?limit=10&convert=USD
  4. Free tier: 10,000 calls/month

What can you build with CoinMarketCap API?

CoinMarketCap API is a Finance API. Developers commonly use finance APIs for:

  • processing payments and handling transactions
  • building subscription and billing systems
  • automating invoicing and financial reporting
  • fraud detection and risk scoring
  • connecting to banking and accounting software

API Key authentication. You'll receive a key after signing up. Send it with every request — in a header or query parameter. Keep it out of client-side code and never commit it to version control. CoinMarketCap API is free to use up to a usage limit, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide

Open documentation ↗