It depends on the type of API you are using and the parameters they are accepting to give you the response… but most of the time it is in format of &tag=value.
Also can you tell us more about the APIs you are willing to call and what you have tried yet! Also if possible then upload the screenshot of your blocks so it’ll help others to understand your query and provide you the best solution.
it looks like you get a reasonable resonse from the server now?
what about displaying the result in a label as test to check before continuing with further processing?