How to run an additional API call for each response of an original call?