In December 2015, Amazon Web Services (AWS) released an AWS Price List API that provides programmatic access to pricing for thirteen AWS services. AWS has announced that the AWS Price List API now provides access to pricing information for all available AWS services. The API returns pricing information in JSON and CSV format for download.
AWS customers can use the AWS Price List API for cost analysis of building applications using AWS Cloud Services. In addition to the expanded pricing information, AWS announced that customers can sign up to receive API notifications for AWS services information such as price cuts, new services, and instance types.
To access pricing information using the AWS Price List API, developers must download two files; an Offer index file and an Offer file. The Offer file provides a list of the products and prices available for a single AWS service. An Offer File can be returned by the AWS Price List API as either JSON or CSV format. An Offer Index file includes metadata about the offer index file itself and a list of all the available AWS services. An Offer Index file also includes a URL for each offer file that can be used to retrieve the prices.
It should be noted that some AWS services do not have Offer files and Offer files do not provide information about expiring free tier offers or Amazon EC2 Spot Instances.
For more information about the AWS Price List API, visit the official AWS website.