Hi, I'm Elise, a fellow user like yourself and I'd be happy to help with your issue.
Unfortunately there is no such API available for family safety.
The only further suggestion I can give is to submit feedback on the issue using the feedback hub app, you can find this in the start menu.
Please let me know if you need any further assistance.
Kind Regards,
Elise