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

Continuous Futures (Brent, WTI)

Auto-rolled, Bloomberg-style continuous front-month series for Brent and WTI. Unlike the per-contract endpoints (/v1/futures/ice-brent, /v1/futures/ice-wti), which return individual contract months, the continuous series pre-rolls to the front month so you get one unbroken time series. The two answer different questions; one is not a substitute for the other.

Endpoints

MethodEndpointDescription
GET/v1/futures/continuous/brentLatest continuous Brent price
GET/v1/futures/continuous/brent/historicalContinuous Brent history
GET/v1/futures/continuous/wtiLatest continuous WTI price
GET/v1/futures/continuous/wti/historicalContinuous WTI history

Access

Requires Futures Data (included in Professional and above; other paid plans can add it for $39/month from Dashboard → Billing). A key without it receives 403 from the same feature gate as every other futures endpoint — a flat body with error: "Feature access required", required_feature: "futures_data", message, current_plan and upgrade_url, and no code field; branch on the status and required_feature, not on an error code. See Access and limits.

Historical depth is tiered on top of that:

EntitlementContinuous history window
Professional (incl. trial), Scale, Enterprise, Reservoir, adminUnlimited (all available history)
Futures add-on ($39/month), Production BoostLast 365 days
Free / Developer / Starter / Exploration (no futures access)403 from the feature gate (see above)

A start date earlier than your window is not an error: the range is clamped and the response says so in metadata.history_window (below).

Latest Price

curl "https://api.oilpriceapi.com/v1/futures/continuous/brent" \
  -H "Authorization: Token YOUR_API_KEY"

Returns commodity (BRENT_FUTURES_CONTINUOUS / WTI_FUTURES_CONTINUOUS), price, currency, updated_at, an ohlc block (open/high/low/close/volume), a changes block (change_24h, change_percent_24h, null when no 24-hours-ago row exists), and metadata (is_continuous: true, roll_method: "auto", history_available_from, unit: "barrel"). Returns 503 when no continuous data is available.

Historical

curl "https://api.oilpriceapi.com/v1/futures/continuous/brent/historical?from=2025-01-01&to=2025-06-30&interval=1d" \
  -H "Authorization: Token YOUR_API_KEY"

Parameters

ParameterTypeRequiredDescription
fromdateNoYYYY-MM-DD. Defaults to your account window (or the 20-year default for uncapped access). Clamped to your window when earlier
todateNoYYYY-MM-DD. Defaults to today
intervalstringNo1d (default, raw daily rows), 1w/weekly, 1M/monthly. Alias spellings (1day, 1week, …) are accepted. An unrecognised value is not rejected — it silently falls back to raw daily rows, while the response echoes your own spelling in interval

Each row carries date, price, open, high, low, close, volume. The response also includes count, a summary block (first/last date and price, change, change_percent), and metadata.

metadata.history_window

Every historical response describes how your entitlement was applied (verified live 2026-09-11):

"history_window": {
  "limit_days": null,
  "requested_from": "2025-01-01",
  "applied_from": "2025-01-01",
  "limited": false,
  "message": null
}
FieldMeaning
limit_daysAccount lookback limit in days; null means no plan cap
requested_fromThe start date you supplied, or null when omitted
applied_fromThe effective start date (also echoed in top-level from)
limitedtrue when your account limit moved the requested start date forward
messageExplanation when the range was shortened; otherwise null

These fields describe access, not data completeness — inspect prices, count, and the returned dates to establish what observations exist.

Related

  • Futures API overview
  • ICE Brent (per-contract)
  • ICE WTI (per-contract)
Last Updated: 9/11/26, 11:08 PM
Prev
ICE WTI Futures
Next
ICE Gas Oil Futures