Free gold price widgetsWidget

Gold price widget for the Philippines

Add gold prices in Philippine pesos to a shop or finance page

27 Oct 2026 · 2 min read

Put the live gold price in Philippine pesos on your page with one free iframe, without an API key. Today's price is unavailable per gram for 24K gold and unavailable per gram at 21K. The display refreshes itself.

24K gold per gram in PHP
21K gold per gram in PHP

Gold price previews for the Philippines

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

A gold widget for the Philippines

The Philippines /gold page shows 24K, 21K and 18K gold values per gram. Both 21K and 18K are common jewellery karats locally. For the same alloy weight, 21K contains more gold, making the selected karat important when comparing spot values.

A Philippine shop or finance site can display the widget in grams and troy ounces, priced in PHP. Beside information about selling gold or borrowing against it, explain that the spot estimate is a reference for gold content, not a pawnshop offer.

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 can I show gold prices in Philippine pesos on my website?

Select PHP in the builder at /widgets/gold-price, then choose your display settings. Paste its iframe into an HTML block on your website. Visitors can see updating gold spot values without needing an API key.

Does the PHP widget show Philippine jewellery shop prices?

Gold values in the PHP widget represent the metal's spot value. Jewellery shop prices add making charges, premium and tax. Use them as a reference.

Can I use the PHP gold price as a pawnshop offer?

A PHP spot estimate is not a pawnshop offer. The widget shows the value of the gold content at the chosen karat, while a pawnshop provides its own offer for selling or borrowing against gold.

Keep reading

Start with a free API key

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

Get a free key