AWS CLI v1 entered maintenance mode on August 5, 2026 and will reach end-of-support on July 15, 2027. During maintenance mode, releases are limited to critical bug fixes and security issues. AWS CLI v1 will not receive API updates for new or existing services, or be updated to support new regions. For more information, see the maintenance mode announcement.
We recommend that you migrate to AWS CLI version 2. See the installation instructions and migration guide.
[ aws ]
You can use the Cost Explorer API to programmatically query your cost and usage data. You can query for aggregated data such as total monthly costs or total daily usage. You can also query for granular data. This might include the number of daily write operations for Amazon DynamoDB database tables in your production environment.
Service Endpoint
The Cost Explorer API provides the following endpoint:
https://ce---us-east-1.amazonaws.com.rproxy.govskope.caFor information about the costs that are associated with the Cost Explorer API, see Amazon Web Services Cost Management Pricing .