AWS Free Tier usage is now available through the GetFreeTierUsage API

Starting today, customers can now access their AWS Free Tier usage through the AWS SDK, command line, and 3rd party tools at no cost. Using this API, customers can programmatically track free tier usage against monthly usage limits, which allows customers to understand when their free usage will transition to pay-as-you-go pricing each month. This helps avoid unintended charges by comparing forecasted usage to the free tier limit for each service throughout the month. The AWS Free Tier allows customers to explore more than 100 AWS products by offering free usage each month.

Source:: Amazon AWS