If you’ve ever compared flight prices across multiple booking sites, you’ve noticed how the same route can have wildly different quotes. Picking just one site might save you time, but risks overpaying or seeing distorted prices.
Crypto markets work the same way: Bitcoin or ETH don’t have a single “official” price - they trade across hundreds of exchanges. To get a true benchmark, you need a way to cut through the noise, weight by real activity, and ignore shady outliers.
That’s where VWAP24 (Volume Weighted Average Price over 24 hours) comes in. It’s the foundation for CoinAPI’s Exchange Rates product and the number you can trust when you just want the clean rate.
What is VWAP24?
VWAP24 is defined as the last 24-hour rolling Volume Weighted Average Price for an asset pair, calculated across vetted exchanges and updated every second.
The logic:
- Prices are weighted by actual trading volume (bigger trades = bigger influence).
- Only spot markets from legitimate, ranked exchanges are included.
- Abnormal spreads, stale quotes, or suspicious venues are discarded.
Think of it like a “weighted average flight price” across all trusted booking platforms, updated every second.
How CoinAPI Calculates VWAP24
The algorithm behind VWAP24 isn’t a simple average. It’s a multi-step cleaning and weighing process designed for quality:
- Filter sources: Only spot symbols from vetted exchanges. Shady or illegitimate markets are excluded.
- Spread check: Quotes with spreads outside 0%–67% are discarded.
- Midpoint pricing: The midpoint between bid and ask is taken as the fair reference price.
- Weighting:
- Midpoint prices are weighted by passive resting volume.
- Trade volumes further weight the calculation.
- Stale data removal: Quotes older than 5 minutes are ignored.
- Sliding 24h window: Volume updates every 4 hours, ensuring around 20% of the dataset refreshes each cycle.
- Outlier removal: If at least 3 exchanges quote a pair, 3-sigma outliers are dropped.
- Tree-based rates: A BFS algorithm constructs cross-asset exchange rates across the entire dataset.
Result: A rate you can use for benchmarks, NAV calculations, accounting, and compliance reporting - without worrying about fake trades or skewed venues.
VWAP24 in the Indexes API
VWAP24 isn’t only useful for single pairs like BTC/USD. It’s also a building block for CoinAPI’s Indexes API【16†Knowledge about our products†L8-L9】.
Here’s how it fits:
- Each constituent asset in an index (e.g., BTC, ETH, SOL) is priced using the VWAP24 methodology.
- This ensures the index avoids skew from bad exchanges or fake liquidity.
- Index values are then calculated transparently, with published methodologies and eligibility criteria.
Example:
A “Top 10 Crypto Index” will take the VWAP24 rate for BTC, ETH, BNB, etc., and apply index weights. The result: a benchmark that institutions can trust for NAV, risk models, or passive fund replication.
Every CoinAPI exchange rate and index starts with VWAP24: a 24-hour rolling average that ignores junk markets and recalculates across vetted exchanges once per second.
Auditability and Transparency
Institutional users often ask: Can we audit this rate?
- CoinAPI can provide a constituent breakdown showing which exchanges and symbols contributed to a VWAP24 rate.
- Outlier filtering (3-sigma, spread thresholds, stale quotes) ensures that every step in the calculation is defensible for compliance or regulatory reviews.
- For even more transparency, the Indexes API publishes methodologies and eligibility criteria for every index, making the link between VWAP24 and benchmarks crystal clear.
Common Pitfalls Without VWAP24
If you rely on a single exchange feed or a free aggregator:
- You may pick up fake volumes from unregulated markets.
- You risk spiky spreads and bad timestamps.
- You get no guarantee of audit-ready consistency.
That’s why many fintechs, banks, and accounting platforms use CoinAPI’s VWAP24 rates; it’s built for clean reporting, not raw trading noise.
When to Use VWAP24
VWAP24 is ideal when you need:
- Accounting & Tax: Clean end-of-day or historical rates.
- Portfolio Valuation: NAV standardization across exchanges.
- Benchmarking: A stable reference rate for contracts or indices.
- Cross-asset conversions: USD ↔ EUR ↔ BTC ↔ ETH and beyond.
Not ideal if:
- You need real-time tick data (use Market Data API instead).
- You’re doing ultra-short-term execution (use order book or trade feeds).
Comparison:
| Use Case | Best Data Type |
| NAV & Compliance | VWAP24 (Exchange Rates API) |
| Algo Trading | Market Data API (trades, books) |
| Backtesting (long-term) | Flat Files (bulk OHLCV, trades) |
| Risk/valuation models | Indexes API + VWAP24 |
How CoinAPI Makes VWAP24 Reliable
- Normalization: Unified symbology across 380+ exchanges.
- Cleaning: Outlier and illegitimate market filtering.
- Granularity: Updated every 1 second.
- Delivery Options: REST for historical, WebSocket for live, Flat Files for bulk.
Conclusion
VWAP24 is the sieve that turns noisy, fragmented markets into audit-ready exchange rates. Whether you’re calculating BTC/USD rates or building a multi-asset index, it ensures that only legitimate, volume-weighted markets define the benchmark.
If you need trustworthy exchange rates or indexes for valuation, compliance, or portfolio tools, explore the CoinAPI Exchange Rates API, Indexes API, or Flat Files for bulk data access.
Related Reading on Market Data Quality
VWAP24 filters out fake trades and abnormal spreads, but it’s just one piece of the bigger market data picture. If you want to explore how different data levels and structures impact trading, check out these articles:












