Query ports & services?

Hi,

I am using an opensource library to query the openvas management plane over OMP.
Is there a way to query for ports & their services in a structured way?
At the moment I only have the finding description listing CPEs, which is wildly unstructured.

Ideally I would want to know what CPE is running on what port in a structured format.

Thank you!

Regards

bumping this topic.