Build withOilPriceAPI
Official SDKs, integrations, and tools for accessing source-timestamped energy and commodity values from 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 published 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 the latest available crude oil, gasoline, and heating oil values.
Fuel Cost Calculator
Calculate trip or fleet fuel costs using the latest available gasoline and diesel values, vehicle presets, and fleet mode.
Fuel Surcharge Calculator
Calculate trucking fuel surcharges with published DOE diesel values and a configurable per-mile formula.
Trading Profit Calculator
Calculate potential profits from oil futures and commodity trades using supplied market values.
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, with optional latest-available WTI and Brent reference values.
Energy Equivalency Calculator
Convert between crude oil, natural gas, LNG, coal, and electricity using published EIA BTU factors, with optional price comparisons.
Ready to Build?
Get your free API key and start with the canonical request, then evaluate source timestamps and dataset fit for your workflow.
Free tier: 50 requests per day • No credit card required • Upgrade anytime