Free · No account · No cookies

Free live gold price widget for any website

Design a live gold, silver, platinum and palladium price widget, preview it instantly and copy the embed code. Built for jewellers, gold buyers and bloggers across Europe.

AI design assistant
Metals
Currency
Unit
Style
Theme
Size
Accent colour

Live preview

Paste anywhere in your HTML. Works on every CMS that allows iframes.

<iframe src="/embed?metals=gold%2Csilver&currency=EUR&unit=g&theme=light&accent=B8860B&style=card&size=m&lang=en"
  width="320" height="174"
  loading="lazy" style="border:0" scrolling="no"
  title="Live gold and silver prices"></iframe>
<a href="https://metalflowapi.com/gold-price-api/eur" target="_blank" rel="noopener">Prices by MetalflowAPI</a>

How the gold price widget works

The builder above generates a small, self-contained price widget that you host nowhere — it lives on our servers and you simply point an iframe or a one-line script at it. Pick the metals you sell or write about, choose a currency, decide whether to quote per gram, per troy ounce or per kilogram, match your brand colour, and the embed code updates as you click. There is no signup, no API key to manage in your website and no database.

Every request to the widget is answered with server-rendered HTML that already contains the latest gold price. That matters: search engine crawlers, email preview tools and visitors on slow connections see a real number instead of an empty box. A tiny inline script then refreshes the quotes every five minutes without reloading the page. If a quote is ever unavailable, the widget shows a dash rather than a misleading 0.00, and retries after 30 seconds.

WordPress, Shopify, Wix and Squarespace

On WordPress, add a Custom HTML block to any page, post or sidebar widget area and paste the iframe snippet. Block themes, classic themes and page builders such as Elementor or Divi all accept it; Elementor users can drop it into an HTML widget. There is also an official MetalflowAPI plugin if you prefer a shortcode.

On Shopify, paste the code into a Custom Liquid section or into a page using the HTML editor — a live gold price next to your buy button reassures customers that your pricing tracks the market. On Wix, use the Embed HTML element; on Squarespace, use a Code block. Ghost, Webflow, Joomla, Drupal, Notion sites and plain static HTML pages work exactly the same way, because the widget is nothing more than an iframe.

Caching, speed and reliability

Upstream quotes are cached in memory for ten minutes per currency and served with CDN cache headers, so thousands of page views cost a handful of upstream calls. If the upstream feed hiccups, the last known good price is served for up to 24 hours instead of showing an error to your visitors. The widget loads no web fonts, no analytics and no JavaScript framework, has a transparent background so it blends into any design, and the iframe is marked loading="lazy" so it never blocks your Core Web Vitals.

Supported currencies and units

Choose from EUR, USD, GBP, CHF, PLN, SEK, DKK, NOK, CZK and HUF — the currencies most European jewellers, scrap gold buyers and pawnbrokers quote in. Gram pricing is the default because that is how the retail trade in Europe quotes gold; troy ounce pricing suits investment and bullion content, while kilogram pricing suits wholesale and refinery audiences. Three layouts are available: a slim ticker line for headers and footers, a compact card for sidebars, and a mini card with a 30-day sparkline that shows visitors where the market has been trending.

Need raw data?

Build your own dashboards, pricing tools or checkout logic with the MetalflowAPI gold price API — live and historical prices for gold, silver, platinum and palladium in 10+ currencies.

Frequently asked questions

Is the gold price widget really free?
Yes. The widget is free to embed on any website, commercial or personal. Each widget carries a small 'Prices by MetalflowAPI' link, which is how the service stays free.
How often do the prices update?
Prices are refreshed on our servers every 10 minutes and each embedded widget re-checks every 5 minutes, so visitors always see a current gold, silver, platinum or palladium price.
Will the widget slow down my website?
No. The widget is a few kilobytes of HTML and inline CSS with no fonts, frameworks or trackers. Prices are rendered on the server, so they appear even before JavaScript runs, and the iframe loads lazily.
Which currencies are supported?
EUR, USD, GBP, CHF, PLN, SEK, DKK, NOK, CZK and HUF. Prices can be shown per gram, per troy ounce or per kilogram.
Can I use it on WordPress, Shopify, Wix or Squarespace?
Yes. Any platform that allows a Custom HTML or embed block works. On WordPress you can also install the official MetalflowAPI plugin.
Where does the price data come from?
All quotes come from MetalflowAPI, a precious metals price API covering gold, silver, platinum and palladium with live and historical data.