tastytrade Open API
Trade programmatically — built for developers and AI agents
A REST/JSON API for equities, options, futures, futures options, and cryptocurrency. Place orders, stream market data, and manage accounts — with a safety-first MCP server for autonomous agents.
Start with what you're building
Trade
Place, manage, and track equity, option, futures, and crypto orders — single and complex (OTO/OCO/OTOCO).
Orders reference →Market data
Real-time and historical quotes, option chains with Greeks, and market metrics (IV rank, liquidity, beta).
Market data reference →Accounts & balances
Buying power, net-liq, positions, transactions, and margin requirements across your accounts.
Balances reference →AI agents
Drive trading from an LLM via the self-hosted, open-source MCP server — order submission gated by dry-run-first confirmation.
MCP server →Tools & integrations
Agent-first by design
Every page is available as clean Markdown (append .md or send Accept: text/markdown). Agents can discover everything from /llms.txt — a curated index with a golden-path instructions block — then read endpoints with embedded OpenAPI, follow error docUrls to fixes, and act safely through the MCP server.