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.

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

Token Limitations and Restrictions
  • The Analytics Token cannot be used for order placement or order modification.
  • 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.

Supported APIs

The Analytics Token grants read-only access to the following APIs:

APILink
Full market quotesQuotes
OHLC quotes V3OHLC
LTP quotes V3LTP
Historical candle data V3HistoricalCandle
Market Data Feed V3MarketDataFeed
Market Data Feed Authorize V3MarketDataFeedAuthorize
Brokerage DetailsBrokerage
Market Status - Exchange statusMarketStatus
Get Put/Call Option chainPutCallOptionChain
Get Option contractsOptionContracts
Margin DetailsCalculateMargin
Option GreeksOptionGreek
Instrument SearchSearchInstruments