Skip to content
Back to skills

2556 Options E99ce842

ASecurity

Both options endpoints require a premium Alpha Vantage subscription.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
datapythonapi

Works with

  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2556-options_e99ce842 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2556 Options E99ce842?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2556 Options E99ce842
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2556-options-e99ce842/badge)](https://www.skillsdirectory.com/skills/tools-only-2556-options-e99ce842)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Options Data APIs (Premium)

Both options endpoints require a premium Alpha Vantage subscription.

## REALTIME_OPTIONS — Real-time Options Chain

Returns real-time options contracts for a given symbol.

**Required:** `symbol`

**Optional:**
- `contract` — specific contract ID (e.g., `AAPL240119C00150000`) to get a single contract
- `datatype` — `json` or `csv`

```python
data = av_get("REALTIME_OPTIONS", symbol="AAPL")
options = data["data"]

for contract in options[:5]:
    print(
        contract["contractID"],    # e.g., "AAPL240119C00150000"
        contract["strike"],        # "150.00"
        contract["expiration"],    # "2024-01-19"
        contract["type"],          # "call" or "put"
        contract["last"],          # last price
        contract["bid"],
        contract["ask"],
        contract["volume"],
        contract["open_interest"],
        contract["implied_volatility"],
        contract["delta"],
        contract["gamma"],
        contract["theta"],
        contract["vega"],
        contract["rho"]
    )

# Get a specific contract
data = av_get("REALTIME_OPTIONS", symbol="AAPL", contract="AAPL240119C00150000")
```

## HISTORICAL_OPTIONS — Historical Options Chain

Returns historical end-of-day options data for a specific date.

**Required:** `symbol`

**Optional:**
- `date` — format `YYYY-MM-DD` (up to 2 years of history)
- `datatype` — `json` or `csv`

```python
# Get options chain for a specific historical date
data = av_get("HISTORICAL_OPTIONS", symbol="AAPL", date="2023-12-15")
options = data["data"]

for contract in options[:5]:
    print(
        contract["contractID"],
        contract["strike"],
        contract["expiration"],
        contract["type"],           # "call" or "put"
        contract["last"],
        contract["mark"],           # mark price
        contract["bid"],
        contract["ask"],
        contract["volume"],
        contract["open_interest"],
        contract["date"],           # the date of this snapshot
        contract["implied_volatility"],
        contract["delta"],
        contract["gamma"],
        contract["theta"],
        contract["vega"],
        contract["rho"]
    )
```

## Filter Options by Expiration/Type

```python
import pandas as pd

data = av_get("HISTORICAL_OPTIONS", symbol="AAPL", date="2023-12-15")
df = pd.DataFrame(data["data"])
df["strike"] = pd.to_numeric(df["strike"])
df["expiration"] = pd.to_datetime(df["expiration"])

# Filter calls expiring in January 2024
calls_jan = df[(df["type"] == "call") & (df["expiration"].dt.month == 1) & (df["expiration"].dt.year == 2024)]
calls_jan = calls_jan.sort_values("strike")
print(calls_jan[["contractID", "strike", "bid", "ask", "implied_volatility", "delta"]].head(10))
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.