Is there any API available for getting real-time database usage. We need to show usage and related info on our dashboard and my client don't want to visite firebase consol and option for the upgrade or downgrade plan programmatically
There is currently no API for this. You may file a feature request here.