Can't get historical data, DH-905 error

dhan.intraday_minute_data(“1065”, “NSE_CURRENCY”, “FUTCUR”, “2026-02-16 09:00:00”, “2026-02-20 16:00:00”)
{‘status’: ‘failure’, ‘remarks’: {‘error_code’: ‘DH-905’, ‘error_type’: ‘Input_Exception’, ‘error_message’: ‘Missing required fields, bad values for parameters etc.’}, ‘data’: {‘errorType’: ‘Input_Exception’, ‘errorCode’: ‘DH-905’, ‘errorMessage’: ‘Missing required fields, bad values for parameters etc.’}}

Hi @tradernoob,

As a proactive measure, we discontinued fresh transactions in the Currency Segment for both BSE and NSE Exchanges, including Futures and Options, effective 2nd April 2024.

Accordingly, currency segment data is no longer available through our APIs.

For more details, you may refer to the following announcement: