Skip to main content

Authorization

Follow this guide to create a new CoinMarketCap credential that will allow Nexla to authenticate to and exchange data with the CoinMarketCap API.
coin_market_cap_api_auth.png

CoinMarketCap

Prerequisites

Before creating a CoinMarketCap credential in Nexla, you need an active CoinMarketCap account with API access and a valid API key. CoinMarketCap offers multiple subscription tiers — including a free Basic plan — all of which provide an API key for use with Nexla.

Obtain a CoinMarketCap API Key

CoinMarketCap API keys are managed through the CoinMarketCap Developer Portal at pro.coinmarketcap.com. Follow the steps below to register and retrieve your API key.

  1. Navigate to pro.coinmarketcap.com and click Get Your Free API Key.

  2. Complete the registration form with your name, email address, and a password. If you already have a CoinMarketCap account, sign in with your existing credentials.

  3. Confirm your email address by clicking the verification link sent to the email you provided.

  4. After verifying your email, sign in to the CoinMarketCap Developer Portal. Your API key is displayed on the Overview page under the API Key section.

  5. Copy your API key and store it securely. This key will be entered into Nexla during credential creation.

CoinMarketCap recommends passing the API key as the X-CMC_PRO_API_KEY HTTP request header rather than as a query parameter, as header-based authentication is more secure. Nexla handles this automatically when you configure a CoinMarketCap credential.

Important

Keep your API key confidential. It authenticates all API requests made on behalf of your CoinMarketCap account and should never be shared publicly or included in client-side code. You can view, regenerate, or revoke your API key at any time from the CoinMarketCap Developer Portal.

Review API Plan and Rate Limits

CoinMarketCap API plans differ in the number of monthly call credits, available endpoints, and rate limits. Review the CoinMarketCap API pricing page to confirm your plan supports the endpoints and request volume needed for your Nexla data flows.

The free Basic plan provides 10,000 monthly call credits and access to a core set of endpoints, which is sufficient for many use cases. Paid plans (Hobbyist, Startup, Standard, Professional, and Enterprise) offer higher credit limits, additional endpoints, and priority support.

Create a CoinMarketCap Credential

  • To create a new CoinMarketCap credential, after selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.

Credential Name & Description

  1. Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.

    Resource descriptions are recommended but are not required. They should be used to provide information about the resource purpose, data freshness, etc. that can help the owner and other users efficiently understand and utilize the resource.

API Key Authentication

  1. Enter your CoinMarketCap API key in the API Key field. This is the key obtained from the CoinMarketCap Developer Portal as described in the Prerequisites section above.

    Nexla passes your API key as the X-CMC_PRO_API_KEY HTTP header on every request to the CoinMarketCap API, which is the authentication method recommended by CoinMarketCap for production use. You do not need to include the key in API endpoint URLs when using Nexla.

Save the Credential

  1. Once all of the relevant steps in the above sections have been completed, click the Save button at the bottom of the overlay to save the configured credential.

  2. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.