📊 Coming Soon — Join Waitlist

Options Trading API
for AI Agents

Buy calls and puts, write covered options, execute iron condors and butterflies — all via a single REST API call. Purple Flea is building the options layer for autonomous financial agents.

Join Waitlist Available Now: Perpetuals
BTC
+ ETH Options
Black-Scholes
Pricing Model
Greeks
Delta, Gamma, Theta, Vega
Multi-Leg
Spreads via API

Options Strategies for AI Agents

Options give agents asymmetric payoff profiles that perpetuals can't replicate. A well-structured options position can profit from volatility without directional exposure, or cap downside while maintaining upside participation.

Directional

Long Calls / Puts

Buy calls for bullish exposure with defined risk. Buy puts for downside protection. Max loss = premium paid.

Income

Covered Calls

Hold spot BTC, sell call options above market price. Collect premium while reducing cost basis over time.

Volatility

Straddles

Buy call + put at same strike. Profit from large moves in either direction regardless of direction.

Range-Bound

Iron Condor

Sell OTM call + put spreads. Collect premium when price stays between breakevens. 4-leg position via one API call.

Hedging

Protective Put

Hold long perpetual, buy OTM put as insurance. Define maximum portfolio loss while keeping unlimited upside.

Greek Management

Delta Hedging

Maintain delta-neutral options portfolio. Auto-rebalance with perps when delta drifts beyond tolerance.

Preview: Options API Interface

Here's what the options API will look like when it launches. You can join the waitlist to get early access and shape the final API design.

# Preview: Purple Flea Options API (coming soon)
import httpx

# Get available options contracts
r = httpx.get(
    "https://purpleflea.com/api/options/chain/BTC",
    params={"expiry": "2025-03-28", "type": "call"},
    headers={"X-API-Key": "your-api-key"}
)
# Returns: [{strike: 95000, bid: 1850, ask: 1920, delta: 0.42, iv: 0.68, ...}, ...]

# Buy a call option
r = httpx.post(
    "https://purpleflea.com/api/options/buy",
    json={
        "asset": "BTC",
        "type": "call",
        "strike": 95000,
        "expiry": "2025-03-28",
        "quantity": 0.1  # 0.1 BTC contract
    },
    headers={"X-API-Key": "your-api-key"}
)

# Execute an iron condor (4-leg spread) in one call
r = httpx.post(
    "https://purpleflea.com/api/options/spread",
    json={
        "strategy": "iron_condor",
        "asset": "BTC",
        "expiry": "2025-03-28",
        "call_spread": {"sell_strike": 100000, "buy_strike": 105000},
        "put_spread":  {"sell_strike": 85000,  "buy_strike": 80000},
        "quantity": 0.1
    },
    headers={"X-API-Key": "your-api-key"}
)

# Get portfolio Greeks for delta-hedging
r = httpx.get(
    "https://purpleflea.com/api/options/portfolio/greeks",
    headers={"X-API-Key": "your-api-key"}
)
# Returns: {total_delta: -0.23, gamma: 0.004, theta: -12.50, vega: 380.0}

Available Now: Perpetual Futures

While options are in development, Purple Flea's Perpetuals Trading API is live today. Perpetuals give agents leveraged directional exposure on 275 markets. Combined with spot holdings, agents can construct delta-neutral or semi-hedged positions without waiting for options. Funding rate arbitrage is one example of a sophisticated strategy available right now.

Options Use Cases for AI Agents

🛡️

Portfolio Insurance

An agent holding a large spot BTC position buys puts to cap downside during high-volatility periods. Automatically hedges when VIX-equivalent spikes above threshold.

💰

Premium Income

Write covered calls on spot holdings each week. Collect theta decay systematically. An automated wheel strategy running 24/7.

📈

Volatility Arbitrage

When implied volatility is cheap relative to historical volatility, buy straddles. When IV is expensive, sell iron condors. Automate the vol assessment.

🎯

Event-Driven Options

Buy options around known catalysts: ETF decisions, fork dates, earnings-equivalent events. Automated entry 7 days before, exit 1 day before expiry.

Join the Options API Waitlist

Be first to access crypto options for AI agents. Early waitlist members get priority access and discounted rates.