Free gold price widgetsWidget

Gold price widget for Hong Kong

Show gold prices in Hong Kong dollars on your own website

26 Oct 2026 · 2 min read

Show the live gold price in Hong Kong dollars with one free iframe and no API key. Today's price is unavailable per gram for 24K gold and unavailable per gram at 18K. The widget refreshes automatically and shows the quote time.

24K gold per gram in HKD
18K gold per gram in HKD

Gold price previews for Hong Kong

Embed code for 24K
<iframe src="https://goldprice.dev/embed/xau?currency=HKD&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=HKD&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, ZARHKD
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 Hong Kong

The Hong Kong gold page shows 24K and 18K prices, plus a spot value for the local bullion tael. That tael weighs 37.429 g. The widget shows grams and troy ounces; a tael value can be worked out from the matching gram price.

A Hong Kong jewellery shop can place the widget beside product details so visitors can check gold content values in HKD. A finance site can use the same card beside market coverage. Shop selling prices add making charges, premium and tax to the gold content value.

How to read the gold price

This value comes from the gold spot price and covers gold content only. A shop's selling price includes dealer premium, making charges and tax. Those costs are excluded here.

Check the card for its update time and gold's twenty four hour percentage change. It refreshes automatically and links to goldprice.dev. The card's price and the figures in the page text are both fifteen minutes late, as of unavailable.

Questions

How do I show the gold price in HKD on my website?

Open the builder at /widgets/gold-price, select HKD and choose grams or troy ounces. Copy the iframe into a page that accepts HTML. The free widget needs no sign-up or API key.

Is the HKD widget price what a Hong Kong shop charges?

The HKD widget shows the spot value of gold content. A Hong Kong shop's selling price adds making charges, premium and tax, so the displayed value is a reference for comparison.

Can the widget show the Hong Kong gold tael?

The widget supports grams and troy ounces. To estimate a Hong Kong bullion tael value, use its weight of 37.429 g and the matching gram price. Select the purity that matches the gold being valued.

Keep reading

Start with a free API key

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

Get a free key