Skip to main content
GET
/
api
/
economic
/
v1
/
get-crude-inventories
GetCrudeInventories
curl --request GET \
  --url https://api.example.com/api/economic/v1/get-crude-inventories
{
  "weeks": [
    {
      "period": "<string>",
      "stocksMb": 123,
      "weeklyChangeMb": 123
    }
  ],
  "latestPeriod": "<string>"
}

Response

Successful response

GetCrudeInventoriesResponse contains the 8 most recent weeks of US crude oil inventory data.

weeks
object[]
latestPeriod
string

Timestamp of the most recent EIA data point (ISO 8601).