How to get recently viewed pages in motomo

Hi all i am very new to motomo,i want to display recently viewed pages in website,please any one can provide query.

below each report you have the possibility to export the data of a reports via an API.
Just scroll down a report and hover on the left side and a couple of symbols will show up.

A different option is to embed a report into a website. On Embedding Matomo Reports in Other Websites or Apps User Guide - Analytics Platform - Matomo you will find more information about this option.