Fetching data from NSE site and NSEPY

I use NSE site and NSEPY to fetch data, But it seems NSE is banning IP which are scrapping data from their site.



Has anyone faced such problem and how to overcome this issue…                    

Thanks for your query. I would recommend that instead of multiple smaller requests you get more data in fewer requests. Do comment on this answer if this doesn't help. 

You can look at the terms of the NSE website and data.



NSE Website

Thanks for the input.



I am scraping data from NSEPY, is it illegal ?



Also also code to put in a loop for putting in a time lag in fetching data…



Thanks in Advance

Hi Jigam



How are you doing?



Generally, the website doesn't allow for scraping. For NSE, you can check their terms of use here. In case of further clarifications, it is best to reach out to NSE.



Thanks

Thanks for the reply. I don't think adding marginal time lags will help. It's much better to get data of multiple years in one request for an instrument than in multiple requests for multiple years.