{"api":{"id":"api_edb1d59000d545023cb53ecd","slug":"us-petroleum-inventories","name":"US Weekly Petroleum Inventories API","description":"Rows from the US weekly petroleum report: crude, gasoline, distillate, jet fuel and total stocks, plus refinery, production and import tables, each with the week-ago and year-ago comparison.","kind":"ready_made","visibility":"public","domain":"ir.eia.gov","source_url":"https://ir.eia.gov/wpsr/table1.csv","category":"public_data","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":12,"created_at":"2026-12-06T03:57:27.725Z","updated_at":"2026-12-06T03:57:27.725Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"table","type":"integer","description":"Report table number the row comes from.","required":false,"coverage":1,"example":2},{"name":"group","type":"string","description":"Section heading of the row, when the table has one.","required":false,"coverage":1,"example":"Refiner Inputs and Utilization"},{"name":"series","type":"string","description":"Name of the product or measure.","required":false,"coverage":1,"example":"Crude Oil Inputs"},{"name":"current_week","type":"date","description":"Week ending day of the report.","required":false,"coverage":1,"example":"2026-11-27"},{"name":"value","type":"number","description":"Value for the current week.","required":false,"coverage":1,"example":17405},{"name":"week_ago_value","type":"number","description":"Value one week earlier.","required":false,"coverage":1,"example":17346},{"name":"change","type":"number","description":"Change from the week before.","required":false,"coverage":1,"example":59},{"name":"change_pct","type":"number","description":"Percent change from the week before.","required":false,"coverage":1,"example":0.3},{"name":"year_ago_value","type":"number","description":"Value in the same week a year earlier.","required":false,"coverage":1,"example":16876},{"name":"year_change","type":"number","description":"Change against a year ago.","required":false,"coverage":1,"example":529},{"name":"year_change_pct","type":"number","description":"Percent change against a year ago.","required":false,"coverage":1,"example":3.1},{"name":"unit","type":"string","description":"Unit of the values.","required":false,"coverage":1,"example":"thousand barrels per day"}],"inputs":[{"name":"tables","type":"array","description":"Report table numbers from 1 to 9 (1 overview, 4 stocks, 2 refinery inputs, 9 production). Default is table 1.","example":[1]},{"name":"series","type":"array","description":"Keep only rows whose name contains one of these words.","example":["Crude Oil","Total Motor Gasoline"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"change":{"description":"Change from the week before.","type":"number"},"change_pct":{"description":"Percent change from the week before.","type":"number"},"current_week":{"description":"Week ending day of the report.","format":"date","type":"string"},"group":{"description":"Section heading of the row, when the table has one.","type":"string"},"series":{"description":"Name of the product or measure.","type":"string"},"table":{"description":"Report table number the row comes from.","type":"integer"},"unit":{"description":"Unit of the values.","type":"string"},"value":{"description":"Value for the current week.","type":"number"},"week_ago_value":{"description":"Value one week earlier.","type":"number"},"year_ago_value":{"description":"Value in the same week a year earlier.","type":"number"},"year_change":{"description":"Change against a year ago.","type":"number"},"year_change_pct":{"description":"Percent change against a year ago.","type":"number"}},"required":[],"title":"US Weekly Petroleum Inventories API","type":"object"},"samples":[{"table":2,"group":"Refiner Inputs and Utilization","series":"Crude Oil Inputs","current_week":"2026-11-27","value":17405,"week_ago_value":17346,"change":59,"change_pct":0.3,"year_ago_value":16876,"year_change":529,"year_change_pct":3.1,"unit":"thousand barrels per day"},{"table":2,"group":"Refiner Inputs and Utilization","series":"East Coast (PADD 1)","current_week":"2026-11-27","value":836,"week_ago_value":815,"change":21,"change_pct":2.6,"year_ago_value":856,"year_change":-20,"year_change_pct":-2.3,"unit":"thousand barrels per day"},{"table":2,"group":"Refiner Inputs and Utilization","series":"Midwest (PADD 2)","current_week":"2026-11-27","value":4137,"week_ago_value":4162,"change":-25,"change_pct":-0.6,"year_ago_value":4016,"year_change":121,"year_change_pct":3,"unit":"thousand barrels per day"}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"change":1,"change_pct":1,"current_week":1,"group":1,"series":1,"table":1,"unit":1,"value":1,"week_ago_value":1,"year_ago_value":1,"year_change":1,"year_change_pct":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_edb1d59000d545023cb53ecd/run","openapi":"https://pullrow.dev/v1/apis/api_edb1d59000d545023cb53ecd/openapi.json","contract":"https://pullrow.dev/v1/apis/api_edb1d59000d545023cb53ecd/contract.json","page":"https://pullrow.dev/catalog/us-petroleum-inventories"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Only the latest weekly report is available: one record per table row for the newest week, not a history.","The US Energy Information Administration releases the report on Wednesdays (later after holidays); between releases nothing changes.","Stock tables (1, 4, 5, 6) are in million barrels; the other tables are in thousand barrels per day. Changes and percentages are calculated from the published values and rounded.","Rows in tables 2, 3 and 7 to 9 use a group label (for example Refiner Inputs and Utilization) in the group field; table 1 and 4 to 6 have no group.","US government data in the public domain; credit the US Energy Information Administration."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"table","label":"Table","description":"Report table number the row comes from.","group":"Basics","shown":true,"written":false},{"name":"group","label":"Group","description":"Section heading of the row, when the table has one.","group":"Basics","shown":true,"written":false},{"name":"series","label":"Series","description":"Name of the product or measure.","group":"Basics","shown":true,"written":false},{"name":"current_week","label":"Current week","description":"Week ending day of the report.","group":"Dates","shown":true,"written":false},{"name":"value","label":"Value","description":"Value for the current week.","group":"Basics","shown":true,"written":false},{"name":"week_ago_value","label":"Week ago value","description":"Value one week earlier.","group":"Dates","shown":true,"written":false},{"name":"change","label":"Change","description":"Change from the week before.","group":"Basics","shown":true,"written":false},{"name":"change_pct","label":"Change (%)","description":"Percent change from the week before.","group":"Basics","shown":true,"written":false},{"name":"year_ago_value","label":"Year ago value","description":"Value in the same week a year earlier.","group":"Dates","shown":true,"written":false},{"name":"year_change","label":"Year change","description":"Change against a year ago.","group":"Dates","shown":true,"written":false},{"name":"year_change_pct","label":"Year change (%)","description":"Percent change against a year ago.","group":"Dates","shown":true,"written":false},{"name":"unit","label":"Unit","description":"Unit of the values.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"tables","label":"Tables","help":"Report table numbers from 1 to 9 (1 overview, 4 stocks, 2 refinery inputs, 9 production). Default is table 1.","example":"1","written":false},{"name":"series","label":"Series","help":"Keep only rows whose name contains one of these words.","example":"Crude Oil, Total Motor Gasoline","written":false}]}},"incidents":[]}