Get EIA Oil Inventories
opa_get_oil_inventoriesGet EIA weekly petroleum inventory figures for crude and refined products. Choose a summary for week-over-week changes or a product-level breakdown to assess inventory builds and draws.
Instructions
Get the latest EIA weekly petroleum inventory (stocks) data. Use when the user asks about oil inventories, crude stocks, weekly EIA stocks, inventory builds/draws, or product-level inventory levels. Returns the latest weekly figures available to the account; optionally a summary view or a breakdown by petroleum product. Requires an eligible account entitlement. Use opa_get_plans for current access and pricing; the API response is authoritative.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Which view to return: latest (most recent weekly snapshot), summary (headline totals + week-over-week change), or by_product (breakdown per petroleum product). Default: latest. | latest |