Get value from Stat by Rest API, eg. last measuring value of air pressure?

I have a dashboard with time series of climate data, eg. air pressure. (red from a MariaDB)
The last value is shown in a Stat. Now I would get this value for a calculation in another application. How could i use an http request of the api, if it is possible?

Welcome @maasstorsten

Unusual use case. Cant your second application not access the mariadb and query it there?

Of course, but access to grafana is established.
So i could encapsulate the Database-Access.