Error : Account is not authorized to use this API

I am trying to fetch historical data and getting Account is not authorized to use this API error please help what needs to do?

Hello @Uddhav23

You need to subscribe to Data APIs from web.dhan.co > DhanHQ Trading APIs page. Note that Live Market Feed and Historical Data are part of DhanHQ Data API which requires subscription fees of ₹499 + taxes.

Thanks Hardik for the update

1 Like