Hi Ken,
Thank you for reaching out to us.
You may get the cost for each account via either the Google AdWords or Google Ads API. You may confirm which API you are using, then see below for the appropriate details:
Let me know if this works for you.
Regards,
Ziv Yves Sanchez
Google Ads API Team