Monthly visits
123,231
2026-09
Monthly growth +21.3%

Oil Price API - Source-timestamped commodity prices through a REST API

Oil Price API provides REST endpoints for crude oil, natural gas, refined fuels, metals, and agricultural commodities. Responses use consistent JSON and include source timestamps and units. Developers can query latest prices, use historical endpoints on eligible plans, and integrate through SDKs or webhooks where included. A free tier and paid plans are available.

Visit WebsiteClaim this product

0Views

Capabilities

Commodity price API

Retrieve commodity prices as structured API responses. Requests specify commodity codes and return values with units and source timestamps; coverage includes oil, gas, refined fuels, metals, and agricultural commodities.

Historical price data

Query historical commodity prices through the historical endpoints. Access depends on the plan, dataset, and source availability, and the pricing page identifies paid-plan access.

Webhooks and price alerts

Receive price notifications through configured alerts and webhooks when included in a plan. Limits differ by plan, and update timing depends on the relevant data source.

Developer integrations

Connect applications using the REST API, official SDKs, cURL, Excel, or Google Sheets. The API uses an authorization key, and formats include JSON with CSV available by adding a request parameter.

PricingFreemium

A free plan and paid monthly subscriptions are available; compare request limits, datasets, history, alerts, and integration features to choose a tier. One-time request credit packs are also offered separately.

PlanPriceIncluded features and limits
Free

Free; no expiry

  • 50 API requests per day

  • Hard-capped; calls stop at the limit

  • New accounts receive a seven-day, 10,000-request trial first

Developer

$19/month

  • 10,000 API requests per month

  • One-year historical data where available

  • 20 email price alerts

  • Three API keys

Fleet

$79/month

  • 100,000 API requests per month

  • Weekly DOE diesel index alerts for national and six regional series

  • Up to 10 webhooks and 100 price alerts

  • Carrier fuel-surcharge table

Professional

$99/month

  • 250,000 API requests per month

  • Full historical data where available

  • 10 advanced webhooks

  • Five API keys

Scale

$299/month

  • 1,000,000 API requests per month

  • Unlimited historical data where available

  • Unlimited webhooks

  • 10 API keys

New accounts receive a seven-day trial with 10,000 requests; after it ends, they continue on Free automatically. The trial excludes licensed datasets such as the aviation fuel pilot. A one-time purchase of request credits is available; credits never expire and do not add plan features.

Use cases

Integrate commodity prices into an application

When an application needs current energy or commodity quotes, developers call the REST endpoint with a commodity code and API key. The response supplies a price, unit, and source timestamp for the application to process.

Review historical commodity price series

When a user needs prior prices rather than only the latest quote, they can query a historical endpoint if their plan and dataset provide access. Available history varies by source and dataset.

Monitor prices with alerts and webhooks

When users need notification of price movements, they can configure available price alerts or webhooks on an eligible plan. Alert quantities and webhook limits depend on the selected plan.

Limitations

  • Refresh cadence and historical availability vary by source, dataset, account, and plan.

  • The Free plan is limited to 50 API requests per day; calls stop at the included allowance rather than generating overage charges.

  • OilPriceAPI grants no rights to source data; users must check each source's terms before public display or redistribution.

  • Some datasets, including the aviation fuel pilot, are excluded from the new-account trial.

Oil Price API alternatives

APITube News API

Search and analyze worldwide news through one API

APITube News API provides real-time access to news from sources worldwide through a REST API. Search articles with more than 65 filters, inspect article tone and named entities, and use source rankings, related-article grouping, and duplicate detection. Results include structured article details and can be integrated into apps and websites.

  • Cloud
  • API
  • Freemium
  • Free$0 /month or /year
  • Starter$29 /month or $279 /year
  • Basic$99 /month or $959 /year
  • Professional$199 /month or $1,919 /year
  1. Ecommerce Data API

    Amazon data API for product, keyword, and market research

    入门包 · ¥56.99 one-time; actual payment US$8.63
  2. finlight

    Real-time financial news API with filtering and sentiment

    Launchpad · $0 USD per month
  3. Financial Datasets

    Financial market data API for AI agents

    Credits · $20 one-time
  4. Canopy API

    Real-time Amazon product data through REST, GraphQL, and MCP

    Hobby · Free forever
  5. Octen

    Real-time search and retrieval APIs for AI applications

    Pay-As-You-Go · Usage-based; USD per unit

Who it is for

  • Developers building applications that use energy and commodity prices

  • Energy analysts who need timestamped market prices for research

  • Spreadsheet users importing latest commodity values into Excel or Google Sheets

FAQ

What data does Oil Price API provide?

It provides source-timestamped prices for crude oil, natural gas, refined fuels, metals, and other commodities through a REST API. Coverage and refresh cadence vary by source and dataset.

Is there a free plan and a trial?

Yes. New accounts start with a seven-day trial that includes 10,000 requests, then continue automatically on the Free plan with 50 requests per day and no expiry. No credit card is required, and the Free allowance is hard-capped.

Can I use the data on a public website?

That depends on the rights granted by the underlying data source. OilPriceAPI does not grant rights in source data, so check the relevant source's terms before public display or redistribution.

How often are prices updated?

Each returned value includes the source timestamp, but refresh cadence varies by source, market hours, dataset, and plan. Daily fix codes publish once per trading day.

Does every plan include historical data?

No. Historical access depends on the plan, dataset, and source availability. Check the plan details and endpoint documentation for the series you need.

Comments

Please sign in to leave a comment.
No comments yet. Be the first to share your thoughts!