I need total oi and change in oi of a specific date

Iam developing a project using nodejs express. Building a website like https://tradingtick.com/options/callvsput

Not this all website, only this page function. For this i need oi data as 1min/3min/5min intervel of a soecific date or live.

How can i fetch this data using upstox api.

You can access current Open Interest (OI) data using this API documentation. However, historical changes in OI are not available through the API.

For historical 1-minute candle data, please refer to this page.