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
Free Excel add-in with real-time formulas. Pull WTI, Brent, and 100+ commodities into spreadsheets. No coding required.
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
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 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.
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