Amazon VIX (VXAZN) OHLC API
You need reliable daily OHLC candles for the Amazon VIX (VXAZN) to power a chart, compute ranges, and alert when the close breaks the prior day’s high. By the end of this guide you’ll pull a live VXAZN quote you can display right now and know exactly how to request daily OHLC bars for backfilling your charts.
What we’re building: VXAZN latest print and daily OHLC
We’ll cover two endpoints you’ll actually ship:
- Latest endpoint: fetch the current VXAZN level expressed in USD so your UI shows a live, human-readable price.
- OHLC endpoint: fetch open, high, low, close for a specific date to build your daily candle series.
We’ll also call out the fields you should parse, how currency bases work, how weekends/holidays behave, and edge cases like “today” not being a valid end_date for historical pulls. If you need additional endpoints (time series, fluctuation, intraday), see the Indices-API Documentation.
Confirming the symbol: VXAZN
This article focuses strictly on the Amazon VIX symbol VXAZN. If you’re mapping from a different vendor or want to double-check coverage, confirm the instrument code on the Indices-API Supported Symbols page.
How VXAZN quotes are expressed
Indices-API responses are denominated relative to a base currency, which is USD in the examples that follow. You’ll see two useful fields for VXAZN in the latest response:
- rates.VXAZN: the index units per 1 USD (index-per-USD).
- rates.USDVXAZN: the USD price of 1 index unit (USD-per-index). This is typically what you’ll chart.
Using USDVXAZN avoids inverting rates client-side and keeps your UI consistent when you display “price” in dollars. The API also returns a UNIX timestamp and an ISO 8601 date string you can use for staleness checks and cache keys.
Get the latest VXAZN print
Use the latest endpoint. Depending on your plan, updates arrive roughly every 60 minutes or faster. The example below requests VXAZN and returns both VXAZN and USDVXAZN fields under a USD base.
curl request
curl "https://indices-api.com/api/latest?access_key=YOUR_API_KEY&symbols=VXAZN"
Official JSON response
{"data":{"success":true,"timestamp":1794703260,"date":"2026-11-15","base":"USD","rates":{"VXAZN":0.028433323855559,"USD":1,"USDVXAZN":35.169999999999646}}}
What to parse
- data.success: boolean success flag for basic checks.
- data.timestamp: UNIX seconds you can translate to a trading session date/time or for cache control.
- data.date: the API’s effective date for the quote (ISO 8601, UTC).
- data.base: the currency base; in this response it’s USD.
- data.rates.USDVXAZN: the USD price per 1 VXAZN unit, ideal for chart display.
- data.rates.VXAZN: index-per-USD, useful if you need the inverse for internal math.
JavaScript example (Node or browser)
async function getLatestVXAZN() {
const url = "https://indices-api.com/api/latest?access_key=YOUR_API_KEY&symbols=VXAZN";
const res = await fetch(url);
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const payload = await res.json();
// Access the documented fields
const ok = payload.data?.success === true;
if (!ok) throw new Error("API indicated failure");
const ts = payload.data.timestamp; // UNIX seconds
const date = payload.data.date; // "YYYY-MM-DD"
const base = payload.data.base; // "USD"
const usdPerIndex = payload.data.rates.USDVXAZN; // USD price of 1 VXAZN
const indexPerUsd = payload.data.rates.VXAZN; // VXAZN units per 1 USD
// For chart labels and alerts, you'll typically use usdPerIndex
return { ts, date, base, usdPerIndex, indexPerUsd };
}
getLatestVXAZN()
.then(console.log)
.catch(console.error);
You can drop this into your dashboard to render the current VXAZN price in USD. Consider caching the object for at least the update cadence of your plan (for example 60 minutes) to avoid unnecessary calls.
Fetch daily OHLC for VXAZN
The Open/High/Low/Close endpoint returns a daily candle for a specific session date. The path follows this pattern: open-high-low-close/YYYY-MM-DD. Use the VXAZN symbol to retrieve its daily bar for that date. Keep these details in mind:
- Effective date: Use a completed trading day. end_date cannot be today because today’s candle may be incomplete.
- Weekends/holidays: Expect no new candle; the latest daily bar will still be the last trading session.
- Base and units: Values are expressed relative to the base; with base USD, prefer fields that are explicitly USD-per-index when present.
Because parameters vary by account tier and usage, see the Indices-API Documentation for the exact query string fields to request VXAZN via the OHLC endpoint. If you’re unsure whether VXAZN supports OHLC for the dates you need, confirm symbol details on the Symbols page first.
Backfilling a series with daily candles
To backfill a chart, iterate dates in reverse chronological order and call the OHLC endpoint for each prior business day. For missing sessions (weekends, market holidays), skip or carry forward the last close depending on your charting preference. Respect the API’s update cadence and cache results by date to avoid refetching immutable historical bars.
How to use these fields in your UI and analytics
- Display price: Use data.rates.USDVXAZN as the “last” in USD.
- Candles: From the OHLC endpoint, map open/high/low/close into your chart’s candle structure and join the latest close with your latest endpoint price once the day completes.
- Comparisons: Normalize VXAZN values by dividing each bar by a rolling mean or prior close if you want percentage overlays.
- Alerts: Use the last close from OHLC to trigger an alert when the latest USDVXAZN crosses above yesterday’s high or below yesterday’s low.
Practical integration notes
- Authentication: Pass your key with access_key in the query string.
- Update frequency: The latest endpoint updates roughly every 60 minutes or faster depending on your plan. Don’t poll more frequently than the update cadence; cache instead.
- Time zone and dates: The API date is ISO 8601 (UTC). Align your session boundaries accordingly when joining with your UI’s local time.
- Today vs historical: For backfills, do not use today as an end_date. Fetch up to the last completed session and separately show the in-progress latest quote if needed.
- Weekends/holidays: Expect no new OHLC bar. Handle gaps gracefully in your charts.
- Units: With base = USD, USDVXAZN is USD-per-index and VXAZN is index-per-USD. Use the direction that matches your UX.
- Caching: For the latest endpoint, cache at least to the update interval. For OHLC by date, responses are immutable—cache indefinitely by YYYY-MM-DD + symbol.
A note on “AZN” versus Azerbaijani Manat
VXAZN includes the letters “AZN” in its ticker symbol, which is also the ISO code for the Azerbaijani Manat. These are unrelated contexts. In Indices-API responses shown here, base is USD and fields like USDVXAZN refer to the Amazon VIX instrument, not the Azerbaijani Manat currency. If you work with currency conversions separately, confirm instruments and currencies explicitly to avoid ticker-code collisions.
Plans, trial, and getting your key
You’ll need an API key to run the calls above. There’s a PRO plan at $49.99/month with a 7-day trial so you can integrate before you commit. Create a key here: Register. For endpoint parameters, response fields, and additional capabilities (intraday intervals, fluctuation, conversions), refer to the Documentation. To explore managed connectivity options, see MCP.
Production hardening checklist
- Validate data.success and presence of data.rates.USDVXAZN before updating your chart.
- Implement retries with exponential backoff for transient network errors; do not retry on 4xx auth errors.
- Guard for partial days: if your front-end shows intraday “live” price, label it clearly and only roll it into a daily candle after the session closes.
- Log the timestamp, date, and the raw JSON alongside your derived values for auditability.
- Set explicit timeouts on requests to keep your UI responsive.
Related resources
- Symbol specifications and availability for VXAZN and peers: Indices-API Symbols.
- Endpoint references, authentication, and example payloads: Indices-API Documentation.
- General volatility background: Cboe VIX education portal for understanding VIX-style metrics (external): Cboe VIX Resources.
FAQ
How often does the latest VXAZN price update?
Update frequency depends on your subscription tier; common cadences are around every 60 minutes or faster. Cache results to that cadence to avoid redundant calls.
Which field should I chart as “price”?
Use data.rates.USDVXAZN to express VXAZN in USD-per-index. Reserve data.rates.VXAZN (index-per-USD) for internal conversions if needed.
Can I query OHLC for today?
Use a completed trading day. end_date cannot be today. Request yesterday or the last business day; show the latest endpoint price separately for intraday context.
What happens on weekends and holidays?
There is no new daily candle. Your last OHLC bar remains the prior trading session. Handle gaps in your UI and backfills accordingly.
Do I need to invert anything for USD quotes?
No. Prefer USDVXAZN directly for USD-per-index. Only invert if you’re explicitly working from VXAZN (index-per-USD) and need the USD price.
Ready to wire this up? Grab your free trial key and start querying VXAZN now: Register. Then explore OHLC and other endpoints in the Documentation to complete your charting pipeline.