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
Code for trading app

Want to build your own trading app using market data?

Check out our Broker API and hack away!

Learn More →

Flexible plans with instant access

Alpaca's unlimited market data plans are designed for developers, traders, professionals, and Broker API partners.

Individuals
Businesses

Basic

For developers and researchers

$0/mo

Get API Keys

Algo Trader Plus

For algo traders and quants

$99/mo

Get API Keys
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
Check mark
Check mark
US Stocks
Check mark
Check mark
Exchanges
IEX
All Major US Exchanges
Corporate Actions
Check mark
Check mark
Aggregate Bars
Check mark
Check mark
Snapshots
Check mark
Check mark

Broker API Partner

For startups and enterprises

Professional
Real-time Data
Check mark
Websockets
Unlimited symbols
API Calls
10,000 API calls/min
Historical Data
7+ years
Market Coverage
100% market coverage
Crypto Data
Check mark
US Stocks
Check mark
Exchanges
All Major US Exchanges
Corporate Actions
Check mark
Aggregate Bars
Check mark
Snapshots
Check mark
Display Services
Check mark
Professional use
Check mark
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.
SDK available in C# SDK available in Node.js SDK available in GoLang SDK available in Python
{
  "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 →
Aggregate bars
gives you access to any minute/hour/daily bar data to support your trading strategies.
High-performance architecture built for enterprise scale.
Less than 20ms latency
<20ms
Latency
Low latency interface with high-performance architecture.
Robust systems
Redundancies
for Reliability
High data accuracy built around robust systems to ensure data availability.
Server
Direct Feed from
Exchanges
Our physical hardware is located next to most of the market participants.
Hi
Commercial
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

Contact Us