Skip to main content

New Market Information APIs Launch

Effective 11 May 2026

We are pleased to announce the launch of six new Market Information APIs under the /v2/market path. These APIs provide institutional-grade market data — FII/DII activity, open interest, max pain, and put-call ratio — enabling developers to build more informed trading tools and dashboards on the Upstox platform.

What's New​

The following endpoints are now available:

  • Get FII Data — Retrieve Foreign Institutional Investor activity data across index futures, stock futures, index options, stock options, and NSE Cash segments with daily or monthly granularity.

  • Get DII Data — Retrieve Domestic Institutional Investor activity data for the NSE Cash segment with daily or monthly granularity.

  • Get OI — Fetch Open Interest data across all strike prices for an underlying asset, including aggregate call and put OI totals and a per-strike breakdown.

  • Get Change in OI — Retrieve the change in Open Interest per strike price over a specified number of days, helping identify where positions are being built or unwound.

  • Get Max Pain — Retrieve the Max Pain strike price for an underlying asset on a given expiry and date, along with intraday max pain insights at a configurable bucket interval.

  • Get PCR — Retrieve the Put-Call Ratio for an underlying asset on a given expiry and date, along with intraday PCR insights at a configurable bucket interval.

How to Get Started​

  1. Obtain an access token via the standard OAuth flow or generate a long-lived Analytics Token from your Developer Apps page.
  2. Choose the endpoint that matches your use case from the list above.
  3. Pass the required query parameters — instrument_key, expiry, date, or data_type depending on the endpoint.
  4. Parse the JSON response to power your analytics dashboard or trading tool.

Engage with Us​

We welcome your feedback and questions. Join the discussion on our Developer Community to share suggestions, report issues, or explore how other developers are using these new Market Information APIs.