How many API call i can fetch in one day? 'error_code': 'DH-904', 'error_type': 'Rate_Limit',

WARNING - API response was unsuccessful for 2320. Remarks: {‘error_code’: ‘DH-904’, ‘error_type’: ‘Rate_Limit’, ‘error_message’: ‘Too many requests on server from single user breaching rate limits. Try throttling API calls.’}
as i am using dhan.intraday_minute_data(security_id,exchange_segment,instrument_type) for my instrument list one by one. using time sleep for 0.1
for fetching todays data for my instrument list.

explain below image applicable in v2?

Helllo @shetadarshan

Intraday Minute Data is part of Data APIs, where rate limits are there for hour as well as day. This can be the one which is hitting rate limits, given your speed of polling.

1 Like

if this error is persisting, then how can i resolve it? given i have changed my code. does it have a freeze time?

Hello @sethg

Good to see you active here after a while. Yes, if hourly rate limit is reached, then it will be reset only at the next hour.

1 Like