From my understanding you want the consumed data (the response of the RestAPI) to be shown on a page.
In this case you need to do the following
Just follow the instructions here:
Step1: Create a microflow and inside the microflow call the activity "Call REST"
Step2: Double click Call REST API activity, in the location load the URL, in the Respose tab map the import mapping
Step3: After import mapping we get the JSON to Mendix object/list and pass that object/list to the page
Note: To create import mapping
1.Right click the module and add a JSON structure of the API and click "format" it,
2.Right click the module and add a Import mapping in that click JSON and select JSON structure created previously
I have find this below example of wikipedia api, Its one of the best example to understand how we can fetch data through api.
hope this will help you.
Thanks & Regards