Station · macOS
BetaConnect Upstox
Create Upstox OAuth client credentials, register Station’s loopback redirect, paste as API Key and API Secret in Station, then authorize in the browser.
Last verified · Official docs: upstox.com
What you need
- Upstox trading account and Developer Console app
- OAuth client ID and client secret (Station labels them API Key and API Secret)
- Redirect URL from this guide registered in Upstox app
- Mac with TradeAutopsy Station
Station fields for this broker: API Key · API Secret.
Form labels say API Key/Secret; values are Upstox OAuth client ID and client secret. Register loopback redirect in Upstox developer app.
Redirect URL (register at broker)
Paste this exact URL in your broker developer app. Station listens on loopback port 9140 for the OAuth callback.
https://127.0.0.1:9140/api/daemon/broker/upstox/callbackPart 1: Get your keys from Upstox
1.Open upstox.com/developer/api-documentation/ and sign in to the Developer Console. - Screenshot coming soonUpstox OAuth client credentials
2.Create or open your app. Copy client ID and client secret. Register the loopback Redirect URL from this page.
Part 2: Paste them into Station
- Screenshot coming soonStation Upstox API Key and Secret
3.Station → Brokers → Upstox. Paste client ID into API Key and client secret into API Secret. - Screenshot coming soonUpstox OAuth browser flow
4.Connect opens Upstox login in the browser; agent completes callback at the registered redirect.
Troubleshooting
- Redirect URI mismatch
- Upstox must list https://127.0.0.1:9140/api/daemon/broker/upstox/callback exactly.
- Invalid client
- Regenerate client secret in Upstox console if copy/paste failed.
Security notes
- OAuth client secret stored in Keychain on your Mac.
- Request read-only scopes where Upstox allows.
- Hosted cloud does not receive client secret.