API Use pageUrl=@ instead of the full url

I’m using the matomo API to retrieve visits from my urls but I want to use a part of the url to retrieve the data and not the full url
Here is my current request
This is what I would like to be able to do

Indeed my posts have changed prefix in time and with Google analytics I was able to retrieve all the data thanks to the “contains” operator and not a strict “=”.

How to modify the solution in this sense?

Translated with www.DeepL.com/Translator (free version)


You can use the &segment= parameter to apply any segment to any Matomo API request:

So something like &segment=actionUrl=@the_string might be what you are looking for.