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.
To access Account, Funds and Portfolio specific APIs — such as profile, funds, orders, positions, and holdings etc. — Static IP should be enabled, and the API request must originate from the configured static IP address. Market data and other non-account APIs are accessible without it.
Supported APIs
| Categories | Static IP Required |
|---|---|
| • User • Payments • Orders • GTT Orders • Portfolio • Mutual Fund • Trade Profit And Loss | ✅ |
| • Charges • Margins • Market Quote • Historical Data • Option Chain • Market Information • Fundamentals • News • IPO • Websocket | ❌ |
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
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.
