Data Sources & Methodology
How we calculate every price you see — step by step, with full source attribution.
Overview
Gold Ticker Live aggregates live gold spot price data and currency exchange rates to show indicative bullion-equivalent gold prices across 24+ countries and the karat grades listed below. Our goal is to give gold buyers and investors in the UAE, GCC, and wider Arab world a fast, accurate reference price — available in both English and Arabic.
This is a reference and education tool, not a trading platform. Prices shown are estimates of the wholesale bullion-equivalent value of gold at the current moment. They should be used for orientation, comparison, and research — not as the basis for executing trades or financial transactions.
Historical views combine different source layers depending on the range you choose. Short windows may use live snapshots and browser cache checkpoints, while longer windows can fall back to daily or monthly reference history. We label that resolution in the tracker and in exported files so monthly baselines are never presented as exact intraday history.
Country gold-price pages are not separate retail feeds. They use the same XAU/USD spot-linked reference logic, local-currency conversion, karat purity math, and freshness labels documented here. Retail shop prices can still differ because of making charges, VAT, dealer premium, and local market spread.
Live price pipeline
Loading live reference values…
| Unit | Karat | USD | Value |
|---|---|---|---|
| Loading… | |||
Gold Price Data
Source
We fetch the XAU/USD spot price from
gold-api.com,
a precious metals data API. The price represents the current market spot rate
for one troy ounce of pure gold (99.9% fineness / 24K), denominated in US Dollars. The
response is fetched server-side hourly during market hours by a GitHub Actions workflow
(.github/workflows/gold-price-fetch.yml) and committed to this repository as
data/gold_price.json; the website reads that single file so no API key ever
reaches the browser.
Update Frequency
There are two refresh cycles. Server-side: a GitHub Actions workflow
fetches the latest XAU/USD spot price hourly during market hours and commits it to
data/gold_price.json. Client-side: the browser re-downloads
that file roughly every 90 seconds while a page is open and the device is online — but
because the server-side data only changes hourly, most client polls observe no change.
A visible freshness label on every surface (live · delayed · cached · stale ·
fallback · unavailable) tells you the exact age of the value you're looking at, so
there is no fixed-frequency promise to break.
Caching
The most recently fetched gold price is stored in the browser's
localStorage. When you load a page, the cached price is displayed
immediately — before a network request is made — so you always see a number rather than
a blank. A secondary "fallback" slot stores the previous known price for additional
resilience.
Freshness Indicator
A live countdown timer and "last updated" timestamp are displayed throughout the site. If a live fetch fails, the UI labels the value as "Cached". If the gold timestamp is older than 12 minutes, the UI labels the value as "Stale" (so the site never implies a value is live when it is multiple server refresh windows old).
There is a potential lag of up to 90 seconds versus live institutional trading platforms. This site is for reference only — do not use these prices for executing trades or financial decisions.
Foreign Exchange Rates
Source
Currency exchange rates (USD as the base currency) are fetched from open.er-api.com (free tier). This provides rates for all 24+ currencies supported by the tracker.
Update Frequency
Exchange rates are updated approximately once per 24 hours by the API provider. We cache
the rates locally in localStorage and display an "FX" chip in the tracker
showing the last update time. When FX rates are stale (the provider's
next_update timestamp has passed), a visual stale indicator is shown.
Gold spot freshness and FX freshness do not always move together. A gold snapshot can be recent while the FX layer is still daily, so the tracker and exports label each layer separately.
Exchange rates are mid-market reference rates. Actual gold trade prices — especially for physical import/export — reflect bid/ask spreads, dealer margins, and local market premiums that are not captured here.
The AED Fixed Peg (Special Case)
The UAE Dirham has been officially pegged to the US Dollar at a rate of 3.6725 AED per 1 USD since November 1997. This peg is maintained by the UAE Central Bank and has never changed in over 27 years of continuous operation.
1 USD = 3.6725 AED (official Central Bank of UAE peg)
Our Approach
We never use the AED rate returned by the open.er-api.com API. Even though the API returns an AED rate, free-tier exchange rate APIs can occasionally return rounded or slightly off values. To guarantee accuracy for AED-denominated gold prices, we hardcode the official peg rate of 3.6725 and delete any AED value from the API response before processing.
This means AED gold prices on this site are always mathematically exact relative to the USD spot price — with zero exchange rate uncertainty. This is actually a feature, not a limitation: because the peg has held since 1997, our hardcoded value is more accurate than any API-derived figure.
Reference: UAE Central Bank official communications and regulatory framework.
Karat Conversion
Gold purity is expressed in karats, where 24 karats = pure gold (99.9% fineness). Lower karat grades are alloys — mixtures of gold with other metals such as silver, copper, or palladium. The gold content by weight is a simple fraction:
| Karat Grade | Purity | Fraction | Millesimal Fineness |
|---|
The Price Formula
All prices displayed on this site are derived from a single formula applied consistently across every country and karat grade:
Price per gram = (XAU/USD spot ÷ 31.1035) × (karat ÷ 24) × FX rate
XAU/USD spot— Current gold price in US Dollars per troy ounce-
÷ 31.1035— Converts troy ounce to grams (1 troy oz = 31.1035 g, the international standard) × (karat ÷ 24)— Adjusts for purity (e.g., 22/24 = 0.9167 for 22K)-
× FX rate— Converts USD to the target currency (AED: always 3.6725)
The troy ounce (31.1035 grams) is the universal standard unit for precious metals pricing worldwide. It is distinct from the avoirdupois ounce (28.35 grams) used for everyday weights.
What Our Prices Are Not
Our prices are bullion-equivalent spot values. They intentionally exclude several components that affect real-world retail prices. Understanding these exclusions helps you interpret the numbers correctly.
The DGJG publishes a daily retail floor rate each morning based on the overnight LBMA close. Our price is based on the live international spot price, which updates throughout the day. The two will differ by a small amount depending on how much the market has moved since the DGJG morning fix.
Jewellery prices include fabrication/making charges on top of the gold price. In the Dubai Gold Souk, these typically range from AED 3–12 per gram for machine-made pieces, and up to AED 30+ per gram for handmade or designer jewellery. Investment bars from reputable dealers carry much smaller premiums (typically 0.5–3% over spot).
VAT applies in some countries covered by this tracker. As of 2025: UAE (5%), Saudi Arabia (15%), Bahrain (10%), Oman (5%). Kuwait and Qatar do not currently levy VAT on gold. Our prices do not include any VAT component — add the applicable rate for your jurisdiction to estimate a retail total.
Nothing on this site constitutes financial, investment, or legal advice. Gold markets are volatile. Always consult a qualified financial advisor before making investment decisions.
Before you visit a shop
Our reference price gives you a baseline — the pure gold value at current spot. At any shop, you should also ask about: the making charge per gram, the applicable VAT (UAE: 5%, Saudi Arabia: 15%, Bahrain: 10%, Oman: 5%), and any dealer margin or import premium. Together, these additions can raise the final price 5–30% above the reference estimate shown here.
Spot vs retail explained in full → · Estimate your total in the calculator →
Data Fallback & Reliability
We implement a multi-tier data fallback system to ensure the site remains useful even when APIs are unavailable or slow.
Stale Data Handling
If the gold API fails on a refresh attempt, the last known price is kept visible with an amber "stale" indicator. We never show a blank price — but we also never silently pretend stale data is fresh.
Offline Mode
Because cached data is stored in localStorage, the site displays cached
gold prices and FX rates immediately on load — even without a network connection. Cached
data is labelled with its age so you always know what you are looking at.
CSV and JSON exports keep that same honesty. Every export includes a generated timestamp, source notes, data-resolution context, and a reminder that values are spot-linked reference prices rather than shop quotes.
Freshness states
Every visible price carries a state label so cached or delayed data is never mistaken for live trading quotes.
- Live Fetched within the healthy window
- Cached Browser or service-worker cache
- Delayed Provider lag (often FX)
- Stale Older than our stale threshold
- Fallback Last known value after failure
Frequently asked questions
- Why does my shop quote differ?
- Retail prices add making charges, VAT, design premiums, and dealer margins. Our numbers are spot-linked reference metal value — use the spot vs retail guide and calculator to compare transparently.
- How fresh is the data?
-
Gold spot is committed hourly during market hours to
data/gold_price.json; the browser re-fetches about every 90 seconds. FX updates roughly daily. Check the freshness chip on each surface. - Why is AED pricing special?
- We hardcode the official 3.6725 AED/USD peg — never a floating FX quote — so UAE gram prices move deterministically with XAU/USD.
Disclaimer
All gold prices and currency conversions displayed on this website are estimates only. They are calculated from third-party data sources that may contain errors, delays, or inaccuracies. The prices shown represent theoretical bullion-equivalent values and do not reflect actual retail, wholesale, or trade prices available from any specific dealer, exchange, or institution.
Gold Ticker Live is not a financial services firm, investment advisor, or dealer in precious metals. Nothing on this website constitutes financial, investment, tax, or legal advice. Past gold price performance does not guarantee future results. Gold is a volatile asset — its value can fall as well as rise.
Always verify prices with a licensed gold dealer or financial institution before executing any transaction. Consult a qualified financial advisor for investment decisions. For Zakat calculations, consult a qualified Islamic scholar.