- Newest
- Most votes
- Most comments
Hello,
Per your last question, one of the APIs that was mentioned was the Cost Explorer API here: https://docs.aws.amazon.com/cost-management/latest/userguide/ce-api-best-practices.html
Here is a reference guide for the Cost Explorer API. With this API, you can return the results in JSON format. https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetCostAndUsage.html
Hi Chris,
Is it possible to give me an example because I don't know how to rebuild an API with the links you just gave me.
Thank you.
Hello, if you do not understand how to use the API, you may want to look at exporting the data to CSV in the Cost Explorer. See here: https://docs.aws.amazon.com/cost-management/latest/userguide/ce-download-csv.html
Hi there.
Not sure if the API is a requirement, but if not, you might want to check out the Cost and Usage reports in your Cost Explorer console. Once configured, the service will drop CSV (or Parquet) reports of all the costs incurred in your environment on a daily basis in S3, broken down to every line item from your AWS bill. From there you can access them via Athena, or download them to analyze in depth.
Hope this helps
Relevant content
- Accepted Answerasked 7 months ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
Hi Chris,
Is it possible to give me an example because I don't know how to rebuild an API with the links you just gave me.
Thank you.