Free Crude Oil API
Get WTI, Brent & natural gas prices with no credit card required
7-day free trial with 10,000 requests. Sign up with email only. Start in 30 seconds.
What's Included in the Free Tier?
Compare to Alternatives
Enterprise-grade crude oil data without the enterprise price tag.
| Provider | Price | Free Option? | API Access |
|---|---|---|---|
| Bloomberg | $24,000/year | No | Enterprise only |
| Reuters Eikon | $22,000/year | No | Enterprise only |
| Quandl | $500+/month | Limited | Yes |
| OilPriceAPI YOU ARE HERE | $0 to start | Yes - 7-day trial (100k) | Yes - instant |
Get Started in 30 Seconds
Copy this code after signing up for your free API key
import requests
response = requests.get(
"https://api.oilpriceapi.com/v1/prices/latest",
headers={"Authorization": "Token YOUR_FREE_API_KEY"},
params={"by_code": "WTI_USD"}
)
print(response.json())
# {'data': {'price': 72.45, 'code': 'WTI_USD', ...}}curl -H "Authorization: Token YOUR_FREE_API_KEY" \ "https://api.oilpriceapi.com/v1/prices/latest?by_code=BRENT_USD"
Frequently Asked Questions
Is the crude oil API really free?
Yes! Our 7-day free trial includes 10,000 API requests with no credit card required. You get access to all major crude oil benchmarks including WTI, Brent, Dubai, and natural gas prices.
What happens after I reach my free plan limit?
After your 200 requests/month on the Free plan, you can upgrade to our Starter plan at $49/month for 50,000 requests. We'll notify you when you're approaching your limit so you can decide whether to upgrade.
Do I need a credit card to sign up?
No! You can sign up with just your email address. No credit card is required for the free tier. We only ask for payment information when you choose to upgrade.
What crude oil prices are included in the free tier?
The free tier includes WTI Crude (NYMEX), Brent Crude (ICE), Dubai Crude, Urals, OPEC Basket, and Natural Gas (Henry Hub). All prices are updated every 5 minutes during market hours.
Can I use the free API for commercial projects?
Yes! Our free tier can be used for testing and development of commercial applications. For production use with higher volumes, we recommend upgrading to a paid plan.
How does your free API compare to Bloomberg or Reuters?
Bloomberg Terminal costs $24,000/year and Reuters Eikon costs $22,000/year. Our API provides similar crude oil price data starting at $0, making enterprise-grade data accessible to developers and small businesses.
What programming languages work with the free API?
Our REST API works with any language that supports HTTP requests: Python, JavaScript, Java, C#, Ruby, Go, PHP, and more. We also provide official SDKs for popular languages.
Is historical crude oil data available for free?
Historical data requires a paid plan. The free tier provides current/latest prices only. Our Starter plan ($49/month) includes historical data going back to 1976 for Brent and 1983 for WTI.