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
  • Commodities

    • List Commodities
    • Get Commodity Details
    • 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
    • Benchmark Close
    • 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
    • Congressional Trades
    • Market Annotations
  • Futures

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

    • Account API
    • API Keys
    • Subscriptions
    • Organizations

Curve Structure

Curve structure endpoints summarize contango/backwardation and prompt-spread behavior.

Endpoints

MethodEndpointDescription
GET/v1/spreads/curve-structureCurrent curve structure snapshot
GET/v1/spreads/curve-structure/allAll available curve structure series

No Historical Path

There is no /v1/spreads/curve-structure/historical endpoint in the current live surface.

Example

The selector is commodity, not code. Valid values: ICE_BRENT, ICE_WTI, ICE_GASOIL, NYMEX_NG, ICE_TTF. Omitting it returns 400 MISSING_PARAMETER.

curl "https://api.oilpriceapi.com/v1/spreads/curve-structure?commodity=ICE_BRENT" \
  -H "Authorization: Token YOUR_API_KEY"
{
  "status": "success",
  "data": {
    "commodity": "ICE_BRENT",
    "display_name": "ICE Brent Crude",
    "structure": "backwardation",
    "severity": "extreme",
    "term_slope_pct": -38.7,
    "spreads": { "m1_m3": 9.09, "m1_m6": 16.82, "m1_m12": 25.26 },
    "front_month": { "price": 104.32, "contract": "Nov 2026" },
    "back_month_6": { "price": 87.5, "contract": "Apr 2027" },
    "curve_points": 16,
    "timestamp": "2026-09-13T15:11:37Z"
  }
}

See Spreads & Margins for common parameters, response shape, and error handling.

Last Updated: 9/13/26, 3:48 PM
Prev
Refining Margins
Next
Physical Premiums