Data on petroleum production, imports, inputs, stocks, exports, and prices. Weekly, monthly, and annual data available. Users of the EIA API are required to obtain an API Key via this registration form: http://www.eia.gov/beta/api/register.cfm
Petroleum Data: Summary Application Programming Interface (API)