Free gold price widgetsWidget

Gold price widget for the UK

Show a gold spot price in pounds on your website

26 Oct 2026 · 2 min read

Display the live gold price in British pounds with one free iframe and no API key to manage. Today's gold content values are unavailable per gram for 24K and unavailable per gram at 22K. Both previews come with code ready for your page.

24K gold per gram in GBP
22K gold per gram in GBP

Gold price previews for the UK

Embed code for 24K
<iframe src="https://goldprice.dev/embed/xau?currency=GBP&unit=gram&karat=24&theme=auto&locale=en" title="Gold price" width="360" height="190" loading="lazy" style="border:0;width:100%;max-width:360px" referrerpolicy="strict-origin-when-cross-origin"></iframe>
Embed code for 22K
<iframe src="https://goldprice.dev/embed/xau?currency=GBP&unit=gram&karat=22&theme=auto&locale=en" title="Gold price" width="360" height="190" loading="lazy" style="border:0;width:100%;max-width:360px" referrerpolicy="strict-origin-when-cross-origin"></iframe>

Add the widget to your website

Copy the iframe code below either preview. Paste it into a custom HTML block on your page, then save your changes.

Open your page on a phone and check that the card fits. It stays within 360 pixels and fits narrow screens. The price refreshes by itself.

Widget settings

Each setting is a query parameter in the iframe address. Use the widget builder to choose your settings and generate the code.

SettingOptionsUsed on this page
currencyUSD, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, ILS, INR, ISK, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PLN, RON, SEK, SGD, THB, TRY, ZARGBP
unitoz, gramgram
karat24, 22, 21, 20, 18, 16, 14, 1024, 22
themeauto, light, darkauto
localeen, ar, es, id, ja, ko, vi, zhen

A gold widget for the UK

The UK gold page shows 24K, 22K, 18K and 9K prices. Hallmarks include 916 for 22K, 750 for 18K and 375 for 9K. A shop can use the supported 22K or 18K widget settings; the widget does not offer 9K.

A gold sovereign is 22K, while a Britannia is 24K, so use each coin's gold content for spot comparisons. UK coin and finance pages can show the GBP widget with gram or troy ounce values and explain any selling premium separately.

What this gold value covers

The value comes from the gold spot price and reflects gold content only. It excludes dealer premium, making charges and tax, which a shop's selling price includes.

The card shows the update time and gold's twenty four hour percentage change. It refreshes by itself and links to goldprice.dev. Both the card's price and the figures written in this page's text are fifteen minutes late, as of unavailable.

Questions

How do I show gold prices in British pounds on a website?

Add the iframe from a GBP preview to your website's custom HTML block. The card gives visitors a gold price in British pounds, updates automatically and works without sign-up or an API key.

Does the GBP widget show the price a UK gold shop charges?

The GBP widget supplies a gold content value based on spot, not a shop quotation. A UK gold shop's selling price adds making charges, premium and tax, which are excluded from the card.

Can I use the GBP widget to compare a gold sovereign with spot?

A gold sovereign is 22K, so select the 22K gram setting and use the coin's weight to estimate its gold content value in GBP. The widget reference excludes any premium in the selling price.

Keep reading

Start with a free API key

5,000 requests a month on the free plan. No credit card.

Get a free key