Overview
Overview
Breakdown
Breakdown
30d
30d
1y
1y
All
All
ETH Gas
Frequently Asked Questions (FAQ)
Can I access live market data through an API?
Yes, you can access live global cryptocurrency market data via the CoinMarketCap API, which provides real-time metrics like total market capitalization, Bitcoin dominance, and 24-hour trading volume. You can use the /v1/global-metrics/quotes/latest API endpoint to retrieve this data.
API Endpoint: GET https://pro-api.coinmarketcap.com/v1/global-metrics/quotes/latest
Parameters:
• convert: (optional) Optionally calculate market quotes in up to 120 fiat or cryptocurrency symbols. Example: convert=BTC,USD.
• convertid: (optional) Use CoinMarketCap IDs instead of symbols for conversions. Example: convertid=1,2781.
Response Example:
{
"data": {
"btc_dominance": 67.0057,
"eth_dominance": 9.02205,
"active_cryptocurrencies": 2941,
"active_exchanges": 445,
"totalmarketcap": 2374432083905.6846,
"totalvolume24h": 262906061281.24,
"last_updated": "2024-10-11T02:36:05.986Z"
},
"status": {
"timestamp": "2024-10-11T02:36:05.986Z",
"error_code": 0,
"error_message": null,
"elapsed": 10,
"credit_count": 1
}
}
This API is available on the following plans:
• Basic
• Hobbyist
• Startup
• Standard
• Professional
• Enterprise
Explore the plans and their features on the CoinMarketCap API pricing page.
Can I access historical market data through an API?
Yes, you can access historical cryptocurrency market data via the /v1/global-metrics/quotes/historical API endpoint. This allows you to retrieve past global market metrics, such as market capitalization and Bitcoin dominance, based on specified time ranges and intervals.
API Endpoint:GET https://pro-api.coinmarketcap.com/v1/global-metrics/quotes/historical
Parameters:
• time_start: (optional) Timestamp (Unix or ISO 8601) to start returning quotes for. Example: 2024-01-01T00:00:00Z.
• time_end: (optional) Timestamp (Unix or ISO 8601) to stop returning quotes for. Example: 2024-10-01T00:00:00Z.
• interval: Interval of time to return data points for. Example: 1d, hourly, weekly, monthly.
• count: (optional) The number of interval periods to return results for. Example: 100.
• convert: (optional) Optionally calculate market quotes in up to 3 other fiat currencies or cryptocurrencies. Example: convert=USD,EUR,BTC.
• convertid: (optional) Use CoinMarketCap IDs instead of symbols for conversions. Example: convertid=1,2781.
Response Example:
{
"data": {
"quotes": [
{
"timestamp": "2024-01-01T00:00:00.000Z",
"btc_dominance": 45.0057,
"active_cryptocurrencies": 2900,
"totalmarketcap": 2374432083905.6846,
"totalvolume24h": 262906061281.24
},
{
"timestamp": "2024-01-02T00:00:00.000Z",
"btc_dominance": 46.0028,
"active_cryptocurrencies": 2950,
"totalmarketcap": 2385000000000,
"totalvolume24h": 265000000000
}
]
},
"status": {
"timestamp": "2024-10-11T02:36:05.986Z",
"error_code": 0,
"error_message": null,
"elapsed": 10,
"credit_count": 1
}
}
This API is available on the following plans:
• Basic
• Hobbyist (1 month)
• Startup (1 month)
• Standard (3 months)
• Professional (12 months)
• Enterprise (Up to 6 years)
Explore the plans and their features on the CoinMarketCap API pricing page.
How can different crypto indexes help an investor to understand the crypto market?
What should you look for when comparing crypto data providers and methodologies?
Why does data accuracy matter when compiling crypto price data charts?
CoinMarketCap is the trusted, industry leading source for crypto price charts
CoinMarketCap Research Articles







