CBOE Far Term VIX (VIF) Price API — Historical Data Retrieval Guide
You need to backfill and chart the CBOE Far Term VIX (VIF) so you can compare longer-dated implied volatility to front-month VIX, trigger alerts on large term structure shifts, and export a clean daily series into your research pipeline. By the end of this guide, you’ll query the VIF latest print and fetch a date-bounded historical series you can cache, chart, and analyze.
What you will build: reliable latest and historical VIF retrieval
This walkthrough focuses on two endpoints you actually need to deliver the job:
- Latest: get the most recent VIF print.
- Time-series: fetch a continuous daily series to backfill and maintain history.
If you need other endpoints (fluctuation, OHLC, intraday, conversion), see the Documentation. Confirm the exact symbol on the Symbols page before deploying—this guide uses VIF.
How VIF quotes are expressed (base, rates, and inversion)
All Indices-API quotes are returned relative to a base currency, which is USD in the responses below. Two key fields drive downstream calculations:
- base: The currency all rates are expressed against (USD).
- rates: A map of symbol-to-rate where the value is the price relative to the base.
Because the base is USD, think about the two useful entries for VIF:
- rates.VIF: USD per 1 unit of the VIF index (a small number).
- rates.USDVIF: VIF units per 1 USD (the inverse).
Use whichever is more convenient. For example:
- To dollarize an index exposure: usd_value = exposure_in_VIF_units × rates.VIF.
- To express 1 USD in index units: vif_units = 1 × rates.USDVIF.
Do not expect calendar-contiguous values for weekends and market holidays; volatility indices are derived from exchange-traded options and are not published on non-trading days.
Get the latest VIF print
First, grab an API key. There’s a 7-day trial on the PRO plan ($49.99/mo) so you can test quickly. Create your key at Indices-API Register. The API uses an access_key query parameter for authentication.
cURL: latest endpoint
curl "https://indices-api.com/api/latest?access_key=YOUR_API_KEY"
Official response sample (copy/paste safe):
{"data":{"success":true,"timestamp":1794098400,"date":"2026-11-08","base":"USD","rates":{"VIF":0.039047247169075,"USD":1,"USDVIF":25.609999999999726}}}
What you’ll actually use:
- success: Boolean indicating a successful request.
- timestamp: Unix epoch seconds (UTC). Useful for freshness checks and cache invalidation.
- date: The market date associated with the print (not necessarily “now”).
- base: The base currency for all rates (USD).
- rates.VIF: USD per 1 unit of VIF.
- rates.USDVIF: VIF per 1 USD (convenient inverse).
Python: parse the latest VIF quote
import os
import requests
from datetime import datetime, timezone
API_KEY = os.getenv("INDICES_API_KEY", "YOUR_API_KEY")
url = "https://indices-api.com/api/latest"
params = {"access_key": API_KEY}
resp = requests.get(url, params=params, timeout=10)
resp.raise_for_status()
payload = resp.json()
# The official sample nests the payload under "data"
data = payload.get("data", payload)
if not data.get("success"):
raise RuntimeError("Indices-API request failed")
ts = data["timestamp"]
as_of_utc = datetime.fromtimestamp(ts, tz=timezone.utc)
base = data["base"]
date_str = data["date"]
rates = data["rates"]
vif_usd = rates["VIF"] # USD per VIF unit
usd_to_vif = rates["USDVIF"] # VIF units per USD (inverse)
print("As-of (UTC):", as_of_utc.isoformat())
print("Market date:", date_str)
print("Base:", base)
print("VIF (USD per unit):", vif_usd)
print("USDVIF (units per USD):", usd_to_vif)
# Example: dollarize a 10-unit VIF exposure
exposure_units = 10.0
exposure_usd = exposure_units * vif_usd
print("Exposure (USD):", exposure_usd)
Operational notes:
- Update frequency: The latest endpoint updates every 60 minutes or every 10 minutes based on plan. Cache accordingly at the edge and in your backend.
- Caching tip: Store the full response keyed by date and timestamp. If the timestamp hasn’t moved, keep serving your cached payload.
- Trading days: Expect the same “date” across non-trading days; do not assume a daily increment on weekends.
Backfill and maintain a VIF historical series
For backtests and dashboards you’ll want a stable, reproducible daily series. Use the time-series endpoint to retrieve a date-bounded set of daily rates and keep it updated incrementally.
Time-series considerations specific to VIF
- Start/end dates: Choose a historical window that covers your model’s lookback horizon. The endpoint accepts a start_date and end_date.
- Non-trading days: The API won’t manufacture values for weekends/holidays; your output will have gaps. Use forward/backfill in your analytics layer only if appropriate for your model.
- End date constraint: end_date should not be “today.” Query through yesterday (or the last business day) to avoid partial-day or unavailable data.
Example request (time-series)
Request a bounded series. Dates are YYYY-MM-DD. Keep your access_key in the query string.
curl "https://indices-api.com/api/timeseries?access_key=YOUR_API_KEY&start_date=2026-10-01&end_date=2026-11-07"
Parse the response the same way you handled latest: read success, base, and then iterate dates under rates["YYYY-MM-DD"].VIF. Do not set end_date to the current date; use the last full trading day instead.
How to use VIF rates in practice
While volatility indices are dimensionless measures, the API expresses everything relative to a base currency (USD) to keep the interface uniform. Two practical approaches to keep your math consistent:
- Portfolio PnL in USD: For any number x of VIF “units” you track in your analytics layer, PnL in USD is Δx × rates.VIF. This is handy when comparing signals across indices in one currency.
- Normalization via inverse: If you prefer to carry positions in “index units,” use rates.USDVIF to convert an allocation in USD into index units at each rebalance.
For example, if you maintain a rolling allocation A USD into a VIF sleeve, you can compute position_units = A × rates.USDVIF at rebalance, and mark-to-market USD value as position_units × rates.VIF thereafter.
Production details that will save you time
- Base currency is USD: All examples here have base set to USD. Plan your internal types so other symbols (or currency conversions) won’t surprise you.
- Timestamps are UTC: timestamp is Unix epoch seconds (UTC). Always convert to timezone-aware datetimes and keep logs consistent.
- Weekend and holiday behavior: Do not expect new prints on non-trading days. Your graphs should render gaps or flat lines appropriately.
- Caching: Respect your plan’s refresh cadence (e.g., 60-minute or 10-minute). In API gateways and CDNs, set a TTL slightly shorter than the expected update interval and proactively invalidate when timestamp advances.
- Out-of-order updates: When you run collectors in parallel, prefer idempotent upserts keyed by (symbol, date) and only overwrite when timestamp increases.
- Do not query future-dated ranges: end_date must be on or before the last complete trading day. Asking for today may return no data or a partial print.
Where to confirm symbols, formats, and coverage
Before you ship, confirm the exact symbol code and availability on the Indices-API Supported Symbols page. For endpoint parameters, optional filters, and additional examples, use the Indices-API Documentation.
If you’re integrating with multiple venues or building a microservice that fans out to your own processing layers, see the MCP resource. For general product information and updates, visit indices-api.com.
Monitoring, alerting, and data quality tips
- Alert thresholds: If you monitor VIF term structure, set alerts on changes in rates.VIF over rolling windows you also pull via timeseries.
- Freshness SLO: Track the delta between now and the last timestamp. If it exceeds your plan’s expected refresh plus buffer, trigger a warning.
- Backfill jobs: Run backfill once per day after the expected settlement time, storing a single official print per date.
- Retry policy: On transient errors, perform brief exponential backoff. Use idempotent writes so reruns don’t duplicate rows.
References for methodology and context
- CBOE VIX family overview: Cboe VIX Products
- Indices-API product homepage: Indices-API
FAQ
Q: What symbol should I use for CBOE Far Term VIX?
A: Use VIF. Always confirm current availability and exact codes on the Symbols page before shipping.
Q: Why is rates.VIF such a small number?
A: All quotes are expressed relative to base USD. The API provides both the direct rate (USD per VIF) and its inverse as rates.USDVIF (VIF per USD). Use whichever representation simplifies your math.
Q: My time-series has gaps on weekends. Is that expected?
A: Yes. Volatility indices derived from options do not print new values on market holidays and weekends. You should not expect a value for every calendar day.
Q: Can I request time-series data up to today?
A: Use an end_date of yesterday or the last completed trading day. The API does not guarantee an intraday or same-day final print.
Q: How often does the latest endpoint update?
A: Depending on your plan, the latest endpoint updates every 60 minutes or every 10 minutes. Cache results accordingly and rely on the timestamp field to detect updates.
Ready to fetch VIF and build your term-structure dashboards? Start your 7-day trial on the PRO plan and get an API key from the Register page, then use the Documentation to wire up the timeseries endpoint for backfills.