Script for Audits stat by satellites

A post was split to a new topic: Instead of query the database directly is there a way to use the api to retrieve payout info?