Storage & Inventory API
Overview
The Storage API provides access to crude oil inventory data including Cushing, Oklahoma storage levels and the Strategic Petroleum Reserve (SPR).
Endpoints
Get All Storage Data
GET /v1/storage
Returns current inventory levels across all tracked storage facilities.
Response (captured 2026-11-19; values are for the week ending 2026-11-13):
{
"status": "success",
"data": {
"storage": [
{
"code": "CUSHING_STORAGE",
"location": "Cushing, OK",
"value": 26.15,
"units": "million_barrels",
"capacity_utilization": "42.86",
"market_signal": "low",
"data_date": "2026-11-13T00:00:00.000Z",
"created_at": "2026-11-18T19:04:09.676Z"
},
{
"code": "US_SPR",
"location": "US Strategic Petroleum Reserve",
"value": 276.36,
"units": "million_barrels",
"capacity_utilization": "38.71",
"market_signal": null,
"data_date": "2026-11-13T00:00:00.000Z",
"created_at": "2026-11-18T19:06:53.161Z"
}
]
}
}
Cushing, Oklahoma Storage
Cushing is the delivery point for WTI crude oil futures and a critical indicator of US oil supply.
Get Current Cushing Levels
GET /v1/storage/cushing
Response:
{
"status": "success",
"data": {
"storage": {
"current": {
"value": 26.15,
"units": "million_barrels",
"capacity_utilization": "42.86",
"week_over_week_change": "-1.21",
"data_date": "2026-11-13T00:00:00.000Z",
"created_at": "2026-11-18T19:04:09.676Z",
"updated_at": "2026-11-18T19:04:09.676Z"
},
"analytics": {
"market_signal": "low",
"trading_implication": "Contango market - consider storage plays",
"historical_average": 24.3,
"week_52_high": 31.489,
"week_52_low": 18.599,
"trend": "stable"
},
"metadata": {
"source": "EIA",
"update_frequency": "Weekly (Wednesdays 10:30 AM ET)",
"operational_capacity": 61,
"total_capacity": 76
}
}
}
}
Get Cushing Historical Data
GET /v1/storage/history/CUSHING_STORAGE
Path code: CUSHING_STORAGE or US_SPR for US crude inventory history. The route also accepts SINGAPORE_STORAGE_TOTAL and ARA_STORAGE_TOTAL where those series are available.
Query parameters:
| Parameter | Type | Description |
|---|---|---|
period | string | 7d, 30d, 90d (default), 1y, or all (up to 10 years) |
start_date, end_date, and interval are not supported on this route. An empty history array means no records were returned for that code and period; it does not mean zero barrels. Each record includes its own data_date and a value in million barrels.
Example:
curl "https://api.oilpriceapi.com/v1/storage/history/CUSHING_STORAGE?period=90d" \
-H "Authorization: Token YOUR_API_KEY"
Strategic Petroleum Reserve (SPR)
The US Strategic Petroleum Reserve is the world's largest supply of emergency crude oil.
Get Current SPR Levels
GET /v1/storage/spr
Response:
{
"status": "success",
"data": {
"storage": {
"current": {
"value": 276.36,
"units": "million_barrels",
"capacity_utilization": "38.71",
"week_over_week_change": "-3.17",
"data_date": "2026-11-13T00:00:00.000Z",
"created_at": "2026-11-18T19:06:53.161Z",
"updated_at": "2026-11-18T19:06:53.161Z"
},
"analytics": {
"market_signal": null,
"trading_implication": null,
"historical_average": 356.7,
"week_52_high": 415.442,
"week_52_low": 276.361,
"trend": "drawing"
},
"metadata": {
"source": "EIA",
"location": "US Strategic Petroleum Reserve"
}
}
}
}
Regional Storage
Get Regional Storage Data
GET /v1/storage/regional
Intended for the international storage hubs (Singapore and ARA). No regional data is collected yet, so this endpoint currently returns 404 NOT_FOUND with the message Regional storage data not available. US PADD-level storage is not available in the API yet either.
Data Sources & Updates
| Data Point | Source | Update Frequency |
|---|---|---|
| Cushing Storage | EIA | Weekly (Wednesday) |
| SPR Levels | EIA (Weekly Petroleum Status Report) | Weekly (Wednesday) |
Use Cases
Monitor WTI Basis
Cushing storage levels directly impact WTI futures pricing. Low inventory = higher prices.
# Python example
import requests
response = requests.get(
"https://api.oilpriceapi.com/v1/storage/cushing",
headers={"Authorization": "Token YOUR_API_KEY"},
timeout=10,
)
current = response.json()["data"]["storage"]["current"]
# capacity_utilization is a string percentage of total capacity
if float(current["capacity_utilization"]) < 30:
print(f"Cushing at {current['value']} million barrels, below 30% of capacity")
Track SPR Policy
Monitor government crude oil releases and purchases.
Related Endpoints
- Latest Prices - Get current WTI price
- Historical Data - Price history
- Drilling Intelligence - Production data