Broker
Est. 2015 San Mateo, USA

Alpaca

An API-first, commission-free broker run mostly through code, used by developers, quantitative researchers, and fintech builders who want programmatic market access without clicking through a screen.

Tools · Crypto scanner · Coins · Courses

Alpaca fills an odd niche in retail brokerage: it was the first broker built from the ground up to be run through an API, with the human screen as an afterthought. Founded in 2015 and headquartered in San Mateo, California, Alpaca Securities LLC operates as a FINRA-registered broker-dealer and SIPC member, providing the same regulatory protections as traditional retail brokers while delivering infrastructure that previously required institutional relationships and six-figure API access fees. For developers and fintech builders, Alpaca's access model is different from traditional broker APIs, which were bolted onto platforms built for people clicking buttons.

Alpaca's Trading API is REST-based and WebSocket-enabled, with officially maintained SDKs in Python, Go, JavaScript/TypeScript, and C#. The Python SDK is widely used. It handles order submission, portfolio management, historical data retrieval, and real-time market data streaming with very little boilerplate code. A developer with basic Python proficiency can establish authenticated API connections, retrieve account information, stream real-time quotes for a watchlist, and submit market or limit orders within hours of account approval. That put API access within reach of ordinary account holders, where it used to take an institutional setup.

Paper trading is free and unlimited. It's Alpaca's simulated trading environment, which replicates live market conditions without putting real capital to work. The paper trading environment shares the same API endpoints as live trading, meaning strategies developed against paper endpoints can be deployed to live trading environments by changing credentials without modifying code. This seamless transition between paper and live is a significant operational advantage over traditional brokers whose simulation environments, where they exist at all, use different API structures or data feeds that do not replicate live conditions accurately. For quantitative developers backtesting strategies, validating execution logic, and stress-testing risk management systems, Alpaca's paper environment provides a rigorous and realistic testing ground.

Alpaca's commission-free equity trading applies to standard U.S. market hours and extended hours trading, with orders routed through PFOF arrangements to internalisation desks: the same model used by Robinhood and Webull. For anyone who trades often, no per-trade commission matters: 50 trades a day at the old $7/trade commission structure would cost $350 in daily friction, $90,000 annually, and that used to eat most of the edge in small, frequent trades. Commission-free execution eliminates this barrier entirely, making mean-reversion, momentum, and arbitrage strategies economically viable at much smaller edge margins.

Fractional share trading through Alpaca's API allows strategies to deploy exact dollar amounts across securities regardless of share price. This matters most for portfolio construction algorithms that need to keep precise percentage allocations across a universe of stocks with widely varying prices. Without fractional shares, a $10,000 portfolio algorithm is forced into inefficient whole-share approximations that introduce systematic tracking error. Alpaca's fractional API accepts dollar-denominated order quantities, making portfolio rebalancing algorithms substantially cleaner to implement. For strategies using our stock position size calculator's dollar-based risk model, Alpaca's dollar-quantity orders provide a natural implementation path.

Alpaca's Market Data API provides real-time and historical equity data (OHLCV bars, trades and quotes) via a subscription model. The free tier provides real-time IEX data for U.S. equities, which covers a meaningful subset of actual exchange-consolidated tape data. The paid subscription provides consolidated tape data from all U.S. exchanges. Strategies need it when they require accurate volume-weighted price calculations, accurate spread measurement, or detection of exchange-specific price anomalies. For backtesting purposes, Alpaca's historical data API provides OHLCV bars going back multiple years at minute, hourly, and daily granularity, enabling statistically meaningful strategy validation against genuine market history.

For fintech developers building consumer-facing trading applications, Alpaca's Broker API (a separate offering from the Trading API) provides the infrastructure to operate as a white-label broker. It embeds stock trading functionality into any application without the regulatory overhead of becoming a registered broker-dealer. Companies building wealth management apps, portfolio visualisation tools, or embedded investment features for consumer products use Alpaca's Broker API to manage fractional share purchases, dividend handling, and account management on behalf of their end users. This B2B broker-as-a-service model has positioned Alpaca as infrastructure for an emerging fintech ecosystem.

Understanding the execution economics of API-driven trading requires careful modelling of realistic trade P&L. Our stock profit and loss calculator provides the net P&L framework. Since Alpaca's commission is zero, the main cost inputs are the bid-ask spread captured by market makers and any market impact from order size relative to average daily volume. If you size positions by formula, our stock position size calculator shows the math, so you can check every order against it before you send it.

Appropriate for: developers, fintech founders building trading applications, students learning how broker APIs work, and any trader who'd sooner work through an API than a screen. Not appropriate for: investors who require personalised advisory services, users uncomfortable with API and terminal-based workflows, or those primarily seeking retirement planning infrastructure. Compare Alpaca with discretionary trading platforms including Robinhood, Fidelity, and Interactive Brokers at the stock exchanges hub to identify the platform best matched to your trading methodology.

Stock profiles

12 of our 50 company guides for widely traded U.S. stocks. Educational, not investment advice. See all stocks