Skip to content

LiveUpdates every 5 minutes

Gold Pricesaisear-aldhahab.com

Free app

The gold price, always in your pocket

Get the free app and check every carat in riyals wherever you are. An alert when the rate reaches the level you set, plus the calculators and a home-screen widget.

Download on theApp StoreAndroidComing soon

Saudi Arabia · Saudi riyal

Gold rate widget and open JSON

There are two ways to show today's Saudi gold rate on your own website: paste our widget into a page, or read the same figures from an open JSON file at /api/prices.json. Both carry the rates published on aisear-aldhahab.com and change every 5 minutes.

LiveLast updated Riyadh time

What the widget shows

The widget is a small table with the rate per gram in Saudi riyals for 24K, 22K, 21K and 18K gold, and the date and time of the last update. It takes its figures from our server each time your page is opened, so you have nothing to maintain after pasting the code.

Embed code

Copy the code and paste it into your page's HTML at the place where the widget should appear.

<iframe src="https://aisear-aldhahab.com/en/widget/embed/" width="380" height="330" title="Gold rate in Saudi Arabia today" loading="lazy" style="border:0"></iframe>

Open JSON

If you would sooner build your own display, request /api/prices.json. The file needs no key or registration and returns the current figures in JSON, including the time of the last update.

Fields in the JSON file
FieldWhat it holdsExample value
tsUpdate time, Unix timestamp1794384000
updatedUpdate time, Riyadh time14:35
usd_sarUSD to SAR rate used in the calculation3.75
spot.usd_ozOunce price in US dollars4058.30
spot.prev_closeYesterday's ounce close in US dollars4039.90
spot.open / spot.high / spot.lowToday's ounce open, high and low in US dollars4041.00
gram.24k.buy24K gram, buy, in SAR489.29
gram.24k.sell24K gram, sell estimate, in SAR479.50
gram.24k.prev24K gram at yesterday's close487.07
gram.22k / gram.21k / gram.18kThe same fields for 22K, 21K and 18K…
spread_pctGap between buy and sell, percent2.0
used_discount_pctOld gold discount, percent3.0
vat_pctVAT rate15
market_openWhether the world market is opentrue

What the numbers are

The widget and the JSON carry the figures you see on the site, produced by the same calculation: the international rate per ounce, converted to riyals at 3.75 and divided down to a gram of each carat. They are the value of the metal. They contain no making charge and no VAT, and they are not quotes from any shop. If your page shows them, it helps your readers to keep the update time next to the rate. The methodology page describes the source and each step.

How often to request the data

The figures are recalculated every 5 minutes, so asking for the file more often than that returns the same data. At the weekend, when the international market is shut, the file keeps the last rate until trading resumes.

Questions from site owners

Are the rates in the widget shop prices?

No. They are calculated from the international rate and show what the gold alone is worth per gram. A shop's price adds a making charge and VAT.

How fresh is the rate my visitors see?

No older than 5 minutes while the market is trading, plus the supplier's delay of up to 30 seconds. The update time shown in the widget tells them exactly.

Related pages