Embed the live gold price in Japanese yen with a single free iframe and no API key. Today's 24K price is unavailable per gram, and the 18K price is unavailable per gram. Automatic refresh keeps the card updated.
Gold price previews for Japan
<iframe src="https://goldprice.dev/embed/xau?currency=JPY&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=JPY&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.
| 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 | JPY |
| unit | oz, gram | gram |
| karat | 24, 22, 21, 20, 18, 16, 14, 10 | 24, 18 |
| theme | auto, light, dark | auto |
| locale | en, ar, es, id, ja, ko, vi, zh | en |
A gold widget for Japan
The Japan gold page shows 24K and 18K values in yen. Both karats are available when the widget uses grams. The card displays grams and troy ounces, giving a Japanese shop or finance page a choice of weight units for its gold reference.
A shop in Japan can place a JPY gram preview beside jewellery details to show the value of its gold content. A finance site can choose Japanese for the widget text. The displayed spot reference excludes the making charges, premium and tax added to selling prices.
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.