Skip to main content

Analytics Token

The Analytics Token is a long-lived access token (1-year validity) that provides read-only access to a defined set of Upstox APIs. Unlike the standard OAuth token flow, no authorization redirect is required — you generate it directly from the Developer Apps page. Because it is strictly read-only, the Analytics Token cannot be used for order placement, order modification, or any other trading operations.

The Analytics Token is free to use and does not carry any cost.

Supported APIs

All categories below work with the Analytics Token. The only difference is whether the calling server needs a whitelisted static IP.

No static IP needed

Call from any server, laptop or serverless function.

Static IP required

Whitelist your server static IP in the Developer Apps console first.

Token Limitations and Restrictions

  • The Analytics Token does not support trading operations. Actions such as placing or modifying orders are not permitted with this token.
  • Each token has an expiry period of 1 year from the date of generation.
  • Only one Analytics Token is permitted per account at a time.
  • Do not share this token with anyone. Treat it as a sensitive credential and store it in a secure location.
  • As the token is strictly read-only, only GET APIs are supported within these categories.

Generate an Analytics Token

  1. Visit the Developer Apps page — Go to the Upstox Developer Apps page and navigate to the Analytics tab.

    Analytics tab on the Upstox Developer Apps page

  2. Click Generate Token — Click the Generate Token button. A confirmation dialog will appear asking you to verify the action.

    Token generation confirmation dialog

  3. Confirm the generation — Click Confirm. The token is generated and displayed along with its Name, Token (truncated), Date Created, Expiry Date, and a Revoke button.

    Generated token details including name, truncated token, dates, and revoke option

  4. Copy the full token — Click the copy icon next to the truncated token to copy the full token value to your clipboard.

    Copy icon next to the truncated token for copying to clipboard