~~It seems that there is no way to retrieve portfolio commission.
The official api does have the endpoint, however, I was not able to find any references in the source, unless I'm missing something here.~~
Found it in FeeAPI.ts. Sorry for raising this 🤦