Alpaca
Alpaca
Realtime and historical market data on all US equities and ETFs
Covers all US equities and ETFs
Check the docs depth and real endpoint shape before assuming production fit.
Sign up to obtain an API key. Use the key to authenticate requests to access realtime and historical market data.
Uptime · 30-day window
About this API
Alpaca provides access to realtime and historical market data for all US equities and ETFs. It is designed for developers and financial applications that require accurate and timely stock market information.
The API supports retrieving data on a wide range of US-listed securities, enabling users to build tools for market analysis, trading strategies, or financial dashboards. Authentication is handled via API key, ensuring secure access to the data.
Alpaca's focus on US equities and ETFs makes it relevant for applications targeting the American stock market, offering both current and past market data to support diverse financial use cases.
What you can build
- 1Display realtime US stock prices
- 2Generate historical equity price charts
- 3Build ETF market data dashboards
- 4Validate stock market trends
Strengths & limitations
Strengths
- Covers all US equities and ETFs
- Provides realtime and historical data
- API key authentication
Example request
curl https://alpaca.markets/docs/api-documentation/api-v2/market-data/alpaca-data-api-v2/<endpoint> \
-H "Authorization: Bearer $API_KEY"
# Some providers use X-Api-Key instead — verify in the docs.Getting started
Sign up to obtain an API key. Use the key to authenticate requests to access realtime and historical market data.
FAQ
Do I need an API key to use Alpaca?+
Yes, Alpaca requires an API key for authentication to access its data.
What types of market data does Alpaca provide?+
It provides realtime and historical data for US equities and ETFs.
Can I use Alpaca API from a browser?+
Using the API from a browser depends on CORS support, which is not specified.
Is HTTPS required to access Alpaca API?+
While not explicitly stated, HTTPS is generally required for secure API access.
Technical details
- Auth type
- api_key
- Pricing
- free
- Protocols
- REST
- Response time
- 1250 ms