price-chart.com
price-chart.com
Gold →Silver →Platinum →Palladium →
Copper →Aluminium →Nickel →Zinc →Lead →Tin →
WTI crude oil →Brent crude oil →Dubai crude oil →US natural gas →
Oil benchmarks →Crude quality →Listed oil companies →Russian refinery status map
All stories →Commodity price race →Oil cargo value →Metal supply concentration →Everyday materials →
Commodity Data Lab →All calculators →Compare markets →Gold–silver ratio →Historical prices →Reading Room →Our methodology →Sitemap →

Free commodity price widgets for your site.

A widget is a small piece of price-chart.com that can live inside another webpage. Choose what it shows, preview it here and copy the code into your site.

Build and preview your widget.

The preview changes when you choose a widget, commodity or theme. The code below it is the exact snippet to copy.

Choose what to show

Start with one market, or compare two markets on the same scale.

Preview

This is what visitors will see.

Responsive

Choose the widget that answers your question.

Each type keeps the market name, measurement basis and a path back to the full page.

Latest price card

Use this when one recent reference is the main fact. The date and source context help readers understand how current it is.

See a full price page →

Historical sparkline

Use this to show direction and shape over time. Open the full market page when you need exact values or downloads.

Browse historical prices →

Two-market comparison

Use this when the question is about relative movement. Both series share a chart so readers can compare the same view.

Open the comparison workbench →

How to publish a widget.

Choose and preview

Select the widget type, market and colour theme. Check the preview before copying anything.

Copy one code block

Select “Copy embed code,” then paste the iframe snippet into a page that accepts custom HTML.

Check the finished page

Open the published page on a phone and a computer. Make sure the card is readable and has enough width.

Where these widgets are useful.

Use a widget when readers benefit from seeing the current stored reference without leaving the page immediately.

Common widget questions.

Does the widget show a live tradable price?

No. It shows the latest stored reference available for that series. The frequency, observation date and source context distinguish daily references from monthly averages.

Will the widget update by itself?

Yes. The iframe loads the current stored data from price-chart.com whenever the host page is opened. You do not need to paste new code after each data update.

Can I change the size?

The embed uses the full width of its container. You can place it in a wider or narrower page column, but keep the supplied height unless you have checked the result carefully.

Where can a reader check the original context?

Every widget includes price-chart.com attribution. The full market pages provide longer history, source notes, units and downloadable observations.

Explore before you embed.

Use the full tools to decide which market and view actually answer your reader’s question.