Well, what you actually need besides that API call is a databases that tells you what is a private aircraft. We maintain one (
opensky-network.org/aircraft-database, also for download), but there is no call (API or otherwise) that just says "this is a private aircraft". You will need to put in some manual work.