Real-time spot prices
Bid, ask, mid, and spread (bps) over WebSocket and REST. Sub-100ms median delivery from primary regions for the most actively traded benchmarks.
Aggregated reference pricing across precious and industrial metals, energy benchmarks (WTI, Brent, natural gas), and agricultural commodities, delivered over REST and WebSocket with the same JSON schema as the rest of the SiftingIO API. Sub-100ms median latency, 24/7 endpoint availability, and a 99.9% uptime SLA.
All productsOne credential, one schema, one set of rate limits, covering spot prices, historical depth, and global benchmark coverage across metals, energy, and agricultural products.
Bid, ask, mid, and spread (bps) over WebSocket and REST. Sub-100ms median delivery from primary regions for the most actively traded benchmarks.
Historical depth with tick-level granularity and OHLCV at 1m/5m/15m/1h/4h/1d for backtesting, hedging analytics, and audit.
Commodities return the same fields as crypto, forex, and equities: one parser, one client, no asset-specific glue code.
Precious and industrial metals, energy benchmarks (WTI, Brent, natural gas), and agricultural commodities aggregated across recognized reference sources.
99.9% monthly uptime SLA with multi-region routing, continuous monitoring, and a public status page with incident history.
The same bearer token authenticates REST snapshots and WebSocket streams. Pin a version, scale rate limits, scope keys per environment.
REST snapshots and WebSocket streams share the same API key and the same compact Type0 shape across commodities, FX, crypto, and beyond.
curl -H "X-API-Key: $KEY" \
"https://api.sifting.io/v1/last/quote/commodities/XAUUSD"{
"s": "XAUUSD",
"b": "2387.42",
"B": "120.5",
"a": "2387.61",
"A": "98.0",
"t": 1746189123456
}const ws = new WebSocket("wss://stream.sifting.io/ws/v1?key=$KEY");
ws.addEventListener("open", () => {
ws.send(JSON.stringify({
op: "subscribe",
product: "commodities",
symbols: ["XAUUSD", "XAGUSD", "WTIUSD", "NATGASUSD"],
}));
});{ "f":"ack", "op":"subscribe", "product":"commodities", "symbols":["XAUUSD","XAGUSD","WTIUSD","NATGASUSD"] }
{ "f":"tick", "class":"commodities", "s":"XAUUSD", "p":2387.55, "P":0.0042, "b":2387.42, "B":120.5, "a":2387.61, "A":98.0, "t":1746189401412 }
{ "f":"tick", "class":"commodities", "s":"XAGUSD", "p":29.81, "P":0.0061, "b":29.79, "B":840.0, "a":29.83, "A":612.0, "t":1746189401488 }
{ "f":"tick", "class":"commodities", "s":"WTIUSD", "p":78.41, "P":0.0033, "b":78.39, "B":520.0, "a":78.43, "A":480.0, "t":1746189401611 }
{ "f":"tick", "class":"commodities", "s":"NATGASUSD", "p":2.157, "P":0.011, "b":2.156, "B":920.0, "a":2.158, "A":860.0, "t":1746189401700 }A representative sample of supported symbols is shown below. Coverage extends beyond this list and continues to expand. Need a symbol you don’t see? Request it →
Gold, silver, platinum, palladium
Copper, aluminium, nickel, zinc, lead
WTI, Brent, natural gas, heating oil
Corn, wheat, soybeans, coffee, sugar, cocoa
Live spot prices and historical depth for hedging programs, commodity exposure marking, and P&L attribution against recognized benchmarks.
Mid-rates and reference prices for procurement teams, supply-chain finance, and commodity-linked instrument pricing inside corporate treasury.
Embed live gold, silver, platinum, and palladium spot prices into precious-metals wallets, savings apps, and end-user fintech flows.
OHLCV and tick history across metals, energy, and ags for quantitative research, model validation, and cross-asset signal work.
Precious metals (gold, silver, platinum, palladium), industrial metals (copper, aluminium, nickel, zinc, lead), energy benchmarks (WTI crude, Brent crude, natural gas, heating oil), and agricultural commodities (corn, wheat, soybeans, coffee, sugar, cocoa). Coverage continues to expand based on customer demand; additional symbols are added on request for enterprise customers.
Spot prices are aggregated across recognized benchmarks and reference sources, normalized into a single canonical view per symbol. SiftingIO does not redistribute raw, unmodified primary-venue feeds; values are derived and calculated from underlying quotes. Methodology and sourcing notes are documented in the API reference.
The default endpoints return aggregated spot reference pricing (e.g. XAU/USD for gold spot). Futures contract metadata and continuous-contract series are available where they back the spot benchmark. For pure futures workflows (specific expiries, term structure, roll calendars), contact sales to scope.
Tick-level updates are delivered over WebSocket with sub-100ms median latency from our primary regions; REST snapshot endpoints return the most recent quote with the same freshness budget. SiftingIO operates the service to a 99.9% monthly uptime SLA with multi-region routing.
Yes. Tick-level history and OHLCV at 1m, 5m, 15m, 1h, 4h, and 1d resolutions are included, not gated behind a separate contract. Historical backfill covers the ranges needed for research, backtesting, hedging analytics, and audit. History is included on every plan that covers the underlying symbols.
Some commodities trade nearly continuously while others observe regional session hours. SiftingIO endpoints are available 24/7 for snapshot reads, historical queries, and WebSocket subscriptions. During session gaps we surface the last published quote with a clear timestamp so client applications can render or hold positions deterministically.
A single bearer token works across REST and WebSocket for commodities, crypto, forex, US stocks, and on-chain endpoints. The same API key authenticates every channel and version: no per-asset credential rotation, no separate keys for streaming vs. snapshots.
Quotes return a unified shape: symbol, mid, bid, ask, spread_bps, volume_indicator, change_24h, ts (epoch ms). The same field names appear across forex, crypto, stocks, and commodities, so a single parser handles every asset class, and your code does not grow as we add markets.
Redistribution and display use are governed by your subscription tier and the SiftingIO Terms of Service. Standard plans permit display in your end-user product; redistribution as raw feeds, B2B sublicensing, and high-volume display use require an enterprise agreement. Customers are responsible for accurate usage reporting; please see the disclosures page.
The commodities API is offered globally where lawful. Users in jurisdictions where the service is restricted are responsible for ceasing use accordingly.
Free tier included, no sales call required. Generate an API key and hit the commodities endpoints over REST or WebSocket, with the same auth, same schema, same SLA as the rest of the platform.