API PageTitles. I just want the label

Hi
I am running this API call
?module=API&method=Actions.getPageTitles&idSite=1&date=2021-06-25,2021-06-25&period=range&format=xml&token_auth=anonymous&filter_limit=-1

I am looking to get just the data inn the label tags

Hi Thor,

Your API call is done the right way.
You have to know that the Matomo API send you a bunch of data instead of specific values.

You just have to filter data in the response using XML key :wink:

Have a nice day
Ronan