Hi @Calvin Chu ,
As far as I know, there is no such API to get site usage report as you want in SharePoint. Download it through UI is your only option currently.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.