MetalAPI
XAU3,997.89−1.54%XAG53.936−1.51%XPT1,554.47−0.83%XPD1,047.03−0.44%XCU6.5080+2.29%WTI103.27+3.82%BRENT111.70−1.30%EUR1.120400−0.01%GBP1.337500−0.01%JPY0.0063761+0.14%CHF1.213445−0.25%TRY0.020125−0.12%BTC80,521.20−0.68%ETH2,363.86−0.85%

Live price widgets

Show gold, silver and currency prices on your website. Pick symbols, layout, currency and unit — the widget updates itself and never exposes your API key.

Price cards
Table in your currency, per gram
Single price
Ticker

Two lines of HTML

Create a widget in your dashboard and paste its embed code where it should appear. It works with any website builder that accepts HTML — WordPress, Shopify, Wix, Webflow or plain HTML.

HTML
<div id="metalapi-widget-w_abc123"></div>
<script src="https://metalapi.com/js/widget.js" data-widget="w_abc123" async></script>
  • Light, dark or automatic theme, custom accent colour.
  • Prices in 55+ currencies, metals per ounce, gram or kilogram.
  • Refresh rate follows your plan — from daily on Free to seconds on Ultra and Enterprise.
  • Pro and higher plans can remove the “Powered by MetalAPI” link.