API to scrape billing information

Hi

Are there any APIs or programmatic methods to scrape details on my personal or organisational’s inference endpoints billing information into a csv or similar formats?

Thank you