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

Commodity Catalog

Use the live catalog for current commodity codes and metadata. The catalog changes as sources and datasets change, so this page does not maintain a second fixed list or a universal refresh promise.

Get the current catalog

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

The response lists the account-visible codes and their available metadata. Dataset access can vary by plan and entitlement. Use the exact code returned by the catalog in price requests:

curl "https://api.oilpriceapi.com/v1/prices/latest?by_code=BRENT_CRUDE_USD" \
  -H "Authorization: Token YOUR_API_KEY"

For response fields and examples, see List Commodities API.

Freshness and publication timing

Daily-frequency observations are not necessarily published every day. Inspect the source timestamps returned with each value and use the publication schedules page for series-specific collection timing and expected gaps.

Use these fields according to the endpoint contract:

  • observed_at identifies the source observation or trading date when supplied.
  • created_at identifies when OilPriceAPI collected or stored the record.
  • freshness or status metadata describes the latest known state; it is not a promise that every source refreshes on one fixed interval.

Browse common entry points

  • Crude oil and refined-product codes
  • Natural gas
  • Futures
  • Marine and bunker fuels
  • Energy Intelligence
  • Data freshness
  • Data quality
Last Updated: 7/25/26, 6:41 PM