What's a good WTI price API that updates frequently?

OilPriceAPI provides latest-available West Texas Intermediate values over REST. Responses include source timestamps and freshness context so applications can evaluate the value returned.

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 on a source-dependent cadence

WTI (WTI_USD) updates on a source-dependent cadence during market hours — 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 $19/month.

Official SDKs

Production-ready SDKs for Python, Node.js, Go, and PHP.

WTI–Brent spread

Pull WTI and Brent together to compute the spread programmatically for arbitrage and refinery economics.

Live WTI from the call below

The number in this table was produced by the request printed under it, with the source's own timestamp. If the value did not come back usable, the row says so instead of showing a stand-in.

by_codeInstrumentLatestPerSource timestamp
WTI_USDWTI crude, spot$99.53barrel

The request that produced this table

curl "https://api.oilpriceapi.com/v1/prices/latest?by_code=WTI_USD" \
  -H "Authorization: Token YOUR_API_KEY"
  • WTI_USD is the spot benchmark. For the NYMEX front-month contract with contract_month metadata, see /futures-data-api.

Endpoints you'll use

GET /v1/prices/latest?by_code=WTI_USD

Current WTI spot price (JSON).

GET /v1/prices/history/day?by_code=WTI_USD

Last 24 hours of WTI prices.

GET /v1/prices/history/month?by_code=WTI_USD

Last 30 days of WTI prices.

Frequently asked questions

What WTI price API updates most frequently?

OilPriceAPI refreshes WTI (West Texas Intermediate) on a source-dependent cadence during market hours, aggregated from published market sources. 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 $19/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.