Hi Antonio, did you have a look at the metrics API? I think this should be possible with the merge transformation. See https://www.dynatrace.com/support/help/shortlink/api-metrics-v2-selector#merge-transformation for details.
Kind regards, Philipp
I mainly use v2 of the API:
One example would be like the following, which is for yesterday's values (mind you have to put your environment as yyyyyy and your API as zzzzzzzzzzzzzzzzzzzzzzzzz):
curl -X GET "https://yyyyyy.live.dynatrace.com/api/v2/metrics/query?metricSelector=builtin%3Asynthetic.browser.availability.location.total&resolution=Inf&from=1589760000000&to=1589846400000" -H "accept: application/json; charset=utf-8" -H "Authorization: Api-Token zzzzzzzzzzzzzzzzzzzzzzzzz"