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

Benchmark Close

Enterprise benchmark-close endpoint for custom benchmark close workflows.

Sales-Gated Feature

/v1/benchmarks/close is live but not granted by a standard self-serve tier. Access is sales-gated or grandfathered. It may also be disabled by a backend feature flag. Contact support before building against it.

GET/v1/benchmarks/close

Request

curl "https://api.oilpriceapi.com/v1/benchmarks/close?benchmark=aramco&date=2026-07-15" \
  -H "Authorization: Token YOUR_API_KEY"
ParameterTypeRequiredDescription
benchmarkstringYesBenchmark identifier configured for your account
datedateNoClose date

Response

{
  "status": "success",
  "data": {
    "benchmark": "aramco",
    "close_date": "2026-07-15",
    "value": 74.52,
    "currency": "USD",
    "source": "custom_benchmark_close",
    "updated_at": "2026-07-15T19:30:00Z"
  }
}

Error Cases

StatusWhen
400Missing benchmark or invalid date
401Missing or invalid API key
403Feature not enabled, entitlement missing, or kill-switch active
402Plan/account not configured

Data Rights

Benchmark-close data can be source-sensitive. Public display, redistribution, or downstream productization requires review under the Data Usage Policy.

Last Updated: 7/16/26, 1:53 PM
Prev
ICE Brent Futures API
Next
Aviation Fuel Pilot