Introducing the Precious Metals & Commodities Endpoint banner image

Platform News

Product Updates

Introducing the Precious Metals & Commodities Endpoint

Gold, silver, and platinum daily spot prices — sourced from the LBMA PM Fix — are now available via a single REST endpoint. Track the gold/silver ratio, overlay precious metals against real rates, and enrich commodity-currency analysis in one API call.

The FXMacroData precious metals endpoint is live. Gold, silver, and platinum daily spot prices — sourced directly from the LBMA PM Fix — are now accessible through the same clean REST API used for every other macro indicator, giving FX traders a single integration point for cross-asset regime context.

What's New

Precious metals data is served at /api/v1/commodities/{indicator}, where indicator is one of gold, silver, or platinum. Each series delivers daily closing prices in USD per troy ounce. Gold and silver are based on the LBMA PM Fix — the benchmark used by central banks, institutional allocators, and derivatives markets worldwide. Platinum uses the Royal Mint spot price.

Every data point returns a minimal, consistent JSON object with date and val fields, identical in shape to all other FXMacroData series. No custom parsing, no proprietary SDK, no field-mapping gymnastics — if your pipeline already consumes USD policy rate or inflation data, it accepts precious metals data with zero schema changes.

Gold — LBMA PM Fix

The global benchmark for gold settlement, published daily by the LBMA. Used by central banks, ETFs, and OTC derivatives markets as the authoritative daily gold price.

Silver — LBMA Silver Fix

Daily LBMA silver fixing price in USD per troy ounce. Tracks industrial demand and safe-haven flows simultaneously — the gold/silver ratio is one of the oldest regime indicators in commodities markets.

Platinum — Royal Mint Spot

Daily platinum spot price. Platinum trades at a significant discount to gold in current markets, a divergence that signals weak industrial demand expectations and informs cross-metal positioning.


Why It Matters for Traders

Precious metals are not isolated commodities — they are cross-asset signals that experienced macro traders fold into FX, rates, and volatility frameworks. Gold, in particular, has a well-documented inverse relationship with real US interest rates and the dollar. When real yields fall or the USD weakens, capital typically rotates into gold as an alternative store of value, and that rotation often precedes or accompanies softness in USD pairs like USD/JPY and EUR/USD.

The gold/silver ratio — computed simply by dividing the gold price by the silver price — is a widely-watched macro regime indicator. A rising ratio (gold outperforms silver) typically signals risk-off conditions: investors pile into the monetary safe haven while industrial metals lag. A falling ratio (silver outperforms) tends to accompany reflation or risk-on phases as industrial demand expectations lift. Pairing this ratio with USD policy rate data and breakeven inflation rates gives a compact cross-asset regime scorecard.

Platinum's persistent discount to gold since 2015 tells a different story: weak automotive (catalytic converter) demand and competition from palladium have structurally suppressed platinum prices. For an FX trader, this spread serves as a live industrial-demand pulse — a widening gold/platinum premium pointing toward cautious growth expectations, which historically weighs on high-beta commodity currencies like AUD, CAD, and NZD.

Gold as a USD inverse signal

Overlay daily gold prices against DXY or USD trade-weighted index data. Rising gold alongside a weakening dollar frequently precedes further USD downside — a useful confirmation for trend-following USD shorts.

Gold/silver ratio as risk regime filter

A gold/silver ratio above 80 historically marks elevated risk aversion. Use it as a gate: when the ratio is elevated and rising, tighten risk parameters on carry trades (AUD/JPY, NZD/JPY) and favour safe-haven pairs.


Practical Example: Gold Spot Price

Imagine you are building a daily macro dashboard that updates the gold price alongside USD real rates. One call to the gold endpoint gives you the last 30 business days of LBMA PM Fix prices:

curl "https://fxmacrodata.com/api/v1/commodities/gold?api_key=YOUR_API_KEY"

Representative response:

