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.
Gold price previews for Indonesia
<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><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.
| 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 | IDR |
| 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 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.