How to check referral status via API?

I made bot for my referrals, and want to know given API keys belong my referral or not.

please todo: check_referral_status(referral_api_key, my_user_id) → bool

Unfortunately there is no way to verify any info about api key.