Embed Live Metal Prices on Your Site
Free, auto-updating price widget — pick a metal, copy one line of HTML, done. No API key, no account.
How to Use It
- Pick your options — metal, country/currency, and light or dark theme.
- Copy the code — a single
<iframe>tag, no JavaScript setup or API key required. - Paste it into your site's HTML, CMS widget area, or blog post.
- The price refreshes itself automatically — nothing else to maintain.
What You're Actually Embedding
The widget above is a single <iframe>, nothing more — a small web page from MetalsCost.com dropped into a rectangle on your own site. Point it at embed-widget.php with a metal and country in the URL, and that inner page pulls the same live price data MetalsCost.com's own homepage runs on, then redraws itself every five minutes on its own timer. Your site never installs a script, registers an API key, or needs any upkeep after the first paste.
All 20 metals tracked on this site are available here — gold and silver alongside copper, lithium, uranium and the rest — and each one can be shown for any of the 22 countries MetalsCost.com covers, converted into that country's own currency. Light or Dark simply swaps the widget's own colour scheme to match whatever design already sits around it; there's nothing else to configure.
It suits anywhere a visitor benefits from seeing today's price without leaving the page — a commodities blog, a jewellery store's homepage, a trading-education site, a WordPress sidebar. Because the price refreshes on its own, there's nothing to remember, and because it's just an iframe, removing it later is as simple as deleting the tag.
Frequently Asked Questions
Every five minutes. The widget itself — not your page — polls MetalsCost.com's live price feed on its own timer once it loads, so the number stays current with nothing for you to refresh or maintain.
No. It loads inside its own <iframe>, a separate mini-document with its own request cycle, so it can't block your page's own scripts, styles or load time. The only ongoing cost is one small network request every five minutes, made by the iframe itself, not your page.
Yes — each iframe carries one metal/country combination. Generate a second or third code snippet above with a different metal selected and paste both <iframe> tags to show several prices side by side.
Yes, on any platform that lets you paste raw HTML. A WordPress Custom HTML block, a Wix embed/iframe element, a Squarespace Code Block, and a hand-built site's own template all accept the same <iframe> tag.
Yes. There's no signup, API key or account anywhere in this flow — generate the code above and paste it into your site.
No. The Country/Currency dropdown covers all 22 countries MetalsCost.com tracks, each shown converted into that country's own currency, not just India.