Real-Time Stock Market and Crypto Data
Developer-first API with up to 10,000 API calls/min and over 7 years of historical data
Get API Keys
Want to build your own trading app using market data?
Check out our Broker API and hack away!
Flexible plans with instant access
Alpaca's unlimited market data plans are designed for developers, traders, professionals, and Broker API partners.
Basic
Algo Trader Plus
Websockets
Limited to 30 symbols
Unlimited symbols
API Calls
200 API calls/min
10,000 API calls/min
Historical Data
7+ years
7+ years
Market Coverage
100% market coverage
100% market coverage
Crypto Data
US Stocks
Exchanges
IEX
All Major US Exchanges
Corporate Actions
Aggregate Bars
Snapshots
Broker API Partner
For startups and enterprises
Professional
Real-time Data
Websockets
Unlimited symbols
API Calls
10,000 API calls/min
Historical Data
7+ years
Market Coverage
100% market coverage
Crypto Data
US Stocks
Exchanges
All Major US Exchanges
Corporate Actions
Aggregate Bars
Snapshots
Display Services
Professional use
Commercial use
Connected (press CTRL+C to quit)
< [{"T":"success","msg":"connected"}]
> {"action": "auth", "key": "{APCA-API-KEY-ID}", "secret": "{APCA-API-SECRET-KEY}"}
< [{"T":"success","msg":"authenticated"}]
> {"action":"subscribe","bars":["AAPL","TSLA"]}
< [{"T":"subscription","trades":[],"quotes":[],"bars":["AAPL","TSLA"],"dailyBars":[]}]
< [{"T":"b","S":"AAPL","o":125.81,"c":125.84,"h":125.8778,"l":125.79,"v":200967,"t":"2021-05-20T13:59:00Z"}]
< [{"T":"b","S":"TSLA","o":578.11,"c":580,"h":580.47,"l":577.8,"v":233648,"t":"2021-05-20T13:59:00Z"}]
$ wscat -c wss://stream.data.alpaca.markets/v2/sip
Real-time stock data
for any ticker down to the second.
True event-based streaming market data via Websockets,
instead of being limited to pulling minute or daily bar data.
View WebSocket docs →
7+ years of historical data
allowing you to
develop and test your strategies with confidence.
{
"t": "2021-02-06T13:04:56.334320128Z",
"x": "C",
"p": 387.62,
"s": >100,
"c": [
"",
"T"
],
"i": 52983525029461,
"z": "B"
}
REST API and client libraries
Built to be simple, powerful and scalable.
It will take you 5 minutes to get started.
View docs →
It will take you 5 minutes to get started.
Aggregate bars
gives you access to any
minute/hour/daily
bar data to support your trading strategies.
High-performance architecture built for enterprise scale.
<20ms
Latency
Latency
Low latency interface with high-performance architecture.
Redundancies
for Reliability
for Reliability
High data accuracy built around robust systems to ensure data availability.
Direct Feed from
Exchanges
Exchanges
Our physical hardware is located next to most of the market participants.
Commercial
Use
Use
We support your redistribution or commercial use case with simple pricing.
We're here to help!
With our global support team, we're here to help you choose the best plan for your goals. Contact us and one of our team members will help you find the right plan.
Contact Support