Comparison
alpaca-py vs alpaca-trade-api vs ib_async vs ibapi
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The Official Python SDK for Alpaca APIs
Actively maintained. Last release 4 weeks ago, commits in 21 of the last 26 weeks. A safe choice.
pip install alpaca-pyAlpaca API python client
Archived. The repository is read-only: no more fixes or releases will come.
pip install alpaca-trade-apiPython sync/async framework for Interactive Brokers API
Low maintenance activity. Last release 12 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install ib-asyncOfficial Interactive Brokers API
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install ibapiIn short
- alpaca-trade-api is archived: avoid it for new projects.
- ibapi looks abandoned: avoid it for new projects.
- alpaca-py is the most used: 1.4M downloads a month, 1.9× more than ib_async.
- alpaca-py also has the best Pythie’s Index (87).
- alpaca-py is growing fastest: downloads +17% over the last month.
- Safe default for a new project: alpaca-py.
Side by side
| Metric | alpaca-py | alpaca-trade-api | ib_async | ibapi |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 87 | Pythie’s Index: 5 | Pythie’s Index: 37 | Pythie’s Index: 19 |
| Verdict | Actively maintained | Archived | Low maintenance activity | Likely abandoned |
| Downloads / month | 1.4M | 83K | 745K | 101.9K |
| Downloads, month over month | +17% | -16% | -5% | -1% |
| GitHub stars | 1.6K | 1.9K | 1.8K | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 46 | 29 | 28 | 15 |
| Last release | Nov 5, 2026 | Jan 12, 2024 | Dec 8, 2025 | Dec 6, 2020 |
| Releases, 12 months | 5 | 0 | 1 | 0 |
| Weeks with commits | 21 / 26 | 0 / 26 | 0 / 26 | – |
| Recent contributors | 17 | 22 | 6 | – |
| First release | Apr 2022 | May 2018 | Mar 2024 | Dec 2020 |
| Python versions | 3.10 – 3.15 | – | 3.10 – 3.14 | 3.3 – 3.9 |
| License | Apache-2.0 | Apache-2.0 | non-standard | non-standard |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.