The Grav Pages as Data for Grav provides a very basic way for APIs to return data from grav as json xml or yml.
Download and unpack a zip (or clone this repository) into the user/plugins directory of your project
Try to load any page in Grav then add one of the following:
?return-as=json
?return-as=xml
?return-as=yml