OilPriceAPI Docs
GitHub
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
    • Natural Gas Intelligence
  • Commodities

    • List Commodities
    • Get Commodity Details
  • 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
  • Premium Endpoints

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

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

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

    • Futures API
    • ICE Brent Futures
    • ICE WTI Futures
    • 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
    • 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
  • Account & Billing

    • Account API
    • API Keys
    • Subscriptions
    • Organizations

Market Indicators

Premium market indicator endpoints for fuel-switching economics, price context, storage analytics, CFTC positioning, congressional trades, and event annotations.

Entitlement Caveat

The live issue list records the same backend entitlement bug as /v1/spreads/*. Verify your production key before launch.

Endpoints

FamilyEndpoints
Fuel switching/v1/indicators/fuel-switching, /historical
Price context/v1/indicators/price-context
Storage analytics/v1/indicators/storage-analytics, /all
CFTC positioning/v1/indicators/cftc-positioning, /historical, /all
Congressional trades/v1/indicators/congressional-trades
Annotations/v1/indicators/annotations, /batch

Common Parameters

ParameterTypeDescription
codestringCommodity, market, or indicator code
from, todateHistorical range
limitintegerMaximum records

Error Cases

StatusWhen
400Missing or invalid query parameter
401Missing or invalid API key
403Premium indicator entitlement missing
402Plan/quota issue

Response Shape

{
  "status": "success",
  "data": [
    {
      "code": "WTI_PRICE_CONTEXT",
      "value": 0.72,
      "unit": "percentile",
      "period": "2026-07-15",
      "updated_at": "2026-07-15T14:30:00.000Z"
    }
  ]
}
Last Updated: 7/16/26, 1:53 PM
Next
Fuel Switching