Mendix has an extensive set of APIs. It seems like this one might help with the task you describe: https://docs.mendix.com/apidocs-mxsdk/apidocs/#3-app-repository-api
Hi Attila,
I suggest to check the Deploy API (https://docs.mendix.com/apidocs-mxsdk/apidocs/deploy-api/), especially the Retrieve Apps function.
Hope it helps,
Istvan