SDKs and Tools

Official Client SDKs

Alpaca provides and supports the following open-source SDKs in a number of languages. You can leverage these libraries to easily access our API in your own application code or your trading scripts.

Alpaca-py (Python SDK)

Alpaca-py provides an interface for interacting with the API products Alpaca offers. These API products are provided as various REST, WebSocket and SSE endpoints that allow you to do everything from streaming market data to creating your own trading apps. Here are some things you can do with Alpaca-py:

  • Market Data API: Access live and historical market data for 5000+ stocks and 20+ crypto.
  • Trading API: Trade stock and crypto with lightning fast execution speeds.
  • Broker API & Connect: Build investment apps - from robo-advisors to brokerages.

Community-Made SDKs

In addition to the SDKs directly supported by Alpaca, individual members of our community have created and contributed their own wrappers for these other languages. We are providing these links as a courtesy to the community and to our users who are looking for the API wrapper in other languages or variants. Please be sure to carefully review any code you use to access our financial trading API and/or trust your account credentials to.

Made your own wrapper for a language not listed? Join our community Slack and let us know about it!