Stock Pricing API

The Stock Pricing API offered by Alpaca Markets provides developers with access to real-time and historical pricing data for various stocks.

This powerful API allows users to integrate stock market information into their applications, enabling them to build innovative financial tools and strategies.

Data Sources

Alpaca offers market data from two distinct data sources:

SourceDescription
IEX (Investors Exchange LLC) IEX is ideal for initial app testing and situations where precise price visualization may not be the primary focus. It accounts for approximately ~2.5% of the market volume.
SIP (All US Exchanges)This Alpaca data feed originates directly from exchanges and is consolidated by the Securities Information Processors (SIPs). These SIPs play a crucial role in connecting various U.S. markets, processing and consolidating all bid/ask quotes and trades from multiple trading venues into a single, easily accessible data feed.

Our data delivery ensures ultra-low latency and high reliability, as the information is transmitted directly to Alpaca's bare metal servers located in New Jersey, situated alongside many market participants.

SIP data is particularly advantageous for developing your trading app, where precise and up-to-date price information is essential for traders and internal operations. It accounts for 100% of the market volume, providing comprehensive coverage for your trading needs.

Environments

Trading API

Base URL

  • https://data.alpaca.markets/v2

URL

  • wss://stream.data.alpaca.markets/v2/{source} where source is either iex or sip.

Broker API

Broker API Sandbox Environment

With your Broker API key, you can freely access the IEX market data. This data access is completely cost-free and allows you to redistribute it to your end users without any additional agreements or charges.

Base URL

  • https://data.sandbox.alpaca.markets/v2

URL

  • wss://stream.data.sandbox.alpaca.markets/v2/{source} where source is either iex or sip.

Broker API Limited Live & Live Environment

To access Alpaca's SIP data, additional agreements with corresponding exchanges and associated charges are involved. If you require this integration for your Limited Live & Live environment, kindly reach out to our sales team.