Free gold price widgetsWidget

Gold price widget for Canada

Put a gold price card in Canadian dollars on your website

27 Oct 2026 · 2 min read

Display the live gold price in Canadian dollars through one free iframe, without an API key. Today's 24K price is unavailable per gram. The jewellery preview shows unavailable per gram at 18K, ready to copy into a page that accepts HTML.

24K gold per gram in CAD
18K gold per gram in CAD

Gold price previews for Canada

Embed code for 24K
<iframe src="https://goldprice.dev/embed/xau?currency=CAD&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 18K
<iframe src="https://goldprice.dev/embed/xau?currency=CAD&unit=gram&karat=18&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, ZARCAD
unitoz, gramgram
karat24, 22, 21, 20, 18, 16, 14, 1024, 18
themeauto, light, darkauto
localeen, ar, es, id, ja, ko, vi, zhen

A gold widget for Canada

Canada's gold page lists 24K, 18K, 14K and 10K values. The widget supports each of those karats when grams are selected. A Canadian jewellery site can choose the setting that matches an item's purity and show its gold content reference.

For coin comparisons, the Gold Maple Leaf has 99.99% purity, so use its fine gold content when comparing it with spot. The widget offers gram and troy ounce displays. A Canadian finance site can place the CAD card alongside its gold coverage.

The gold content behind the price

The gold spot price is the basis for this value, which reflects gold content only. Dealer premium, making charges and tax are excluded. A shop includes these costs in its selling price.

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

Questions

How do I embed a gold price widget in Canadian dollars?

Select a CAD preview and copy its iframe into your page's HTML block. The embedded card shows the gold price in Canadian dollars, refreshes itself and works without account registration or an API key.

Will a Canadian gold shop sell at the widget price?

A Canadian gold shop sets its selling price with making charges, premium and tax added to the gold content value. The CAD widget provides a spot-derived reference and does not include those costs.

Can I show 10K or 14K gold prices in CAD?

Both 10K and 14K are supported gram settings in the widget. Choose CAD, select grams and set the matching karat in the builder to generate code for the jewellery purity you want.

Keep reading

Start with a free API key

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

Get a free key