Free gold price widgetsWidget

Gold price widget for Indonesia

Give visitors a gold price reference in rupiah that updates itself

27 Oct 2026 · 2 min read

Display the live gold price in Indonesian rupiah using one free iframe, with no API key needed. Today's gold content values are unavailable per gram for 24K and unavailable per gram at 22K. The card refreshes automatically with the update time visible.

24K gold per gram in IDR
22K gold per gram in IDR

Gold price previews for Indonesia

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

The Indonesia gold page covers 24K, 22K and 18K gold in rupiah. Use the matching gram setting when placing a price reference beside jewellery details. The widget shows grams and troy ounces, so visitors can compare the displayed value with an item's stated weight and purity.

An Indonesian shop can use the IDR card to explain the gold content part of a jewellery price. A finance site can place it beside gold coverage. The Indonesian language setting is available, and the spot value leaves out making charges, premium and tax.

Using this price as a reference

Use this value as a reference for gold content only. It comes from the gold spot price and leaves out dealer premium, making charges and tax. These costs are included in a shop's selling price.

The card refreshes on its own, links to goldprice.dev and shows both the update time and gold's twenty four hour percentage change. Its price and the figures in this page's text are both fifteen minutes late, as of unavailable.

Questions

How do I add a gold price widget in rupiah?

Visit /widgets/gold-price and select IDR, your preferred unit and Indonesian if needed. Copy the iframe into a custom HTML block or another page that accepts HTML. No account or API key is required.

Does the rupiah widget show an Indonesian shop's selling price?

The rupiah widget displays a spot estimate for gold content. An Indonesian shop's selling price adds making charges, premium and tax. Check the item's karat and weight before comparing it with the displayed gram value.

Can I display 22K gold prices per gram in IDR?

Select IDR, choose grams and set the karat to 22K in the builder. The widget then shows the spot value for that gold content and refreshes automatically.

Keep reading

Start with a free API key

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

Get a free key