{
  "data": [
    { "date": "2026-04-14", "val": 3265.40 },
    { "date": "2026-04-11", "val": 3248.75 },
    { "date": "2026-04-10", "val": 3231.50 },
    { "date": "2026-04-09", "val": 3195.20 },
    { "date": "2026-04-08", "val": 3180.60 }
  ]
}

Each record carries the LBMA PM Fix for that business day. At roughly $3,265 per troy ounce, gold has advanced more than 60% from its early-2024 lows — a move consistent with declining real US yields, dollar weakness, and elevated central bank buying. Combining this series with the US TIPS 10Y yield in the same pipeline makes the real-rate/gold dynamic directly quantifiable rather than anecdotal.


Practical Example: Silver Spot Price and the Gold/Silver Ratio

You want to compute the gold/silver ratio to assess current risk sentiment. Pull both series and divide:

# Gold
curl "https://fxmacrodata.com/api/v1/commodities/gold?api_key=YOUR_API_KEY"

# Silver
curl "https://fxmacrodata.com/api/v1/commodities/silver?api_key=YOUR_API_KEY"

Representative silver response:

{
  "data": [
    { "date": "2026-04-14", "val": 32.15 },
    { "date": "2026-04-11", "val": 31.82 },
    { "date": "2026-04-10", "val": 31.60 },
    { "date": "2026-04-09", "val": 31.05 },
    { "date": "2026-04-08", "val": 30.90 }
  ]
}

Dividing the gold price ($3,265.40) by the silver price ($32.15) on 14 April gives a gold/silver ratio of approximately 101.6 — well above the 80 threshold that historically marks heightened risk aversion. At this level, the ratio signals a defensively positioned market: institutional money is in gold while silver's industrial component lags. For an FX trader, this is a yellow flag on commodity-currency longs (AUD, CAD, NZD) — confirm with AUD business confidence and global PMI data before adding risk.


Practical Example: Platinum and the Industrial-Demand Signal

Platinum is primarily an industrial metal. The gold/platinum spread narrows when industrial activity expectations strengthen and widens in downturns. Here is how to pull the platinum series:

curl "https://fxmacrodata.com/api/v1/commodities/platinum?api_key=YOUR_API_KEY"

Representative response:

{
  "data": [
    { "date": "2026-04-14", "val": 978.50 },
    { "date": "2026-04-11", "val": 965.00 },
    { "date": "2026-04-10", "val": 958.30 },
    { "date": "2026-04-09", "val": 944.20 },
    { "date": "2026-04-08", "val": 936.80 }
  ]
}

At roughly $978 per troy ounce, platinum is trading at a $2,287 discount to gold — the widest spread in decades. For context, in 2008 platinum briefly surpassed gold. The persistent premium of gold over platinum reflects subdued global industrial activity expectations and structural changes in automotive demand (the shift to battery electric vehicles erodes catalytic converter demand). A trader monitoring CAD or NZD — both commodity-sensitive currencies — can treat the gold/platinum spread as a supplemental filter: a narrowing spread (platinum recovering) would support the commodity-currency thesis, while a widening spread counsels caution. Pair with CAD trade balance and NZD terms of trade for a fuller picture.


Get Started

All three precious metals series are available now with no additional configuration. Use the same API key and the same request pattern as every other FXMacroData endpoint. Browse the full commodities catalogue in the API documentation hub and start building.

First steps

  • Query gold: curl "https://fxmacrodata.com/api/v1/commodities/gold?api_key=YOUR_API_KEY"
  • Query silver: curl "https://fxmacrodata.com/api/v1/commodities/silver?api_key=YOUR_API_KEY"
  • Query platinum: curl "https://fxmacrodata.com/api/v1/commodities/platinum?api_key=YOUR_API_KEY"
  • Explore the full commodities catalogue at api-data-docs/comm/gold
  • Visualise live prices on the Metals dashboard
  • No API key yet? Subscribe to get started — a free tier is available.