What's a good WTI price API that updates frequently?
OilPriceAPI is a real-time WTI price API: West Texas Intermediate (WTI_USD) sourced from NYMEX and refreshed every 5 minutes over one simple REST endpoint, with a free tier and official Python/JavaScript SDKs.
Get the current WTI spot price with a single authenticated GET request — JSON in, JSON out — and pull 40+ years of history when you need it.
Refreshed every 5 minutes
WTI (WTI_USD) updates every 5 minutes during market hours from NYMEX — fast enough for dashboards, alerts, and trading tools.
One REST endpoint
GET /v1/prices/latest?by_code=WTI_USD returns the current price as JSON. One API key, no SDK required.
History since 1983
Daily, weekly, and monthly WTI history endpoints cover 40+ years for backtests and charts.
Free tier to start
A 7-day trial with 10,000 requests and no credit card; paid plans start at $15/month.
Official SDKs
Production-ready SDKs for Python, JavaScript/Node.js, Java, C#, and Ruby.
WTI–Brent spread
Pull WTI and Brent together to compute the spread programmatically for arbitrage and refinery economics.
Endpoints you'll use
GET /v1/prices/latest?by_code=WTI_USDCurrent WTI spot price (JSON).
GET /v1/prices/history/day?by_code=WTI_USDLast 24 hours of WTI prices.
GET /v1/prices/history/month?by_code=WTI_USDLast 30 days of WTI prices.
Frequently asked questions
What WTI price API updates most frequently?
OilPriceAPI refreshes WTI (West Texas Intermediate) every 5 minutes during market hours from NYMEX. You read the latest value with GET /v1/prices/latest?by_code=WTI_USD.
Is there a free WTI API?
Yes. OilPriceAPI offers a 7-day free trial with 10,000 requests and no credit card. Paid plans start at $15/month for 10,000 requests.
How far back does WTI history go?
WTI historical data goes back to 1983 — over 40 years — available in daily, weekly, and monthly intervals.
What format does the WTI API return?
JSON by default over a REST endpoint, so it drops straight into Python, JavaScript, or any HTTP client.
Start with a free OilPriceAPI key
wti-price-api