The API provided by the stats page is a REST API with multiple endpoints and is totally free of use. There's no limits to how much the API can be used, but that might be introduced in the future if it's abused.
All responses from the API comes back in a JSON format.
Happy usage! :-)
Any questions or issues can be asked/raised in the official Golem Discord to Phillip#9780