Gold Trade Flow Data API: UK, EU, US and Hong Kong

Physical gold moves between a handful of hubs: London vaults, Swiss refineries, Hong Kong and the Chinese mainland, India, the US. Customs statistics show those flows month by month, but each country publishes them in its own format and portal. AuraStream brings the UK, EU, US and Hong Kong statistics into one API with one ticker format, for gold and also for silver, platinum group metals and base metals.

What you get

  • UK (HMRC): imports and exports in pounds and kilograms by partner country. London holds most of the world’s vaulted gold, so UK flows show where bullion is going.
  • EU (Eurostat Comext): trade of the EU as a whole or of a single member state, in euros and kilograms.
  • US (Census Bureau): imports and exports by HS code and country, in dollars.
  • Hong Kong (Census and Statistics Department): gold, silver, platinum and palladium by country from 2014. Hong Kong’s gold exports to the Chinese mainland are a long-standing gauge of Chinese demand.

Tickers read the same everywhere: gold for all partners, gold:CH for flows with Switzerland. Other products go by name (silver, platinum_group, copper_refined, aluminium, nickel, zinc) or by HS code.

Example: UK gold flows with Switzerland

import requests
import pandas as pd

URL = "https://api.aurastream.unbiased-alpha.com/timeseries"
HEADERS = {"x-api-key": "YOUR_AURASTREAM_API_KEY"}

data = requests.post(URL, headers=HEADERS, json={
    "tickerlist": ["gold:CH", "gold"],
    "start": "2020-01-01",
    "end": "2025-01-01",
    "interval": "1m",
    "source": "hmrc",
}).json()

uk_ch = pd.DataFrame.from_dict(data["gold:CH"], orient="index")
print(uk_ch[["export_mass_kg", "import_mass_kg"]].tail(12))

Change "source" to "comext" or "hktrade" to get the same view from the EU or Hong Kong. The US source ("uscensus") needs a free Census API key and names partners by Census code or name, for example gold:SWITZERLAND; the others need no key.

Timing

Rows are stamped at the first day of the month they describe, and each statistics office publishes with a delay: about four weeks for Hong Kong, five for the US and six for the UK and the EU. Shift the data by its publication lag before using it in a backtest.

From Claude or ChatGPT

With the AuraStream MCP server you can ask “Show monthly UK gold exports to Switzerland since 2020” and the assistant fetches the data itself. Add https://aurastream.unbiased-alpha.com/mcp to your client with your API key, or install it with pip install aurastream-mcp.

Pricing

The free plan includes 500 calls a month without a credit card.

Get a free API key Documentation: UK, EU, US, Hong Kong

Questions

Does it include Swiss customs data?

Not directly. Swiss flows are visible from the partner side: UK, EU, US and Hong Kong trade with Switzerland.

Can I get monetary gold?

For Hong Kong, yes (gold_monetary). For the UK, EU and US, request HS codes directly; 7108 sums all gold codes.

Is this real-time data?

No. These are monthly official statistics, published with the delays above.