Tried my best for to get GOLD future historical data. For example I want to get GOLDM future data for expired contracts. Can someone suggest what to pass in this api : curl --location ‘https://api.upstox.com/v2/expired-instruments/future/contract?instrument_key=NSE_INDEX|Nifty%2050&expiry_date=2025-12-30’ --header ‘Content-Type: application/json’ --header ‘Accept: application/json’ --header ‘Authorization: Bearer XYZ’ while for live contracts it works fine as : curl --location ‘https://api.upstox.com/v3/historical-candle/MCX_FO|472780/minutes/1/2026-01-23/2026-01-23’ --header ‘Content-Type: application/json’ --header ‘Accept: application/json’ --header ‘Authorization: Bearer XYZ’
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Fetching data for expired futures contracts | 1 | 192 | March 3, 2025 | |
| Get all instruments list and Historical Data of FnO of last 10-15 years | 0 | 71 | September 24, 2025 | |
| Expired F&O data for MCX | 1 | 9 | February 9, 2026 | |
| NIFTY CONTINOUS FUTURES on API | 2 | 105 | October 2, 2025 | |
| Possible historical / expired futures instrument candle data mismatch | 1 | 63 | September 10, 2025 |