Working with OAuth
OAuth allows you to request market data and manage portfolios on behalf of your end-users. For further details on the OAuth functionality, please see the OAuth documentation.
Each endpoint may have different base URLs.
Redirect User for Authorization
Redirect your user from your application to this endpoint with the following query parameters.
Use the following base URL
Example Request URL:
|string||Required||Must be |
|string||Required||The URL where the user will be sent after authorization. It must match one of the whitelisted redirect URIs for your application.|
|string||Optional||An unguessable random string, used to protect against request forgery attacks.|
|string||Optional||A space-delimited list of scopes your application requests access to. Read-only endpoint access is assumed by default.|
Redirect to Alpaca authorization page.
Updated 24 days ago