Skip to content
Bullion API

Track precious-metal holdings and gains

Record metal purchases and sales, value holdings from stored prices and summarise UK CGT gains. Indicative, not dealer quotes.

Indicative, not dealer quotes. Build indicative valuations, reference displays and charts from metal prices. Metal observations refresh hourly; projected currencies use an accepted daily FX snapshot. These estimates are not executable checkout prices or binding quotes and must not be used for trading or settlement.

What you can use

  • Portfolio holdings and valuation

    GET /v1/portfolio

    Record purchases and sales, then read holdings, cost basis and a valuation from the latest stored spot price in one reporting currency. Each valuation says whether its price is current, stale or unavailable.

    Read the portfolio API
  • UK CGT gains

    GET /v1/portfolio/gains

    Realised gains for a period or UK tax year, grouped by the CGT treatment recorded on each sale: exempt, not exempt or unknown. It reports the treatment you record and is not tax advice.

    See the gains summary
  • Price history for charts

    GET /v1/{metal}/price?start&end

    One final stored close per UTC weekday, up to five years per request, with coverage dates so a chart shows exactly what is stored.

    Read the history endpoint

Limits to know

  • A valuation is what stored spot prices say your metal content is worth; a dealer may pay more or less.
  • Portfolio reads value holdings from stored prices and never call an upstream provider, so a valuation can be stale; the response says so.
  • Gains follow the CGT treatment recorded on each transaction. They are not tax advice.

Paid plans include commercial use in your own product; the trial is for non-commercial evaluation. Standard plans don’t allow redistributing or reselling raw price data or API access. See the terms and plans.