Data API

Unlimited access to real-time US stock market data

Easy-to-use API and quality stock market data for better modelling and backtesting.

Want to build your own trading app using market data?
Check out Broker API and hack away!
Flexible Pricing
Designed for developers.
 
Free
$0/mo
US Stocks & ETFs
IEX
Real-time Data
5+ years
200 API calls/min
30 symbols
Display services
Commercial use
US Stocks & ETFs
All US Exchanges
Real-time Data
5+ years
Unlimited API calls
Unlimited symbols
Display services
Commercial use
 
Business
$99/mo/device
US Stocks & ETFs
All US Exchanges
Real-time Data
5+ years
Unlimited API calls
Unlimited symbols
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
Access true event-based market data streaming via Websockets with nanosecond precision instead of being limited to pulling minute, hourly or daily data.
View docs
5+ years of historical data
Develop and test your strategies with confidence. Consolidated financial data with full U.S. market coverage on the Unlimited plan.
{
  "t": "2021-02-06T13:04:56.334320128Z",
    "x": "C",
    "p": 387.62,
    "s": >100,
    "c": [
      "",
        "T"
    ],
    "i": 52983525029461,
    "z": "B"
}
REST API and SDKs
Built to be simple, powerful and scalable. Access datasets in minutes with one easy-to-use API and build your application in any major programming language you are familiar with.
View docs
Flexible aggregate bars
Gives you access to OHLC data in any timeframe that fits you to support your trading strategies.
Trusted by Hedge Funds, Brokerages, and Fintechs
High-performance architecture built for enterprise scale.
<20ms
Latency
Low latency interface with high-performance architecture.
Redundancies
for Reliability
High data accuracy built around robust systems to ensure data availability.
Direct Feed from
Exchanges
Our physical hardware is located next to most of the market participants.
Commercial
Use
We support your redistribution or commercial use case with simple pricing.
Have any questions?
Contact us
Name
Email
Message