Short-Term Energy Outlook: U.S. Weather Application Programming Interface (API)
This API provides data back to 1990 and projections annually, monthly, and quarterly for 18 months. It provides data on U.S. heating degree days and cooling degree days.  Users of the EIA API are required to obtain an API Key via this registration form: http://www.eia.gov/beta/api/register.cfm