The difference between OAuth and Broker API is that OAuth allows you to expand your audience to users with Alpaca brokerage accounts.  On the other hand, Broker API allows you to build an application fully within your environment.  Users sign up for a brokerage account under your application.  If you want to create your own, automated investment app, or any app where you want to own your users, consider using Broker API.  If you want to build your trading service on Alpaca’s platform, consider using OAuth.


Please note that this content is for general informational purposes only. Alpaca Securities LLC does not recommend any specific investments or investment strategies. Alpaca Securities LLC does not provide investment, tax, or legal advice.

All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing.