Choose Your Integration
Building for Users
Both Commercial API Key and OAuth support third-party commercial apps. Choose based on the user journey and the integration responsibilities your app needs to own.
OAuth
Use OAuth when users will authorize access to brokerage accounts they manage in SnapTrade Personal. The user signs in to SnapTrade, reviews your app’s requested permissions, and approves or denies access. Your app receives tokens for that authorization.
Users manage their connections in the SnapTrade Dashboard. This typically requires less custom integration work: your app handles authorization, token storage, and refresh rather than registering SnapTrade users and building a connection flow.
Users can reuse their connections across apps and revoke an app’s access from the Dashboard without deleting those connections. OAuth apps do not need separate broker approvals.
Commercial API Key
Use a Commercial API key when your app needs to control the SnapTrade user lifecycle and its own connection experience. Your backend registers a SnapTrade user for each end user, stores their credentials, and opens or embeds the Connection Portal for them.
This gives your app more control over onboarding and the connection experience, with more integration responsibility.
Some brokers require separate approval or your own broker API credentials. See the Broker Access Guide.
Build With a Commercial API Key
Building for Yourself
Use a Personal API Key for scripts and tools that access your own brokerage accounts. Your key identifies your SnapTrade account; you do not register separate end users. Connect your brokerage in the Dashboard or through the Connection Portal, then call the API with your key.
Compare Responsibilities
| Integration | User journey | Your app owns |
|---|---|---|
| OAuth | User signs in to SnapTrade and grants access to their Personal connections | App registration, callback validation, token storage and refresh |
| Commercial API Key | User connects a brokerage through your app’s Connection Portal flow | SnapTrade user lifecycle, per-user credentials, and connection experience |
| Personal API Key | You connect and access your own brokerage accounts | Your own key and tools |
For customer accounts and billing context, see SnapTrade Personal vs Commercial. Scope, brokerage capability, and production requirements are covered in each implementation guide.
For credential rules, use the implementation guides above. Direct HTTP API-key calls are covered in Request Signatures; request failures are covered in General Errors.