The short answer

For retail AI trading in 2026, pick Alpaca for solo US-equity ops (its official MCP server is the only broker server that documents idempotent orders), Interactive Brokers for multi-asset depth, Tradier for options-first strategies, and Schwab for high-AUM accounts. Robinhood has no REST API for stocks or options, so it is not a production option for coded strategies.

Five retail broker APIs matter in 2026: Alpaca, Interactive Brokers, Tradier, Schwab, and Robinhood. Each has a niche where it is the right default and a set of quiet failure modes that bite on real production use. Alpaca is the right starting point for solo operators running US equities only. Interactive Brokers is the only sensible choice for multi-asset-class coverage but has real TWS-gateway operational tax. Tradier is the cleanest API for options-first strategies but covers US stocks and options only. Schwab's 2024-era API is production-grade for high-AUM accounts but has meaningful OAuth complexity. Robinhood has no REST API for stocks or options: its official surfaces are a crypto-only API and an AI-agent MCP for a ring-fenced account, so a coded strategy has no sanctioned path. Interactive side-by-side comparison: Broker API Comparator.

The decision axes that actually matter

Public comparison tables stop at "supports stocks, yes/no; supports options, yes/no." Those checkboxes miss the axes that decide whether a broker API survives in production:

  1. Auth complexity. OAuth 2.0 with manual app approval vs API key copy-paste is a meaningful delta. An agent that needs to refresh a token every hour has different reliability characteristics than one with a static key.
  2. Order type coverage. Market and limit are table stakes. Stop-limit, trailing stop, OCO (one-cancels-other), OTO (one-triggers-other), bracket orders, and good-till-canceled semantics are where brokers differ.
  3. Rate limits. Published rate limits are the easy part. Effective rate limits — the ones a retail agent actually hits after accounting for polling, reconnection, and error retries, are harder to find and easier to exceed.
  4. Fees that aren't in the headline number. SIP data add-ons, options regulatory fees, borrow costs, margin rates, and per-exchange routing fees sum to real numbers.
  5. Asset class depth. US equities is one thing. US options is another. International equities, futures, forex, and crypto each have distinct API surfaces that brokers handle with varying grace.

The five-broker comparison below grades each on those axes, names the specific places each one quietly bites, and points to the right default for common retail profiles.

Alpaca

Strengths. Clean, opinionated REST API with decent WebSocket support for market data. Free IEX market-data feed as the default tier. Paper-trading account is a first-class citizen, not an afterthought — same endpoints, just a different base URL. Python SDK is actively maintained. MCP server from the vendor is available. OAuth flow is straightforward but API-key access is still supported, which simplifies development.

Where it quietly bites.

  • IEX data has gaps. IEX is roughly 4% of US equity volume (4.43% at its July 2026 record). For NBBO-quality pricing, you need the paid SIP tier ($99/month for Algo Trader Plus as of 2026).
  • Options are newer and more limited. Alpaca added options in 2024–2025; the feature set trails Tradier and IBKR. Multi-leg strategies and complex order types have edge cases.
  • Rate limits on the trading API are 200 requests/minute per account: fine for most agents, occasionally a real constraint for high-frequency polling without a WebSocket. The exact tier-by-tier caps are in Alpaca API rate limits 2026.
  • No fixed-income, futures, or forex. US equities and US options only. Crypto is a separate product line with its own caveats.

