cURL
curl --request GET \ --url https://api.example.com/api/economic/v1/get-crude-inventories
{ "weeks": [ { "period": "<string>", "stocksMb": 123, "weeklyChangeMb": 123 } ], "latestPeriod": "<string>" }
GetCrudeInventories retrieves the 8 most recent weeks of US crude oil stockpile data from EIA (WCRSTUS1).
Successful response
GetCrudeInventoriesResponse contains the 8 most recent weeks of US crude oil inventory data.
Show child attributes
Timestamp of the most recent EIA data point (ISO 8601).
Was this page helpful?