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
Visit the Developer Apps page — Go to the Upstox Developer Apps page and navigate to the Analytics tab.

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

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.

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

- 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:
| API | Link |
|---|---|
| Full market quotes | Quotes |
| OHLC quotes V3 | OHLC |
| LTP quotes V3 | LTP |
| Historical candle data V3 | HistoricalCandle |
| Market Data Feed V3 | MarketDataFeed |
| Market Data Feed Authorize V3 | MarketDataFeedAuthorize |
| Brokerage Details | Brokerage |
| Market Status - Exchange status | MarketStatus |
| Get Put/Call Option chain | PutCallOptionChain |
| Get Option contracts | OptionContracts |
| Margin Details | CalculateMargin |
| Option Greeks | OptionGreek |
| Instrument Search | SearchInstruments |