Fetch custom data from API

Hello,

I began to use the Piwik API and wondered if it is possible to retrieve the data set with setCustomData?
Or do I need to write a plugin to fetch this data?

Thanks in advance,
Marcus