Getting price list files manually - AWS Billing

Getting price list files manually

We recommend that you use the AWS Price List Bulk API to find and download price list files programmatically. For more information, see Step 1: Finding available AWS services.

If you don't want to use the AWS Price List Bulk API, you can download the price list files manually. You can skip to the relevant topics if you already have the information that you need.

Topics

    You can use the service index file to find available AWS services and Savings Plans that are provided by the AWS Price List Bulk API.

    To download the service index file, navigate to the following URL.

    In the service index file, you can search for the service to find its prices. To download the service-specific price list file, use either the offerCode or serviceCode.

    For more information, see the following topics:

    For an AWS service or Savings Plan that you retrieved in step 1, you can find all the historical versions of the price lists by using the service version index file.

    To download the service version index file for an AWS service, navigate to the following URL. Replace <serviceCode> with your own information.

    https:///offers/v1.0//<serviceCode>/index.json

    For example, Amazon Elastic Compute Cloud (Amazon EC2) appears in a URL like the following URL.

    Note

    In addition to the versions available in the service version index file, there is another version named current. The current version points to the latest version of the price list files for a specific AWS service.

    For more information, see Reading the service version index file.

    For a version of an AWS service or Savings Plan in the previous step, you can find all the AWS Regions and edge locations in which an AWS service provides products for purchase.

    To download the service Region index file for an AWS service, navigate to the following URL. Replace <serviceCode> and <version> with your own information.

    https:///offers/v1.0//<serviceCode>/<version>/region_index.json

    For example, the service code for AmazonRDS and its current version has the following URL.

    https:///offers/v1.0//AmazonRDS/current/region_index.json

    For more information, see Reading the service Region index file.

    In the previous steps, you retrieved the following information about an AWS service:

    • Service code

    • Savings Plan code

    • Version

    • AWS Regions

    Next, you can use this information to find the prices in the service price list files. These files are available in JSON and CSV formats.

    Finding service price list files

    The service price list file provides the service related details, such as the following:

    • The effective date of the prices in that file

    • The version of the service price list

    • The list of offered products and their details, along with prices in JSON and CSV formats

    In the following URLs, you can change the URL to specify the format that you want (JSON or CSV).

    To download the service price list file, navigate to the following URL. Replace each user input placeholder with your own information.

    https:///offers/v1.0//<serviceCode>/<version>/<regionCode>/index.<format>

    The following examples are for Amazon Relational Database Service (Amazon RDS). This service appears as AmazonRDS in the URL.

    Example: Current version of the price list file for Amazon RDS

    To get the current version of the price list file for Amazon RDS, use the following URL.

    CSV format

    https:///offers/v1.0//AmazonRDS/current//index.csv

    JSON format

    https:///offers/v1.0//AmazonRDS/current//index.json
    Example: Specific version of the price list file for Amazon RDS

    To get the specific version of the price list file for Amazon RDS, use the following URL.

    CSV format

    https:///offers/v1.0//AmazonRDS/20230328234721//index.csv

    JSON format

    https:///offers/v1.0//AmazonRDS/20230328234721//index.json