OilPriceAPI Docs
Quick Start
API Reference
  • SDKs and languages
  • Tutorials
  • Articles
  • Documentation directory
  • Quick reference
  • API explorer
  • FAQ
  • Changelog
  • Status
  • Dashboard
GitHub
Quick Start
API Reference
  • SDKs and languages
  • Tutorials
  • Articles
  • Documentation directory
  • Quick reference
  • API explorer
  • FAQ
  • Changelog
  • Status
  • Dashboard
GitHub
  • Interactive Explorer

    • Interactive API Explorer
  • Price Data

    • API Reference
    • Get Latest Prices
    • Historical Prices
    • Batch Prices
    • Excel Latest Price Gateway
    • Price Widget Endpoints
    • Price Utility Endpoints
    • Demo API (No Authentication)
    • Natural Gas Intelligence
    • Natural gas hub price codes
    • Energy News Feed
  • Commodities

    • List Commodities
    • Get Commodity Details
    • Code Aliases
    • Denmark diesel list prices (OK Danmark)
    • Data Publication & Collection Schedules
  • AI Agents (MCP)

    • Get Market Brief
    • Subscriptions / Watches
    • Agent Subscriptions with MCP
  • Marine Fuels

    • Marine Fuel API
    • List Marine Fuel Ports
    • Get Port Details with Prices
    • Bunker Fuels
    • Maritime Fuels
  • Fuel Surcharges

    • Fuel Surcharge API
  • Premium Endpoints

    • All Prices API - One Call, All Commodities
    • Cushing Oil Storage Intelligence API
    • Drilling Intelligence API
    • Marine Fuels API
    • ICE Brent Futures API
    • Aviation Fuel Pilot
  • Spreads & Margins

    • Spreads & Margins
    • Crack Spreads
    • European Gasoil Crack
    • Basis Spreads
    • Refining Margins
    • Curve Structure
    • Physical Premiums
  • Market Indicators

    • Market Indicators
    • Fuel Switching
    • Price Context
    • Storage Analytics
    • CFTC Positioning
    • Market Annotations
  • Futures

    • Futures API
    • ICE Brent Futures
    • WTI Futures
    • Continuous Futures (Brent, WTI)
    • ICE Gas Oil Futures
    • NYMEX Natural Gas Futures
    • ICE EUA Carbon Futures
    • EU Carbon Futures
    • TTF Gas Futures
    • LNG JKM Futures
    • UK Carbon Futures
  • Dark Data (Premium)

    • Energy Intelligence API
    • Rig Counts
    • Well Permits
    • Well Production Beta
    • Drilling Intelligence (Public)
    • Oil Inventories
    • OPEC Production
    • Drilling Productivity
    • Forecasts (STEO)
  • Well Production (Beta)

    • Well Production Data
    • Well Production API Reference
  • Analytics

    • Analytics API
  • Webhooks API

    • Webhooks API Reference
    • Webhook Endpoint Reference
  • Alerts

    • Price Alerts API
  • Scheduled Deliveries

    • Scheduled Deliveries API
  • Account & Billing

    • Account API
    • API Keys
    • Subscriptions
    • Organizations

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:

ParameterTypeDescription
periodstring7d, 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 PointSourceUpdate Frequency
Cushing StorageEIAWeekly (Wednesday)
SPR LevelsEIA (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
Last Updated: 11/27/26, 6:48 PM