Put today's gold price on your site
A free widget that shows today's gold price per karat in the currency of the country you pick and refreshes itself every minute from the same sources as the site. Copy the line below and paste it where the prices should appear; no sign-up, no key.
The code
<div class="goldup2date">
<script src="https://goldup2date.com/assets/embed.js" data-country="US" data-lang="en" data-theme="auto" async></script>
<a href="https://goldup2date.com/en/usa/">Gold price today in the USA – GoldUp2Date</a>
</div>
Live preview
Or as an iframe (no script)
The same widget in a stand-alone frame, for platforms that allow no scripts (blogs, forums, Notion): copy the line as it is; the link inside it points back to the price page.
<iframe src="https://goldup2date.com/widget/?c=US&l=en" title="Gold price today in the USA – GoldUp2Date" width="360" height="230" loading="lazy" style="border:0;border-radius:16px;max-width:100%"></iframe>
Live price badge (an image)
For a single number without a script: a small SVG image, refreshed every minute, with the gram price of one karat in one currency, added like any image to a page, a forum post or a README. The address is /api/badge/<metal>-<karat>-<currency>.svg, for example gold-21-EGP, gold-24-USD or silver-999-SAR.
<a href="https://goldup2date.com/en/usa/"><img src="https://goldup2date.com/api/badge/gold-24-USD.svg" alt="Gold price per gram, 24K, in US dollars, now" height="20"></a>
Options
| data-country | country code: EG Egypt · SA Saudi Arabia · AE UAE · KW Kuwait · QA Qatar · BH Bahrain · OM Oman · JO Jordan · US · GB · IN India · PK Pakistan · TR Turkey · ID Indonesia · MA · TN · DZ · IQ · LY |
| data-lang | en for English or ar for Arabic |
| data-theme | auto (the visitor's device), light or dark |
| data-karats | the karats shown, in order, e.g. 24,22,18 |
| data-width | maximum width, default 420px |
Free for any site as long as the visible GoldUp2Date link under the widget stays as it is. Prices are the world ounce converted at the exchange rate at display time, before workmanship and taxes.