Coin API
Coin API is a financial data provider that delivers historical and real-time cryptocurrency market data — including price candles, individual trades, and bid/ask quotes — across thousands of trading pairs and exchanges. Connect it to Coupler.io to pull structured crypto market data directly into your analytics tools or AI assistants without writing a single line of code.
Why connect Coin API to Coupler.io?
Centralize crypto market data — pull OHLCV candles, raw trades, and quote data into one place for unified analysis
Automate historical pulls — schedule recurring data flows to keep your dashboards and models up to date
Combine multiple symbols or entities — use Append or Join transformations to analyze several trading pairs side by side
Send data to AI tools — pipe market data directly into ChatGPT, Claude, Gemini, or Perplexity for pattern analysis and summaries
Prerequisites
A Coin API account with an active API key (get one at coinapi.io)
The Symbol ID for the trading pair you want to pull data for (e.g.,
BITSTAMP_SPOT_BTC_USD) — find the full list in the Coin API docsA Coupler.io account
Quick start
How to connect
Create a new data flow in Coupler.io. Go to your Coupler.io dashboard and click Add data flow. Search for Coin API and select it as your source.
Enter your Coin API key. Paste your API key into the authentication field. You can find or generate your key in the Coin API dashboard under your account settings.
Select an entity. Choose one of the three available entities: OHLCV Historical Data, Trades Historical Data, or Quotes Historical Data.
Configure your parameters. Enter the Symbol ID for your trading pair, set a time interval (for OHLCV), and use the date pickers to define your start and end dates. Set a record limit if needed (default is 100, max is 100,000).
Choose a destination. Select where you want your data to go — Google Sheets, Excel, BigQuery, Looker Studio, or an AI destination like ChatGPT, Claude, or Gemini.
Run the data flow. Click Run to execute a manual run and confirm that data loads correctly before setting up a schedule.
Available entities
OHLCV Historical Data
Open, High, Low, Close, and Volume candles for a trading pair over a chosen time interval
Trades Historical Data
Individual trade transactions with price, volume, and timestamp
Quotes Historical Data
Historical bid and ask price quotes with timestamps
Coin API data overview
Coin API gives you access to three types of historical cryptocurrency market data. Each entity focuses on a different level of market detail — from aggregated candles to tick-level trades and quotes.
Entities
OHLCV Historical Data
Price trend analysis, charting, backtesting strategies
Trades Historical Data
Execution analysis, volume profiling, microstructure research
Quotes Historical Data
Spread analysis, liquidity research, bid/ask dynamics
OHLCV Historical Data
Metrics
price_open
Opening price at the start of the period
price_high
Highest price during the period
price_low
Lowest price during the period
price_close
Closing price at the end of the period
volume_traded
Total volume of the base asset traded during the period
trades_count
Number of individual trades that occurred during the period
Dimensions
symbol_id
The trading pair identifier (e.g., BITSTAMP_SPOT_BTC_USD)
time_period_start
Start timestamp of the candle period
time_period_end
End timestamp of the candle period
time_open
Exact timestamp of the first trade in the period
time_close
Exact timestamp of the last trade in the period
Trades Historical Data
Metrics
price
Execution price of the trade
size
Volume of the base asset traded
Dimensions
symbol_id
The trading pair identifier
time_exchange
Timestamp reported by the exchange
time_coinapi
Timestamp recorded by Coin API
uuid
Unique identifier for the trade
taker_side
Side of the taker (buy or sell, where available)
Quotes Historical Data
Metrics
ask_price
Best ask (sell) price at the time of the quote
ask_size
Volume available at the ask price
bid_price
Best bid (buy) price at the time of the quote
bid_size
Volume available at the bid price
Dimensions
symbol_id
The trading pair identifier
time_exchange
Timestamp reported by the exchange
time_coinapi
Timestamp recorded by Coin API
Common metric combinations
OHLCV + volume_traded + trades_count — identify high-activity periods where price moved on large volume
Quotes: ask_price - bid_price — calculate spread over time to measure market liquidity
Trades: price + size — compute volume-weighted average price (VWAP) across a session
OHLCV across multiple symbols — use the Append transformation to combine candle data from different trading pairs for cross-asset comparison
Use cases by role
Pull OHLCV data for multiple symbols and use Append to build a unified price history table for backtesting
Calculate rolling volatility and Sharpe ratios directly in BigQuery or a connected spreadsheet
Use trades data to analyze execution slippage and fill quality
Track portfolio asset prices over custom date ranges and export to Excel or Google Sheets for reporting
Monitor bid/ask spreads from quotes data to assess liquidity risk for crypto holdings
Schedule daily OHLCV pulls to maintain an up-to-date price ledger
Pipe OHLCV or trades data into ChatGPT, Claude, or Gemini to detect patterns and generate plain-language market summaries
Use Perplexity or OpenClaw to ask questions directly over your historical trade data
Combine multiple entities with Join to enrich trade records with contemporaneous quote data
Platform-specific notes
Symbol IDs are exchange-specific —
BITSTAMP_SPOT_BTC_USDandCOINBASE_SPOT_BTC_USDare different symbols even for the same asset pairThe time interval (period) parameter only applies to OHLCV data — trades and quotes return tick-level records
Leaving the end date empty will pull data up to the current time, which is useful for scheduled incremental flows
Very short time intervals (e.g., 1-second candles) over long date ranges can produce millions of rows — use the record limit parameter to control output size
Coin API's free tier has rate limits and a cap on historical data depth; paid plans unlock full historical coverage
Coin API common issues
Connection issues
Missing data
Permission errors
Data discrepancies
Rate limits
Coin API FAQ
Last updated
Was this helpful?