Cost profile. Commission-free on US equities and options (the standard payment-for-order-flow model). Alpaca states that options trading is always commission-free for retail Trading API customers; regulatory fees pass through. Market data: free IEX tier, $99/month for SIP and OPRA (alpaca.markets/options and Alpaca's market-data docs, read 2026-10-11).

Verdict. The right default for solo operators running US-equity strategies. Also the right default for anyone learning — paper-trading is frictionless, the API shape transfers to production unchanged, and the free tier is enough to validate most strategies before committing.

Interactive Brokers (IBKR)

Strengths. The widest asset-class coverage of any retail broker by a large margin, US and international equities, options, futures, forex, bonds, and mutual funds through a single account. Institutional-grade execution quality and exchange routing. IBKR's Client Portal Web API is reasonable REST; the classic TWS/IB Gateway path offers more control for programmatic users willing to run the bridge.

Where it quietly bites.

  • TWS Gateway is stateful. The classic programmatic path requires running TWS or IB Gateway as a long-lived process, re-authenticating periodically (weekly), and handling disconnects. This is meaningful operational overhead compared to a stateless REST API. The request ceiling is your market-data lines ÷ 2 per second (50 on the default 100 lines), with a separate historical-data pacing regime — see IBKR TWS API rate limits 2026 and Interactive Brokers API pricing + rate limits 2026 for the full operational spec.
  • Client Portal Web API has its own complexity. OAuth flow, session management, and token refresh are non-trivial. The documentation improved in 2024–2026 but still assumes more context than Alpaca's — track what changed each release in Interactive Brokers API updates 2026.
  • Market data subscriptions are per-exchange and per-asset-class. API market data needs an IBKR Pro account, at least USD 500 of equity plus the subscription cost, and API-eligible subscriptions; free on-platform TWS data does not flow to the API. For example, the US Securities Snapshot and Futures Value Bundle is USD 10/month, waived at USD 30 of monthly commissions, and OPRA Top of Book is USD 1.50/month (IBKR docs and market-data pricing page, read 2026-10-11).
  • Day-trading limits are changing, broker by broker. FINRA replaced the pattern-day-trader rule and its $25,000 minimum with intraday margin standards effective June 4, 2026 (Regulatory Notice 26-10), and lets brokers phase the change in until October 20, 2027. Until IBKR states it has switched, check whether day-trade counts still apply to a small margin account before going live.

Cost profile. Two commission schedules: IBKR Pro (tiered per-share pricing, best for active traders) and IBKR Lite (zero-commission US stocks and ETFs). US options on IBKR Pro cost USD 0.65 per contract on the fixed schedule, with tiered rates down to USD 0.15 (interactivebrokers.com options commissions, read 2026-10-11).

Verdict. The only sensible choice when the strategy needs multi-asset-class coverage (equities + options + futures, or international equities). The TWS/Gateway operational overhead is the price of the coverage. For an equities-only strategy, Alpaca is simpler; for an options-primary strategy, Tradier is cleaner.

Tradier

Strengths. Options-first design. Clean REST API. Streaming quotes via HTTP Server-Sent Events and WebSocket. Order-type coverage for options is better than Alpaca's — multi-leg strategies, conditional orders, and complex spreads are first-class. Pricing is transparent: three plans, Lite at $0/month, Pro at $10/month and Pro Plus at $35/month, with API access included on all three (tradier.com/pricing, read 2026-10-11).

Where it quietly bites.

  • US stocks and options only. No futures, no international, no crypto. Within those asset classes the API is excellent; outside them, Tradier is not an option.
  • Two API surfaces. The sandbox (paper trading) and production environments are separate; test account and live account are not the same account. Promotion from paper to live requires re-authenticating and re-configuring.
  • Real-time data needs a brokerage account. Tradier's docs say real-time US stock and options data is available to all Tradier Brokerage account holders and that it cannot provide real-time data to anyone else; the sandbox is 15-minute delayed (docs.tradier.com, read 2026-10-11).
  • Smaller operator base. Third-party tooling (open-source libraries, MCP servers, Python SDKs) is thinner than Alpaca's or IBKR's. Less of a red flag than a note — the official SDK and REST API are fine; community extensions are fewer.
  • Trade-scope rate limit is 60/min, not 120. Tradier's published production limits are per scope: the trade scope (order placement and management) is capped at 60 requests/minute, while standard and market-data scopes get 120/minute. An order-heavy agent should pace against the lower number. Full breakdown in Tradier API rate limits + pricing 2026.

Cost profile. Lite ($0/month) charges $0.35 per stock trade and $0.35 per equity-option contract; Pro ($10/month) and Pro Plus ($35/month) charge $0 on stocks and equity options, with index options at $0.35 and $0.10 per contract respectively. Regulatory and clearing fees pass through (tradier.com/pricing, read 2026-10-11).

Verdict. The right default for an options-primary strategy — multi-leg, conditional orders, options-specific analytics. For mixed equity/options portfolios, Tradier is still defensible. For equities-only, Alpaca's free tier wins on cost.

Schwab

Strengths. The Schwab trader API (rolled out 2024–2026 after the TD Ameritrade integration) is production-grade. OAuth 2.0 auth. REST and streaming endpoints. Orders cover US stocks, ETFs and options; futures and forex trade at Schwab on thinkorswim, not through the API. Large-account economics are competitive, margin rates, interest on cash balances, and institutional-tier execution.

Where it quietly bites.

  • OAuth complexity. Developer app registration goes through a manual review that, per the schwab-py documentation, can take up to a few days. Refresh-token lifecycle and redirect-URI handling are more involved than Alpaca or Tradier. Current rollout state and known gaps are tracked in Schwab Trader API status 2026.
  • Documentation quality is uneven as of 2026. The API has matured substantially but some endpoints have thinner docs than others, and community tooling is still catching up to the shape of the new API vs the legacy TD Ameritrade one.
  • Options cost per contract. At $0.65 a contract, Schwab costs more than Tradier Pro ($10 a month, $0 per equity-option contract) once you trade more than 15 contracts a month.

Cost profile. Commission-free US equities and ETFs. Options $0.65/contract (schwab.com/pricing, read 2026-10-11). Margin rates are tiered by the size of the debit balance.

Verdict. The right default for high-AUM established accounts, especially those already at Schwab. For anyone starting fresh in 2026 without a Schwab account, the OAuth and approval friction makes Alpaca or IBKR easier starting points.

Robinhood

Strengths. Clean consumer mobile app. Commission-free trading at the customer-facing level.

Where it quietly bites.

  • No REST API for stocks or options. Robinhood's official developer surface is the Crypto Trading API (key-authenticated, crypto only) plus the Robinhood Trading MCP for Agentic Trading, which lets an external AI agent place long equity, options and crypto orders, but only in a dedicated Agentic account and only through an AI client. See Robinhood API: Official or Unofficial 2026.
  • Coded strategies still have no sanctioned path. Community projects that wrap the mobile-app endpoints exist, but they are unofficial, unsupported, and subject to TOS restrictions. Account lockouts, API changes without notice, and TOS enforcement all apply; any serious strategy built against one is one 2FA-policy change away from breaking.

Verdict. Not a production option for a coded trading system. Agentic Trading is a sanctioned way to let an AI agent trade a ring-fenced account, but it is not an API you can build a deterministic strategy engine on. For coded strategies, use a different broker.

Side-by-side comparison

Dimension Alpaca IBKR Tradier Schwab Robinhood
Official API Yes Yes Yes Yes No
Auth API key + OAuth OAuth / TWS bridge API key + OAuth OAuth 2.0 N/A
US equities Yes Yes Yes Yes N/A
US options Yes (growing) Yes Yes (strong) Yes N/A
Futures No Yes No Yes N/A
Forex No Yes No Yes N/A
International equities No Yes No No N/A
Crypto Separate product Yes No No Crypto Trading API
Paper trading First-class Yes (separate account) Sandbox env Yes N/A
MCP server (2026) Yes (official) Official connector (drafts trades) Official (hosted) Community Official (agentic account only)
Rate limit (trading) 200/min lines ÷ 2 per second (50 by default) 60/min trade scope (120/min data) order limit set at app registration, up to 120/min N/A
Monthly cost (baseline) $0 $0 $0, $10 or $35 $0 N/A
Market-data cost $99 SIP + OPRA or free IEX Per subscription (e.g. USD 10 US bundle) Real-time included for account holders Included N/A

The Broker API Comparator has the full interactive matrix with up-to-the-quarter fee and feature detail. The Finance MCP Directory tracks MCP server availability per broker. The Data Vendor TCO tool handles the market-data cost side of the equation for multi-vendor stacks.

Decision tree

Branching on the typical retail profile:

  • Solo operator, US equities only. Alpaca. The free IEX tier is enough to start; upgrade to SIP only after the strategy is validated.
  • Multi-asset-class (equities + options + futures, or international). Interactive Brokers. The TWS/Gateway overhead is worth paying for the coverage.
  • Options-primary strategy. Tradier. The API is cleaner for multi-leg and conditional orders; the per-contract economics are competitive.
  • Already at Schwab, with a large account. Schwab. Margin rates and cash interest outweigh commission differences at scale.
  • Paper trading / learning only. Alpaca. Fastest onboarding, paper account shape matches live.
  • Considering Robinhood for a coded production strategy. Don't. Pick any of the four above; Agentic Trading only fits if an AI agent, not your code, places the trades.

What to test before committing

Regardless of which API the decision tree points to, before building a full strategy on top, validate the following on paper or small-live capital:

  • Order acknowledgment latency. How long between submit and ack? None of the five publishes a figure, and it varies with your region, network and the broker's load, so measure it from your own host before a strategy depends on fast acks.
  • Cancel latency. Often worse than submit latency. A strategy that relies on canceling unfilled orders fast needs to know the real cancel round-trip.
  • WebSocket reconnection behavior. Force a network interruption; observe whether the client automatically reconnects and backfills missed messages. Most commercial SDKs do; your own wrapper around raw WebSockets likely doesn't.
  • Rate-limit behavior under burst. What happens when you exceed the published limit? 429 is easy to handle; silent message drops are not.
  • Paper-to-live fidelity. For brokers with separate paper and live environments, verify the quirks you relied on in paper reproduce identically in live. Order-type edge cases are the usual culprits.

A strategy that passes all five on paper has a credible chance of surviving contact with production. One that hasn't been tested against these has surprises waiting.

How much does a broker API cost to use?

The trading API itself is free at all five brokers; the cost is in market data and per-contract options fees, not the API. Alpaca, IBKR Lite, Schwab, and Robinhood charge $0 commission on US equities; IBKR Pro uses tiered per-share pricing. Options run $0.65/contract at Schwab and on IBKR Pro's fixed schedule; Tradier Pro ($10/month) charges $0 on equity options, and Tradier Lite charges $0.35. Real-time market data is the recurring line: Alpaca SIP and OPRA are $99/month (free IEX otherwise), IBKR API data needs paid subscriptions such as its USD 10/month US bundle, and Tradier includes real-time data for brokerage account holders (all re-checked 2026-10-11).

This is the broker-selection pillar of the broker-and-data-vendor series: all five retail broker APIs on the axes that bite in production. The companion pieces drill into specific pairings and the data side of the stack:

Connects to

  • Broker API Comparator: interactive side-by-side matrix with current fees, features, and rate limits per broker.
  • Trading System Blueprinter — a starter architecture with the broker this article's "solo operator" default points to.
  • Paper vs Live Trading — what a paper account proves, and what it cannot, before the "what to test before committing" checks above.

References

Frequently asked questions

Which broker API is best for a solo retail AI trading agent in 2026?
Alpaca, if you trade US equities only. It has a clean REST API, a first-class paper-trading environment on the same endpoints, a free IEX data tier, and the only official broker MCP server that documents idempotent order submission. Step up to Interactive Brokers only when you need futures, forex, or international coverage.
Does Robinhood have an official trading API?
Not for stocks or options. Robinhood's official APIs are the Crypto Trading API, for crypto only, and the Robinhood Trading MCP, which lets an AI agent trade stocks, options and crypto in a dedicated Agentic account. A coded strategy would have to rely on unofficial reverse-engineered clients, which are unsupported and subject to TOS enforcement.
What's the cheapest broker API for options trading?
Tradier, for an active options account. Its Pro plan costs $10 a month and charges $0 per equity-option contract ($0.35 on index options), against $0.65 per contract at Schwab and on IBKR Pro's fixed schedule, and its API has first-class multi-leg and conditional-order support. The trade-off is Tradier covers US equities and options only, no futures, forex, or international.
Which broker API has an official MCP server?
Most of them, as of October 2026. Alpaca, Tradier, Interactive Brokers and Robinhood all run official MCP servers; Schwab has only community servers. Alpaca's is the only one that documents idempotent order submission, IBKR's drafts trade instructions you submit yourself, and Robinhood's trades only in a dedicated agentic account. Check the Finance MCP Directory for current grades before wiring one to production.