Alpaca-py (Alpaca Python SDK)
The Official Python SDK for Alpaca API observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 97
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 12.5
- age_days: 1656
- days_rel: 22
- days_push: 9
- n_releases_24m: 31
Adoption not part of the score
1474 stars · 394 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The official Python SDK for Alpaca's commission-free trading APIs, providing REST and WebSocket/SSE interfaces for trading, account management, and streaming market data (stocks, crypto, options). It supersedes the deprecated alpaca-trade-api-python package and supports building algorithmic trading strategies and brokerage applications.
Use cases
- build algorithmic trading bots in python
- stream real-time stock market data
- place and manage stock orders via api
- fetch historical crypto and stock price data
- manage a brokerage portfolio programmatically
- paper trade strategies before going live
When to choose
- you want the official, actively maintained Alpaca SDK
- you need trading plus market data (stocks, crypto, options) in one library
- you're starting a new Alpaca integration in Python
When to avoid
- you maintain legacy code on the deprecated alpaca-trade-api package and can't migrate yet
- you need a broker other than Alpaca
- you need a non-Python language SDK
Facets
library · maturity active
http-client websocket sdk trading fintech apis developer-tools python cli alpaca stock-market algorithmic-trading market-data rest-api brokerage-api crypto-trading cryptocurrency
4 sources
- readme: https://github.com/alpacahq/alpaca-py · fetched 2026-08-28 · f3757d3eb362
- homepage: https://alpaca.markets/sdks/python/getting_started.html · fetched 2026-08-29 · 2218a654560c
- site_page: https://alpaca.markets/docs · fetched 2026-08-29 · 10e61ad86a74
- registry_pypi: https://pypi.org/pypi/alpaca-py/json · fetched 2026-08-29 · 8281f8092e3b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| alpacahq/alpaca-py | main | 98 |
| alpacahq/alpaca-trade-api-python | mirror | 10 |
For agents
markdown · JSON · MCP: product_card(name="alpacahq/alpaca-py")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem