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.
Gold price previews for the UK
<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><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.
| Setting | Options | Used on this page |
|---|---|---|
| currency | USD, 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, ZAR | GBP |
| unit | oz, gram | gram |
| karat | 24, 22, 21, 20, 18, 16, 14, 10 | 24, 22 |
| theme | auto, light, dark | auto |
| locale | en, ar, es, id, ja, ko, vi, zh | en |
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.