CoinMarketCapCoinMarketCap
PricingAPI StatusGet an API Key

© 2026 CoinMarketCap. All rights reserved.

xgithub
  • Guides
  • Pro API References
  • AI Tools
  • Changelog
  • FAQ
Endpoint Overview
Pro API
    Cryptocurrency
    Exchange
    Global Metrics
    Content
    Community
    CMC Index
Dex API
    Token
    Platform
    Holder
    OHLCV
    Others
      Statistics LatestgetTrades Latestget
Tools
    CoinMarketCap ID MapgetKey InfogetPostman Conversion v1getPrice Conversion v2get
Deprecated
    Metadata v1 (deprecated)getPrice Conversion v1 (deprecated)getMarket Pairs Latest v1 (deprecated)getOHLCV Historical v1 (deprecated)getOHLCV Latest v1 (deprecated)getPrice Performance Stats v1 (deprecated)getQuotes Historical v1 (deprecated)getQuotes Latest v1 (deprecated)getFCAS Listings Latest (deprecated)getFCAS Quotes Latest (deprecated)get
CoinMarketCap Cryptocurrency API Documentation
CoinMarketCap Cryptocurrency API Documentation

Others

Endpointhttps://pro-api.coinmarketcap.com

Additional DEX endpoints including trade data and blockchain statistics.


Statistics Latest

GET
https://pro-api.coinmarketcap.com
/v1/blockchain/statistics/latest

Returns the latest blockchain statistics data for 1 or more blockchains. Bitcoin, Litecoin, and Ethereum are currently supported. Additional blockchains will be made available on a regular basis.

This endpoint is available on the following API plans:

  • Basic
  • Hobbyist
  • Startup
  • Standard
  • Professional
  • Enterprise

Cache / Update frequency: Every 15 seconds.
Plan credit use: 1 call credit per request.
CMC equivalent pages: Our blockchain explorer pages like blockchain.coinmarketcap.com/.

Statistics Latest › query Parameters

id
​string · pattern: ^\d+(?:,\d+)*$

One or more comma-separated cryptocurrency CoinMarketCap IDs to return blockchain data for. Pass 1,2,1027 to request all currently supported blockchains.

symbol
​string · pattern: ^[0-9A-Za-z$@\-,]+(?…

Alternatively pass one or more comma-separated cryptocurrency symbols. Pass BTC,LTC,ETH to request all currently supported blockchains.

slug
​string · pattern: ^[0-9a-z-]+(?:,[0-9a…

Alternatively pass a comma-separated list of cryptocurrency slugs. Pass bitcoin,litecoin,ethereum to request all currently supported blockchains.

Statistics Latest › Headers

X-CMC_PRO_API_KEY
​string · required

Your CoinMarketCap Pro API key

Default: YOUR_API_KEY

Statistics Latest › Responses

Successful

​object · required

A map of blockchain objects by ID, symbol, or slug (as used in query parameters).

Example: {"BTC":{"id":1,"slug":"bitcoin","symbol":"BTC","block_reward_static":12.5,"consensus_mechanism":"proof-of-work","difficulty":"11890594958796","hashrate_24h":"85116194130018810000","pending_transactions":1177,"reduction_rate":"50%","total_blocks":595165,"total_transactions":"455738994","tps_24h":3.808090277777778,"first_block_timestamp":"2009-01-09T02:54:25.000Z"}}
​object

Standardized status object for API calls.

GET/v1/blockchain/statistics/latest
curl --request GET \ --url https://pro-api.coinmarketcap.com/v1/blockchain/statistics/latest \ --header 'X-CMC_PRO_API_KEY: YOUR_API_KEY'
shell
Example Responses
{ "data": { "BTC": { "id": 1, "slug": "bitcoin", "symbol": "BTC", "block_reward_static": 12.5, "consensus_mechanism": "proof-of-work", "difficulty": "11890594958796", "hashrate_24h": "85116194130018810000", "pending_transactions": 1177, "reduction_rate": "50%", "total_blocks": 595165, "total_transactions": "455738994", "tps_24h": 3.808090277777778, "first_block_timestamp": "2009-01-09T02:54:25.000Z" } }, "status": { "timestamp": "2026-03-05T22:43:48.471Z", "error_code": 0, "error_message": "", "elapsed": 10, "credit_count": 1, "notice": "" } }
text
*/*

Trades Latest

GET
https://pro-api.coinmarketcap.com
/v4/dex/pairs/trade/latest

Returns up to the latest 100 trades for 1 spot pair. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.

Trades Latest › query Parameters

contract_address
​string

One or more comma-separated contract addresses.

network_id
​string

One CoinMarketCap cryptocurrency network id.

network_slug
​string

Alternatively, one network names in URL friendly shorthand "slug" format (all lowercase, spaces replaced with hyphens).

aux
​string

Default:"" Valid values: "transaction_hash" "blockchain_explorer_link" Optionally specify a comma-separated list of supplemental data fields to return.

convert_id
​string

Optionally calculate market quotes in up to 30 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency IDs. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found in our API document. Each conversion is returned in its own "trade" object.

skip_invalid
​string

Pass true to relax request validation rules. When requesting records on multiple spot pairs an error is returned if no match is found for 1 or more requested spot pairs. If set to true, invalid lookups will be skipped allowing valid spot pairs to still be returned.

Default: true
reverse_order
​string

Pass true to invert the order of a spot pair. For example, a trading pair is set up as Token B/Token A in the contract and is commonly referred to as Token A/Token B. Using reverse_order would change the order to reflect the true Token B/Token A pairing as it exists in the pool.

Default: false

Trades Latest › Headers

X-CMC_PRO_API_KEY
​string · required

Your CoinMarketCap Pro API key

Default: YOUR_API_KEY

Trades Latest › Responses

200

OK

No data returned
GET/v4/dex/pairs/trade/latest
curl --request GET \ --url https://pro-api.coinmarketcap.com/v4/dex/pairs/trade/latest \ --header 'X-CMC_PRO_API_KEY: YOUR_API_KEY'
shell
Example Responses
No example specified for this content type
application/octet-stream

OHLCVTools