Back to LiveQuery Integrations

    CoinMarketCap API

    CoinMarketCap API from CoinMarketCapCoinMarketCap
    Log in to Manage

    The CoinMarketCap Crypto Data API provides real-time access to comprehensive cryptocurrency market data, including prices, trading volumes, market capitalizations, historical trends, and more.

      SELECT cmc.get('/v2/cryptocurrency/ohlcv/historical', {
        'interval': 'hourly', 
        'time_period': 'hourly', 
        'time_start': 1691524740, 
        'time_end': 1691528400, 
        'id': '15478,15479'
      }) as resp
    
    Getting Started

    The CoinMarketCap Crypto Data API presents an extensive array of real-time and historical cryptocurrency market data, catering to developers, traders, analysts, and enthusiasts. With a seamless integration process, users can harness a wealth of crypto-related insights to power their applications, research, and decision-making.

    Getting access to the CoinMarketCap Crypto Data API is a straightforward process.

    Follow these steps to initiate the integration:

    • Account Creation: Users need to create an account on the CoinMarketCap website if they haven't already. This account will serve as the foundation for API access.

    • API Key Generation: Upon account creation, users can log in and navigate to the API section. Here, a unique API key can be generated. This key is essential for authenticating API requests and must be kept confidential.

    • Subscription Selection: Users can select from various subscription tiers based on their requirements. Different plans offer varying levels of access and usage limits. Users need to select a plan and complete the necessary subscription process.

    • Terms Acceptance: Before accessing the API, users must review and agree to the API Terms of Use. These terms outline the guidelines for using the API data, attribution requirements, and other important details.

    • API Documentation: The API documentation provides comprehensive insights into available endpoints, request parameters, response formats, and authentication methods. Users are encouraged to explore this documentation to understand how to structure API requests effectively.

    Overview

    The CoinMarketCap Crypto Data API offers an extensive range of features and data sets to enrich applications with dynamic cryptocurrency content. Here are the key features and data available:

    1. Cryptocurrency Listings Retrieve a list of all cryptocurrencies available on CoinMarketCap, including details such as names, symbols, and identifiers.

    2. Real-Time Market Data Access real-time cryptocurrency market data, including prices, trading volumes, market capitalizations, and price changes. Keep users informed about the latest market trends and developments.

    3. Historical Data Access historical cryptocurrency market data to analyze price trends, trading volumes, and market capitalizations over specific timeframes.

    4. Exchange Listings Retrieve a list of cryptocurrency exchanges, including details about trading pairs, trading volumes, and exchange statistics.

    5. Global Metrics Access global cryptocurrency market metrics, including total market capitalization, trading volumes, and Bitcoin dominance. Provide users with a snapshot of the overall market health.

    6. Price Conversion Convert cryptocurrency prices and values into various fiat and cryptocurrency units. Enhance user experience by displaying prices in their preferred currency.

    7. Market Charts Integrate interactive cryptocurrency price charts into applications. Visualize price movements and trends to offer users valuable insights.

    8. Data Customization Tailor API requests to specific needs using filters, parameters, and query options. Customize data retrieval to provide users with the most relevant information.