If the API-response for both API calls is the same, using a dynamic URL might solve your issue. In the workflow you use to retrieve the data you will be able to set the URL and params for the call.