Fixed API URL - Needs to be reset in each loop