GET https://api.upstox.com/v2/option/contract?instrument_key=NSE_EQ|INE00R701025
Authorization: Bearer <your access token>
x-api-key: 06e3cdeb-1218-4cee-9c70-9036c076702
why a dashboard-generated access token for this regular app returns UDAPI100050 on this endpoint. Once they fix/clarify that, your scanner will start receiving option contracts without any further Python changes