Is it free to use the AWS Query API to get the prices of a service programmtically?

Viewed 189

I am using the AWS Price List Query API to get only pricing for EC2 and EBS services.

Is it free to use the AWS Price List API?

Do I also need to create a new client for every pricing call?

Below is the code that I use:

AWSPricing pricing_client = AWSPricingClientBuilder.standard()
.withCredentials(new AWSStaticCredentialsProvider(new BasicAWSCredentials("mycredentials")))
.withRegion(Regions.US_EAST_1)
.build();
1 Answers

Is it free to use the AWS Price List API?

Yes, using the AWS Price List API is free of charge.

Other paid APIs like the AWS Cost Explorer API mention pricing & have been listed on AWS Cost Management Pricing as having a cost associated with them.

The Price List API is not on the pricing page, nor has a cost mentioned anywhere in the documentation so it is safe to assume that it is free (after all, you're just getting AWS's pricing data).

Do I also need to create a new client for every pricing call?

No, it isn't needed nor recommended.

Use the same pricing client for as many calls as needed.

Related