Question - Api related of referral code

Is there any api to get the referral code of inviter?

Unfortunately there is no such endpoint.