How to use Upstox API?

Upstox Account Opening

FREE Account Opening + Rs 1000 brokerage credit + Rs 0 Demat AMC + Pay flat Rs 20 per trade for delivery, Intra-day and F&O. Open Instant Account and start trading today.

You need to generate API key, secret key, and access token to use Upstox API. Once the app gets created and API key and secret key is available, follow the below steps to use Upstox API,

  • Login to Upstox API by opening the web browser.
  • Authenticate yourself by entering your UCC, password, and date of birth.
  • Allow the app to access your credentials.
  • Upstox redirects you to the Redirect URL provided during app creation with a parameter called code.
  • Generate an access token with the help of the code.
  • Use the access Token as your authorization bearer token to start using Upstox API.

Note: The Access token is valid until the next trading day.


Open Instant Account in 15 Minutes Open Instant Account - Start Trading Today



Add a public comment...