# Indexes API Data Samples

## VWAP/Volume-Weighted Average Price
* 24-hour volume-weighted average price for supported digital assets
* Uses trade data from multiple selected exchanges and spot trading pairs
* Combines price movement with trading volume for a broader market benchmark 
* **Benchmark** portfolio valuation, market trend analysis, and liquidity research 
* **Build** dashboards, reference-rate views, and historical crypto price analytics

**Timeseries data for VWAP - IDX_REFRATE_VWAP_BTC:**
```json
[
  {
    "time_period_start": "2025-08-27T00:36:00Z",
    "time_period_end": "2025-08-27T00:37:00Z",
    "time_open": "2025-08-27T00:36:02.4Z",
    "time_close": "2025-08-27T00:36:24.4Z",
    "value_open": 111705.121190962,
    "value_high": 111705.121191989,
    "value_low": 111659.752208017,
    "value_close": 111672.038864799,
    "value_count": 0
  },
  {
    "time_period_start": "2025-08-27T00:45:00Z",
    "time_period_end": "2025-08-27T00:46:00Z",
    "time_open": "2025-08-27T00:45:00Z",
    "time_close": "2025-08-27T00:45:59.9Z",
    "value_open": 111579.109155696,
    "value_high": 111588.80917161,
    "value_low": 111540.622783534,
    "value_close": 111541.725123311,
    "value_count": 0
  },
  {
    "time_period_start": "2025-08-27T00:46:00Z",
    "time_period_end": "2025-08-27T00:47:00Z",
    "time_open": "2025-08-27T00:46:00Z",
    "time_close": "2025-08-27T00:46:59.9Z",
    "value_open": 111541.725123311,
    "value_high": 111543.774821091,
    "value_low": 111519.51292474,
    "value_close": 111520.722993466,
    "value_count": 0
  }
]
```

## PRIMKT/Principal Market Price
* Principal market price based on the most significant trading venue for an asset pair 
* Uses the exchange with the highest trading volume as the main price source 
* Provides a focused view of price discovery from the most liquid market
* **Support** fair value measurement, financial reporting, and audit workflows
* **Compare** principal-market pricing against broader benchmark indexes

**Timeseries data for PRIMKT - IDX_REFRATE_PRIMKT_BTC_USD**
```json
[
  {
    "time_period_start": "2025-08-20T00:30:00Z",
    "time_period_end": "2025-08-20T00:31:00Z",
    "time_open": "2025-08-20T00:30:00.1Z",
    "time_close": "2025-08-20T00:30:59.7Z",
    "value_open": 112987.14,
    "value_high": 113056.3,
    "value_low": 112973.08,
    "value_close": 113056.3,
    "value_count": 0
  },
  {
    "time_period_start": "2025-08-20T00:31:00Z",
    "time_period_end": "2025-08-20T00:32:00Z",
    "time_open": "2025-08-20T00:31:00Z",
    "time_close": "2025-08-20T00:31:59.9Z",
    "value_open": 113056.3,
    "value_high": 113093.81,
    "value_low": 112990.12,
    "value_close": 112990.12,
    "value_count": 0
  },
  {
    "time_period_start": "2025-08-20T00:32:00Z",
    "time_period_end": "2025-08-20T00:33:00Z",
    "time_open": "2025-08-20T00:32:00Z",
    "time_close": "2025-08-20T00:32:59.9Z",
    "value_open": 112990.12,
    "value_high": 112995.68,
    "value_low": 112943.72,
    "value_close": 112995.68,
    "value_count": 0
  }
]
```

## CAPIVIX - CoinAPI Volatility Index
* Forward-looking 30-day volatility index for major crypto assets like BTC and ETH 
* Uses options market data, bid/ask quotes, and volatility methodology similar to VIX 
* Measures market expectations of future crypto volatility and risk sentiment 
* **Support** risk management, hedging, options research, and volatility forecasting 
* **Build** volatility dashboards, market sentiment tools, and crypto risk models

**Timeseries data for CAPIVIX - IDX_VOL_CAPIVIX_BTC_USD**
```
[
  {
    "time_period_start": "2025-08-20T00:30:00Z",
    "time_period_end": "2025-08-20T00:31:00Z",
    "time_open": "2025-08-20T00:30:00Z",
    "time_close": "2025-08-20T00:30:59.9Z",
    "value_open": 40.0270656300146,
    "value_high": 40.080888977171,
    "value_low": 40.0270623847255,
    "value_close": 40.0635525174898,
    "value_count": 0
  },
  {
    "time_period_start": "2025-08-20T00:31:00Z",
    "time_period_end": "2025-08-20T00:32:00Z",
    "time_open": "2025-08-20T00:31:00Z",
    "time_close": "2025-08-20T00:31:59.9Z",
    "value_open": 40.0566450200399,
    "value_high": 40.0699292674014,
    "value_low": 40.0089137345337,
    "value_close": 40.0244479715754,
    "value_count": 0
  },
  {
    "time_period_start": "2025-08-20T00:32:00Z",
    "time_period_end": "2025-08-20T00:33:00Z",
    "time_open": "2025-08-20T00:32:00Z",
    "time_close": "2025-08-20T00:32:59.9Z",
    "value_open": 40.0200191501564,
    "value_high": 40.1500792785335,
    "value_low": 40.0197067173902,
    "value_close": 40.1272509935957,
    "value_count": 0
  }
]
```

## Multi-Asset Weights
* Asset weight data for multi-asset index definitions 
* Includes index ID, asset ID, and assigned weight for each component 
* **Inspect** how multi-asset indexes are composed and allocated 
* **Audit** index composition before updates or administrative changes 
* **Build** allocation views, index methodology checks, and portfolio-style reporting

**Get all multi-asset weights**
```
[
  {
    "indexId": "IDX_MULTIASSET_TEST",
    "assetId": "BTC",
    "weight": 2
  },
  {
    "indexId": "IDX_MULTIASSET_TEST",
    "assetId": "ETH",
    "weight": 1
  }
]
```

## Ready to try CoinAPI? Stream market data, exchange rates, and more - trusted by banks, funds & fintechs.

- [Start for free](https://www.coinapi.io/products/market-data-api/pricing)

- [Get in touch](https://www.coinapi.io/contact-us)