Adding current conditions to api calls