To fix this, delete your current instance, create a new one to get a new IP, and fetch the API on random intervals of time instead of fixed ones. If you're getting a 403 even after adding a User-Agent on AWS's Indian servers, you've probably been blacklisted by their bot-detection algorithm.If you're getting a 403, have you added your User-Agent?.No server outside the Indian region would work because of geo-fencing.As far as I have tested, no other servers other than AWS is currently working.Set up an Ubuntu droplet and configured cron. How can I do that after hosting it as a web app? I want to schedule my script to run every minute. Can you clarify what did you mean by schedule ? Did you host it as a web service? Also, how did you schedule it to run after the specified interval?
UPDATE : works on digital ocean (Bangalore). I think heroku doesn't work becaause of geofencing Yes, we cannot use it from non-indian servers (confirmed on herouku servers) by local you mean via browser or REST API? means local development server.