The U.S. Department of Energy, through the Lawrence Berkeley National Laboratory, operates the Tariff Analysis Project (TAP) - a comprehensive data warehouse of utility tariffs and query tools designed to accurately calculate utility bills. TAP consists of a library of tariffs that, in conjunction with their SOAP API, allows users to calculate their actual energy costs and saving based on actual tariffs, rather than estimates.
There are several search/data retrieval methods in the TAP API that allow users to get utility data (by ZIP code or state), tariff listings, and tariff descriptions. This data can be used in conjunction with the bill calculation method to calculate a detailed projection of monthly utility costs.
This free API is provided over SOAP, and requires users to register their I.P. through the provider's site to gain access to the service.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.