No idea on iOS, specifically left the OS due to its lack of interoperability.
On Android I did test but https://f-droid.org/en/packages/com.atharok.screentime/ or https://f-droid.org/en/packages/godau.fynn.usagedirect/ looks like good candidate. I’m not sure if they have export or publish to API functions but I image at this point would be relatively easy to add.




Tried the demo a little while ago, ready to use whenever it’s being actually usable.