An option chain is a matrix of the options contracts available for one underlying security, organized by expiration date and listed by strike price. Whether you are building a trading interface, measuring liquidity or screening for volatility, you need calls and puts with their prices side by side.
This guide shows how to retrieve option chains with the Mboum API and explains how the v2 and v3 endpoints differ, so you can choose the right one. It also covers the older v1 endpoint, which returns a different format.
You can obtain your API key here:
https://mboum.com/pages/api
Which version should you use?
v3 (
/v3/markets/options): one expiration with bid, ask, midpoint, implied volatility and Greeks.expirationis YYYY-MM-DD.v2 (
/v2/markets/options): calls and puts side by side across a date range.from_dateandto_dateare YYYY-MM-DD.v1 (
/v1/markets/options): the legacy format with the underlying quote.expirationis a Unix timestamp.
All three have weight 2 per call. They authenticate with Authorization: Bearer YOUR_API_KEY.
The v3 options endpoint
v3 returns the chain for one expiration, grouped into Call and Put lists sorted by strike. Each contract has bid, ask, midpoint, last price, volume, open interest, implied volatility, delta, theta, vega, moneyness and days to expiration. meta.expirations lists the available dates, split into weekly and monthly.
Pass ticker (or symbol) and an optional expiration in YYYY-MM-DD format. Without expiration, you get this week's Friday, or next Friday once this week's has passed.
Documentation:
https://docs.mboum.com/#stocks-options-GETapi-v3-markets-options
The API request (Python example)
import requests
URL = "https://api.mboum.com/v3/markets/options"
HEADERS = {"Authorization": "Bearer YOUR_MBOUM_API_KEY"}
resp = requests.get(URL, headers=HEADERS,
params={"ticker": "SPY", "expiration": "2025-05-30"}, timeout=30)
data = resp.json()
# A failed request can still return HTTP 200, so check the body.
if resp.status_code != 200 or not isinstance(data.get("body"), dict):
raise SystemExit(f"Request failed: {str(data)[:150]}")
print("Available dates:", data["meta"]["expirations"])
for call in data["body"]["Call"][:5]:
print(call["strikePrice"], call["bidPrice"], call["askPrice"], call["volatility"], call["delta"])
Analyzing the v3 response
Below is a trimmed call from the docs example.
{
"symbol": "SPY|20250530|590.00C",
"strikePrice": "590.00",
"expirationDate": "05/30/25",
"moneyness": "+0.19%",
"bidPrice": "4.96",
"midpoint": "4.97",
"askPrice": "4.98",
"lastPrice": "5.00",
"volume": "39,945",
"openInterest": "30,435",
"volatility": "20.08%",
"delta": "0.5518",
"vega": "0.2120",
"theta": "-0.7369",
"daysToExpiration": "3"
}
Values arrive as formatted strings, such as "39,945" and "20.08%". Strip the commas and the percent sign before you do math.
Key fields to integrate into your application:
strikePrice – The price at which the contract can be exercised
bidPrice / askPrice / midpoint – What buyers pay, what sellers accept, and the price halfway between
volatility – The implied volatility of that contract
delta, theta, vega – Sensitivity to the stock price, time decay and volatility changes
openInterest – Open contracts at the previous close
daysToExpiration – Calendar days until the contract expires
The v2 options endpoint
v2 returns rows with the call and the put for each strike side by side (c_Bid, c_Ask, strike, p_Bid, p_Ask and more). It covers every expiration between two dates. type is required (STOCKS, ETF, MUTUALFUNDS, FUTURES or INDEX). from_date and to_date default to a window starting at the first day of the current month, and limit defaults to 20 rows. It does not return Greeks.
params = {"ticker": "AAPL", "type": "STOCKS",
"from_date": "2026-12-01", "to_date": "2026-12-31", "limit": 100}
data = requests.get("https://api.mboum.com/v2/markets/options",
headers=HEADERS, params=params, timeout=30).json()
rows = [r for r in data.get("body", []) if r.get("strike")] # skip the date header rows
Documentation:
https://docs.mboum.com/#stocks-options-GETapi-v2-markets-options
The v1 options endpoint
v1 returns contracts in a legacy format (contractSymbol, strike, impliedVolatility, inTheMoney) plus the underlying quote and the full list of expirations as Unix timestamps in expirationDates. Send one of those timestamps as expiration to get that chain. display=straddle groups calls and puts by strike.
Documentation:
https://docs.mboum.com/#stocks-options-GETapi-v1-markets-options
Practical use cases
Visualizing skew
Plot the volatility field against strikePrice for one v3 expiration to draw a volatility smile. It shows how expensive out-of-the-money options are relative to at-the-money options.
UI construction
When building an options screen similar to a brokerage app:
Call v3 once without
expirationand readmeta.expirationsto fill a date dropdownOn user selection, call v3 with that date as
expirationRender the
CallandPutlists side by side bystrikePrice
Conclusion
Use v3 when you need one expiration with prices and Greeks, v2 when you want a quick range of dates in one response, and v1 when you need the legacy format. All three share the same key, and each call has weight 2.
You can obtain your API key here:
https://mboum.com/pages/api