I am facing issues while retrieving Nifty Futures market data using the Upstox API. Despite following the documentation and using the correct request format, I am consistently encountering errors.
Issue Details:
API Endpoint Used: /market-quote/quotes and /historical-candle
I am using following URL:
https://api.upstox.com/v2/market-quote/quotes?instrument_key=NSE_FO|NIFTY20250327
Instrument Key Used: NSE_FO|NIFTYFUT
Error Message Received:
{
“status”: “error”,
“errors”: [{
“errorCode”: “UDAPI100500”,
“message”: “Something went wrong… please contact us”,
“propertyPath”: null,
“invalidValue”: null,
“error_code”: “UDAPI100500”,
“property_path”: null,
“invalid_value”: null
}]
}
Possible Issue:
The error message suggests either an internal server issue or an invalid instrument key format. However, I have double-checked the instrument key format based on the Upstox documentation and the latest expiry dates.
Request for Assistance:
-
Verify the correct instrument key format for retrieving Nifty Futures data. Please provide the example URL for Nifty Index Future & Equity Future data
-
Provide guidance on resolving this issue so that I can successfully retrieve live and historical market data.