Build withOilPriceAPI
Official SDKs, integrations, and tools for accessing real-time oil and commodity prices. Production-ready code for Python, Node.js, Excel, Salesforce, and more.
Official SDKs & Integrations
Production-ready libraries and connectors for popular platforms
Excel Add-in
Excel add-in preview for refreshable OilPriceAPI formulas in analyst spreadsheets.
Python SDK
Official Python library with pandas integration, async support, and automatic retries.
Node.js SDK
Production-ready npm package with TypeScript definitions and zero dependencies.
Salesforce Integration
Apex code examples and REST callouts for embedding commodity prices in your CRM.
Google Sheets
Integrate with Google Sheets using IMPORTDATA, Apps Script, or third-party connectors. Full guide and templates available.
Free Calculators & Tools
Analyze markets, forecast prices, and calculate returns—no signup required
BOE Converter
Convert between barrels of oil (BBL) and natural gas (MCF/MMBtu) using industry-standard energy equivalency factors.
EUR Calculator
Estimate the Ultimate Recovery (EUR) for oil and gas wells using standardized exponential decline curve analysis.
Crack Spread Calculator
Calculate 3-2-1, 2-1-1, and simple crack spreads with live crude oil, gasoline, and heating oil prices for refining margin analysis.
Fuel Cost Calculator
Calculate how much fuel will cost for any trip or fleet. Live gasoline and diesel prices with vehicle presets and fleet mode.
Fuel Surcharge Calculator
Calculate trucking fuel surcharges with live DOE diesel prices. Industry-standard per-mile formula for owner operators.
Trading Profit Calculator
Calculate potential profits from oil futures and commodity trades with live market data.
Gas Price Forecaster
Forecast natural gas prices using historical trends and market analysis tools.
Oil Investment Calculator
Analyze oil investment opportunities with ROI calculations and risk assessment.
Analytics Dashboard
Statistical analytics for commodity prices. Z-scores, percentiles, and volatility metrics for data-driven decisions.
Oil Barrel Unit Converter
Convert between barrels, US gallons, liters, metric tons, and cubic meters. Includes live WTI and Brent crude prices for instant market value.
Energy Equivalency Calculator
Convert between crude oil, natural gas, LNG, coal, and electricity using EIA standard BTU factors. Includes BOE calculations and live price comparisons.
Ready to Build?
Get your free API key and start integrating real-time commodity prices in minutes.
Free tier: 7-day free trial (10,000 requests) • No credit card required • Upgrade anytime