520+ commodities

Real-time commodity prices API for developers

Live market rates for gold, silver, WTI and Brent crude, natural gas and 520+ other assets. One REST call returns clean JSON you can ship in minutes.

Mid-market prices tracked to LBMA, COMEX, NYMEX, ICE and CBOT markets, plus World Bank and IMF reference data. See our data sources

  • Unlimited free trial for integrations
  • No credit card
  • Cancel anytime
Market boardNov 10, 20:53 UTC · 30D
  • GoldXAU
    4,033.99▼ 3.73%
    USD / T.oz
  • SilverXAG
    51.61▼ 15.25%
    USD / T.oz
  • WTI CrudeWTIOIL-FUT
    103.25▲ 13.70%
    USD / Bbl
  • Brent CrudeBRENTOIL-FUT
    91.98▼ 10.90%
    USD / Bbl
  • Natural GasNG-FUT
    3.31▲ 4.75%
    USD / MMBtu
Loading…
520+
Commodities
150+
Quote Currencies
99.97%
Uptime SLA
<80ms
Avg Response
Data sources

Where our commodity prices come from

Every price tracks a named underlying market. Here is which one, symbol by symbol.

For actively traded commodities, CommodityPriceAPI returns the mid-market price: the midpoint between the live bid and ask, taken from real-time market feeds that track the underlying exchange and over-the-counter markets.

Underlying marketWhat it coversExample symbols
London bullion market (LBMA)Gold and silver spotXAU, XAG
London platinum and palladium market (LPPM)Platinum and palladium spotXPT, XPD
COMEXCopper, spot and futures, including individual contract monthsXCU-FUT, XCU-SPOT, XCU-FUT-{MMMYY}
NYMEXWTI crude, natural gas, heating oil, RBOB gasoline, including individual contract monthsWTIOIL-FUT, WTIOIL-FUT-DEC26, NG-FUT, HO-FUT, RB-FUT
ICE Futures EuropeBrent crude, including contract months, gas oil, UK natural gasBRENTOIL-FUT, LGO, UK-GAS
ICE Futures U.S.Coffee, cocoa, cotton, sugar No. 11, orange juiceCA, CC, CT, LS11, OJ
CBOTWheat, corn, soybeans, soybean oil and meal, oats, rough rice, including contract monthsZW-FUT, CORN, SOYBEAN-FUT, ZL, ZM
CMELumber, live cattle, feeder cattle, lean hogsLB-FUT, LC1, FC1, LHOGS
World Bank and IMFMonthly reference prices for agriculture, fertilisers, timber and minor metalsMAIZE, RICET5, COAL-AU, VANPENT

Prices are mid-market reference prices, not exchange settlement prices, benchmark auction prices or executable quotes. A futures symbol follows the pricing of the exchange contract; it is not a direct exchange feed.

Trusted by teams at

Valona IntelligenceRebel OilTía

Core features

Everything you need to build with commodity data

520+ Commodities in One API

Query live and historical prices for 520+ commodities — precious metals, energy, agriculture, and industrial materials — through a single JSON API instead of juggling multiple data vendors.

  • XAU
  • XAG
  • XPT
  • XPD
  • XCU-SPOT
  • WTIOIL-FUT
  • BRENTOIL-FUT
  • NG-FUT
  • + 512 more

Integrate in Under 5 Minutes

One API key, one REST call, one JSON response. Copy-paste examples take you from signup to your first live price in under 5 minutes — no SDK required.

$ curl "https://api.commoditypriceapi.com/v3/rates/latest?symbols=XAU" \
    -H "x-api-key: YOUR_API_KEY"

{ "success": true, "rates": { "XAU": 4141.4 } }

Per-Second Prices Where It Matters

Gold, silver, platinum, palladium, copper and WTI and Brent crude are refreshed every second on every plan, with bid and ask. Every other symbol updates as often as its market publishes.

  • XAU
  • XAG
  • XPT
  • XPD
  • XCU-SPOT
  • + 5 more

Prices in 150+ Currencies

Get any commodity price denominated in the currency you need with a single quote parameter. 150+ world currencies supported out of the box.

  • USD
  • EUR
  • GBP
  • JPY
  • CNY
  • INR
  • AED
  • CHF
  • + 142 more

Unlimited Free Trial for Integrations

Simple monthly or annual plans with no long-term contracts. Start with an unlimited free trial for integrations, then upgrade, downgrade, or cancel whenever you like.

  • Unlimited free trial for integrations
  • No card required
  • Cancel anytime

Key facts

CommodityPriceAPI at a glance

Price basis
Mid-market price (midpoint of live bid and ask) for traded commodities; published values for reference series
Underlying markets
LBMA, LPPM, COMEX, NYMEX, ICE, CBOT, CME
Reference publishers
World Bank, IMF, and official government and statistical agency releases
Catalogue
520+ symbols in 10 categories
Update frequency
Every second for gold, silver, platinum, palladium, copper and WTI/Brent; every minute for most traded symbols; daily to semi-annual for reference series
Bid and ask
Returned on the per-second symbols via /v3/rates/latest/{symbol}
Quote currencies
150+
Format and auth
REST over HTTPS, JSON, API key in the x-api-key header
Not included
Exchange settlements, LBMA benchmark auction prices, order execution, market depth
Uptime
99.97% SLA
01Real-Time & Historical Rates

Live Rates and Historical Data, 1 Call Away.

Fetch the latest spot rates the moment markets move, or pull the closing rate for any past date — each is a single GET request to one endpoint.

