How Crypto Market Data and APIs Work: A Clear Explanation
Educational content · reviewed for accuracy · not financial advice
Every price, volume figure, and percentage change you see on the live crypto dashboard originates from a chain of data sources, aggregators, and APIs. Understanding how that chain works helps you interpret data accurately — including knowing why prices can differ slightly between platforms and when to trust a data point.
Where Crypto Price Data Originates
Cryptocurrency prices are not set by a central authority. They emerge from order books on exchanges — the real-time lists of buy and sell orders at various prices. When a buyer and seller agree on a price and a trade executes, that price becomes the "last traded price" for that moment on that exchange.
Because hundreds of exchanges operate globally, each with its own order book, Bitcoin might trade at $67,420 on one exchange and $67,415 on another at the same second. Arbitrage traders typically narrow these gaps quickly, but small differences are normal and expected.
How Data Aggregators Work
Rather than showing price from a single exchange, most dashboards — including CryptoMarketDashboard — use a data aggregator. An aggregator pulls trade data from dozens or hundreds of exchanges simultaneously and calculates a composite price. Common methods include:
- Volume-weighted average price (VWAP) — weights each exchange's price by how much volume it contributes. Exchanges with higher liquidity have more influence on the composite price.
- Median price — the middle value across exchanges, which is more resistant to outliers.
- Last-trade average — a simple average of the most recent price across sources.
Volume-weighted aggregation is the most widely used because it reflects where most actual trading occurs. You can see each coin's 24-hour volume on the market page, which is the main input to VWAP calculations.
What Is a Crypto Market Data API?
An API (Application Programming Interface) is a structured way for one software system to request data from another. Crypto data providers publish APIs that allow dashboards, apps, and researchers to retrieve:
- Current prices and percentage changes
- Historical price data (daily, hourly, minute-level)
- Market capitalisation and circulating supply
- Trading volume by exchange or globally
- Order book depth and liquidity data
When you load a crypto dashboard, the browser or server sends requests to one or more of these APIs. The API returns data — typically in JSON format — which the dashboard renders into the tables and charts you see.
Major Crypto Data Providers
Several companies specialise in aggregating and distributing crypto market data:
- CoinGecko — free tier available; comprehensive coin coverage including smaller altcoins.
- CoinMarketCap — one of the oldest aggregators; widely referenced for market cap rankings.
- Messari — professional-grade data with emphasis on research and institutional accuracy.
- Kaiko — institutional tick-data provider; high-precision historical data.
- Exchange-direct APIs — Binance, Coinbase, Kraken, and others publish their own APIs for their specific trading data.
Understanding OHLCV Data
Historical price data is almost universally stored and delivered in OHLCV format:
| Field | Meaning |
|---|---|
| O — Open | Price at the start of the time period |
| H — High | Highest price reached during the period |
| L — Low | Lowest price reached during the period |
| C — Close | Price at the end of the period |
| V — Volume | Total amount traded during the period |
A "daily candle" covers 24 hours; an "hourly candle" covers 60 minutes. Candlestick charts are built directly from OHLCV data. Every chart on every crypto platform is rendering some form of OHLCV history.
Why Prices Differ Between Platforms
Seeing slightly different prices for the same coin on two dashboards is common and has several legitimate explanations:
- Different aggregation methods — one site uses VWAP, another uses median.
- Different exchange coverage — a provider including a regional exchange with unusual pricing will shift its composite.
- Update frequency — if one site polls APIs every 30 seconds and another every 2 minutes, they will show different values during a fast-moving market.
- Data normalisation — different methods for handling wash trading exclusions or low-liquidity exchange filtering.
Small discrepancies (fractions of a percent) are normal. Large, persistent discrepancies (several percent) may indicate a data quality issue with one source.
Data Quality and Its Effect on Market Cap Calculations
Market cap accuracy depends directly on two clean inputs: price and circulating supply. Supply figures are reported by project teams and can be stale or deliberately manipulated in rare cases. Understanding this is important when reading rankings — a coin with artificially inflated supply reporting will show an inflated market cap. Read what is cryptocurrency market cap for how this calculation works and where its limitations lie.
Real-Time vs Delayed Data
Real-time data updates continuously or every few seconds. It is essential for active traders. Delayed data (typically 15–20 minutes behind) is sufficient for research and general market monitoring. Free API tiers from data providers often offer delayed data; real-time data typically requires a paid plan. The live crypto dashboard provides real-time aggregated data for all tracked assets.
On-Chain Data vs Market Data
A separate but related data category is on-chain data — information derived directly from blockchain records rather than exchange activity. This includes:
- Wallet balances and transfer volumes
- Active address counts
- Transaction fees and network congestion
On-chain data often provides early signals about network usage and large holder activity that pure price data misses. It complements market data rather than replacing it. For a broader picture of what drives prices, see what moves crypto markets.
Key Takeaways
- Crypto prices originate from exchange order book matches, not a central price-setter.
- Aggregators calculate composite prices — usually volume-weighted — across dozens of exchanges.
- APIs deliver market data in structured format (JSON) to dashboards and apps.
- OHLCV is the universal format for historical price data: open, high, low, close, volume.
- Small price differences between platforms are normal due to different aggregation methods and update frequencies.
- Data quality depends on clean price inputs and accurate circulating supply figures.
- On-chain data complements market data by showing network activity behind the price.
Frequently asked questions
Why do crypto prices differ between CoinGecko and CoinMarketCap?+
The two platforms use different exchange coverage lists and different price aggregation methodologies. CoinGecko uses a trust-weighted average while CoinMarketCap uses its own formula that filters certain exchange pairs. Small differences are normal; significant and persistent differences may reflect how each handles low-quality or wash-traded exchange data.
What is OHLCV data in cryptocurrency?+
OHLCV stands for Open, High, Low, Close, Volume. It describes a time period of price activity: where price started, the highest and lowest points it reached, where it ended, and how much was traded. Every candlestick chart is a visual representation of OHLCV data.
How often does crypto market data update?+
It depends on the platform and API tier. Real-time dashboards refresh every few seconds, pulling from exchange APIs continuously. Delayed data feeds update every 15–20 minutes. CryptoMarketDashboard's live dashboard provides continuously updated data aggregated from major exchanges.
What is a crypto data API and who uses them?+
A crypto data API is a service that delivers structured market data — prices, volumes, supply figures, historical OHLCV — to requesting applications. Developers use them to build dashboards, trading bots, and analytics tools. Researchers and institutions use them for backtesting strategies and building market models.
Can crypto market data be manipulated?+
Exchange-level wash trading — where the same entity buys and sells to itself to inflate volume — is a known issue. Reputable aggregators filter out suspicious exchange pairs and apply trust scores to reduce its impact. Supply figures reported by project teams can also be inaccurate. Using multiple data sources and checking on-chain data can help identify anomalies.
See it live
Track real-time prices, market cap and trends for the top 100 coins.