API to get main account address from remote account address

Hi,

Is there any API available to find the main account address from the remote account address? If not then any workaround?
Or to fetch importance type of transaction for the address?

You need public key of remote account:

http://hugealice3.nem.ninja:7890/account/get?address=NBMEOTKPR7ZP36J5MU4TKTTLXREWZLCAGEUZTYM6

Next get account by linked account:

http://hugealice2.nem.ninja:7890/account/get/forwarded/from-public-key?publicKey=1ce7234d8ce043d10da9fa4a7823aff0c6303d8e1f247c41944fe6d9dd13c6d1

Thank you so much for this!