get https://api.solana.fm/v0/accounts//fees
This endpoint is still in beta. Querying speed would be faster for timestamp range more than 2 weeks ago.
This endpoint only returns you data from the previous day if you leave the timestamp range parameters empty. Maximum range is limited to 3 months.