Every response is clean JSON with a unit and timestamp per symbol, ready to drop straight into dashboards, alerts, or pricing engines.

02Time-Series & Fluctuation

Track Price Movement Across Any Date Range.

The time-series endpoint returns day-by-day rates between any two dates, ready for charting — no client-side aggregation needed.

The fluctuation endpoint computes absolute and percentage change for you, so building 24-hour, 7-day, or 30-day movers takes 1 call instead of a data pipeline.

03Developer-First API

5 REST Endpoints. 1 API Key. 0 SDKs.

Latest, historical, fluctuation, time-series, and symbols — 5 predictable REST endpoints cover the full workflow, all authenticated with a single x-api-key header.

Interactive documentation and a live playground let you test real requests before writing a line of code, and responses stay plain JSON on every plan.

New — Official MCP Server

Connect Claude, Cursor & any AI agent to live commodity prices

The official CommodityPriceAPI MCP server exposes gold, silver, oil, and 520+ commodities as AI tools. One npx command — no code required. Ask your AI assistant for live rates, historical data, and fluctuations directly.

npx -y @commoditypriceapi/mcpSet up the MCP server

1Send a request

curl "https://api.commoditypriceapi.com/v3/rates/latest?symbols=XAU,WTIOIL-FUT" \
  -H "x-api-key: YOUR_API_KEY"

2Get JSON back200 OK

application/json
{
  "success": true,
  "timestamp": 1703866777,
  "rates": {
    "XAU": 2066.98,
    "WTIOIL-FUT": 72.29
  },
  "metadata": {
    "XAU": {
      "unit": "T.oz",
      "quote": "USD"
    },
    "WTIOIL-FUT": {
      "unit": "Bbl",
      "quote": "USD"
    }
  }
}
PRICING PLANS

Simple Pricing

Choose your plan and get started. Upgrade, downgrade or cancel anytime

Dotted Background

$34.99/month

Basic

  • 8,000 API calls per month
  • Upto 1 second updates
  • Upto 5 symbols per request
  • No Rate limit applied
  • Historical endpoint back to 1990
popular

$174.99/month

Standard

  • 40,000 API calls per month
  • Upto 1 second updates
  • Upto 10 symbols per request
  • No Rate limit applied
  • Historical endpoint back to 1990
  • Time-Series endpoint
  • Fluctuation endpoint
  • Currency conversion to 150+ currencies
  • Commercial license

$349.99/month

Advanced

  • 80,000 API calls per month
  • Upto 1 second updates
  • Upto 20 symbols per request
  • No Rate limit applied
  • Historical endpoint back to 1990
  • Time-Series endpoint
  • Fluctuation endpoint
  • Intraday endpoint
  • Currency conversion to 150+ currencies
  • Commercial license

FAQ

Frequently asked questions

Data sources, update frequencies, plans and limits. If your question isn't here, we usually reply within a day.

Contact support
  • We have over 520 commodities available on our platform. Please take a look at the full list of available in our documentation.

  • For traded commodities we deliver the mid-market price, the midpoint between the live bid and ask, from real-time market feeds that track the underlying markets: the London bullion market (LBMA) for gold and silver, the London platinum and palladium market (LPPM) for platinum and palladium, COMEX for copper, NYMEX and ICE for energy, and CBOT and ICE for agricultural futures. Monthly reference series come from the World Bank, the IMF and official government and statistical agency releases, delivered as published. All prices are derived reference data, not a direct exchange feed.

  • Yes, XAU is priced on the London bullion market (LBMA). It is the mid-market price, the midpoint between the live bid and ask, updated every second around the clock. The twice-daily LBMA Gold Price auction, administered by ICE Benchmark Administration, fixes one price at 10:30 and 15:00 London time, while XAU follows the same market continuously in between.

  • The rate field is the mid: the average of the live bid and ask. The per-second symbols also return bid and ask, so you can show the spread or price either side.

  • Ten symbols are refreshed every second on every current plan: gold (XAU), silver (XAG), platinum (XPT), palladium (XPD), copper spot and futures (XCU-SPOT, XCU-FUT) and WTI and Brent crude, spot and futures (WTIOIL-SPOT, WTIOIL-FUT, BRENTOIL-SPOT, BRENTOIL-FUT). Each has its own endpoint, /v3/rates/latest/{symbol}, which returns bid and ask as well as the rate. On the legacy Lite plan they may be up to 10 minutes old.

  • A -SPOT symbol is a continuous cash price with no expiry date, so it moves smoothly — best for displays, conversions and alerts. A -FUT symbol follows the front-month exchange futures contract on a continuous basis — best when your numbers must match futures quotes. Neither is an exchange settlement or an official benchmark price.

  • You can check your usage for the month by going to the dashboard page or through the usage API.

  • No, we don't have any free plans. However, we do offer an unlimited free trial for integrations, and it does not require a credit card.

  • Yes, you can automatically extend your trial for up to three times if you choose to extend it within the trial period. Beyond the third extension, the process will require a manual review. You may submit a request to our support team, and after a thorough evaluation, we may approve an extension for your plan.

  • No, we don't provide refunds. However, you can cancel your subscription at any time.

  • No. The Basic, Standard and Advanced plans have no per-minute rate limit; only your monthly request quota applies. The legacy Lite plan is limited to 10 requests per minute.

Get your API key today

CommodityPriceAPI is the easiest way to get real-time and historical prices for a diverse range of commodities. Our API is easy to use and can be integrated into your application in minutes.