CoinAPI
CoinAPI is a comprehensive cryptocurrency market data platform that aggregates real-time and historical data from 400+ spot, derivatives, and options exchanges into a single unified API. It delivers tick-by-tick precision across trades, quotes, OHLCV (Open/High/Low/Close/Volume) candlesticks, order books, and exchange rates for thousands of trading pairs. Organizations use CoinAPI to power algorithmic trading systems, financial analytics applications, portfolio monitoring dashboards, and quantitative research workflows.

Power end-to-end data operations for your CoinAPI API with Nexla. Our bi-directional CoinAPI connector is purpose-built for CoinAPI, making it simple to ingest data, sync it across systems, and deliver it anywhere — all with no coding required. Nexla turns API-sourced data into ready-to-use, reusable data products and makes it easy to send data to CoinAPI or any other destination. With comprehensive monitoring, lineage tracking, and access controls, Nexla keeps your CoinAPI workflows fast, secure, and fully governed.
Features
Type: API
- Seamless API Integration: Connect to any endpoint as source or destination without coding, with automatic data product creation
- Visual Composition & Chaining: Build complex integrations using visual templates, chain API calls, and compose workflows with data validation and filtering
- API Proxy: Expose curated slices of your data securely with a secure and customizable API proxy that validates and transforms data on the fly
- Request optimization with intelligent batching, retry, and caching to minimize API calls and costs
Prerequisites
To connect Nexla to CoinAPI, you will need an active CoinAPI account with an API key. CoinAPI uses API key authentication — all REST API requests are authorized by passing your API key in the X-CoinAPI-Key request header.
Obtain a CoinAPI API Key
CoinAPI manages accounts and API keys through the CoinAPI Customer Portal. Follow the steps below to create an account and generate an API key.
Create a CoinAPI Account
-
Navigate to console.coinapi.io.
-
Enter your email address in the login field and click Send OTP to Email. If you do not yet have an account, one will be created automatically.
-
Check your email inbox for a one-time passcode (OTP) and enter it in the verification field on the portal page.
-
After successful verification you will land on your CoinAPI Customer Portal dashboard.
Generate an API Key
-
In the Customer Portal, navigate to the API Keys section in the left sidebar.
-
Click Create API Key.
-
Select Standard Key as the key type. Standard Keys are recommended for REST API and WebSocket access and are compatible with all CoinAPI endpoints.
-
Give your key a descriptive name (for example,
nexla-integration) so you can identify it later. -
Click Create to generate the key. Copy the API key value immediately and store it in a secure location — the full key value is displayed only once.
CoinAPI API keys grant access to market data based on your subscription plan. Review your plan's rate limits and data entitlements before configuring Nexla data flows. Additional API keys can be created for different integrations or environments (for example, separate keys for development and production).
Add a Payment Method (Required to Activate Free Credits)
- To activate the $25 in free credits included with new accounts, navigate to Billing in the Customer Portal and add a valid payment method. No charges are made unless you upgrade your plan or exceed the free credit balance.
Store your CoinAPI API key securely. Anyone with access to the key can make API calls against your CoinAPI account and consume your plan's rate-limit quota. Rotate the key immediately if you suspect it has been compromised by deleting it in the Customer Portal and creating a new one.
Authenticate
Create a credential in Nexla
-
To create a new CoinAPI credential, after selecting the data source type, click the Add Credential tile to open the Add New Credential overlay.
-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
-
Enter your CoinAPI API key in the API Key field. This key authenticates every request Nexla makes to the CoinAPI REST API and should be kept secure. Nexla passes the API key in the
X-CoinAPI-KeyHTTP request header, which is the method recommended by CoinAPI for production environments. Passing the key as a URL query parameter is also supported by CoinAPI but is less secure and is not recommended. -
Click the Save button at the bottom of the overlay. The newly added credential will now appear in a tile on the Authenticate screen during data source creation and can be selected for use with a new data source.
Use as a data source
To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Select the CoinAPI connector tile, then select the credential that will be used to connect to the CoinAPI instance, and click Next; or, create a new CoinAPI credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common CoinAPI endpoints. Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be fetched. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the source is configured correctly before saving.
Manual configuration
CoinAPI data sources can also be manually configured to ingest data from any valid CoinAPI REST API endpoint, including endpoints not covered by the pre-built templates, chained API calls, or custom request parameters. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, endpoint URL, date/time and lookup macros, path to data, metadata, and request headers.
CoinAPI's Market Data REST API exclusively uses GET for data retrieval, with a base URL of https://rest.coinapi.io/v1/ — for example, https://rest.coinapi.io/v1/ohlcv/COINBASE_SPOT_BTC_USD/history?period_id=1DAY&time_start=2024-01-01 or https://rest.coinapi.io/v1/exchangerate/BTC/USD. Date/time macros are especially useful for endpoints that accept time_start and time_end query parameters, and lookup-based macros can drive record-level endpoints, such as iterating over a list of symbol IDs retrieved from the List Symbols endpoint.
CoinAPI's OHLCV and trade responses return a top-level JSON array, so the path to data is typically entered as $[*]. Some endpoints include top-level fields such as symbol_id or time_period_start alongside the data array, which can be captured using the metadata path. You do not need to add the X-CoinAPI-Key authentication header manually — Nexla adds it automatically from the configured credential — but a custom header such as Accept: text/csv can be added to request CSV output on supported endpoints.
Once all of the relevant settings have been configured, click the Create button in the upper right corner of the screen to save and create the new CoinAPI data source. Nexla will now begin ingesting data from the configured endpoint and will organize any data that it finds into one or more Nexsets.