Data API

Real-Time Stock Market and Crypto Data

Developer-first API with unlimited API calls and over 6 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

Free*

For developers and researchers

$0/mo

Get API Keys

Unlimited*

For algo traders and quants

$99/mo

Get API Keys
Free*
Unlimited*
Real-time Data
Check mark
Check mark
API Calls
200 API calls/min
Unlimited API calls
Historical Data
6+ years
6+ years
Market Coverage
100% market coverage
100% market coverage
Crypto Data
Check mark
Check mark
US Stocks
Check mark
Check mark
Exchanges
IEX
All US Exchanges
Corporate Actions
Check mark
Check mark
Aggregate Bars
Check mark
Check mark
Snapshots
Check mark
Check mark
Websockets
Limited to 30 symbols
Unlimited symbols

Professional

For professional traders and hedge funds

$99/mo/device

Get API Keys

Broker API Partner

For startups and enterprises

Custom

Professional
Broker API Partner
Real-time Data
Check mark
Check mark
API Calls
Unlimited API calls
Unlimited API calls
Historical Data
6+ years
6+ years
Market Coverage
100% market coverage
100% market coverage
Crypto Data
Check mark
Check mark
US Stocks
Check mark
Check mark
Exchanges
All US Exchanges
All US Exchanges
Corporate Actions
Check mark
Check mark
Aggregate Bars
Check mark
Check mark
Snapshots
Check mark
Check mark
Websockets
Unlimited symbols
Unlimited symbols
Display Services
Check mark
Check mark
Professional use
Check mark
Check mark
Commercial use
Check mark
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 →
6+ 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