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,329.75−0.55%ETH2,329.36−1.13%

MetalAPI blog

Building with precious metals data

Tutorials, explainers and deep dives for developers working with gold, silver, commodity, currency and crypto prices.

RSS feed
LatestOctober 25, 2026·10 min read

Connect Claude and ChatGPT to Live Gold Prices with MCP

Connect Claude, ChatGPT, Cursor and VS Code to live gold and metal prices with the MetalAPI MCP server: OAuth or API key setup, tools, safety and quotas.

Read more

All articles

GoldAPI

Gold Price API: The Complete Developer Guide

How to use a gold price API: get a key, call it from curl, JavaScript and Python, read the rates correctly, and handle history, errors, quotas and caching.

October 25, 2026 · 9 min read
WidgetsTutorial

How to Add a Live Gold Price Widget to Your Website

Add a live gold price widget to WordPress, Shopify or plain HTML: build it in the MetalAPI dashboard, choose symbols, layout and theme, then paste two lines.

October 25, 2026 · 8 min read
GoldJewelry

Gold Karat Prices Explained: 24K, 22K, 18K and How to Calculate Them

What 24K, 22K and 18K mean, how fineness marks like 916 and 750 relate, how to calculate karat gold prices per gram and how to get them from a gold price API.

October 25, 2026 · 9 min read
TutorialE-commerce

Build a Jewelry Price Calculator with Live Gold Prices

Build a server-side jewelry price calculator in TypeScript and Python with live gold prices per gram, karat purity, making charges, VAT and quota-safe caching.

October 25, 2026 · 10 min read
GoldSilver

Historical Gold and Silver Prices via API: 25 Years of Daily Data

Get daily historical gold and silver prices back to 2000 with /historical, /timeframe, /change and /ohlc, page long ranges by year, store the data and chart it.

October 25, 2026 · 10 min read
WebhooksAlerts

Automate Gold and Silver Price Alerts with Webhooks

Automate gold and silver price alerts with signed webhooks: alert conditions, cooldowns, the payload, HMAC-SHA256 verification in Node and Python, and retries.

October 25, 2026 · 9 min read
GoldSilver

Troy Ounces, Grams and Kilograms: Converting Precious Metal Prices Correctly

Troy vs avoirdupois ounces, exact gram and kilogram factors, the API's unit parameter, rounding rules and the bugs that put metal prices off by almost 10%.

October 25, 2026 · 9 min read
Precious MetalsMarkets

Spot, Bid, Ask and Spread: How Precious Metal Prices Are Quoted

What spot, bid, ask, mid and spread mean for gold, silver, platinum and palladium, how dealers build quotes, and how to request and display bid/ask via API.

October 25, 2026 · 9 min read
StreamingJavaScript

Streaming Real-time Metal Prices with Server-Sent Events

Stream real-time gold and silver prices with Server-Sent Events: the /stream endpoint, its events, EventSource vs Node.js, reconnects, quotas and a live ticker.

October 25, 2026 · 10 min read
Industrial MetalsEnergy

Copper, Aluminium, Zinc and Oil Prices via API: A Developer's Guide

Get copper, aluminium, zinc, steel, crude oil and natural gas prices via API: natural units, normalisation, front-month futures, conversions and code samples.

October 25, 2026 · 8 min read
GuidePrecious Metals

How to Choose a Precious Metals Price API: 12 Questions to Ask

A vendor-neutral checklist for choosing a precious metals price API: sources, freshness, history, units, bid/ask, limits, pricing, security, terms and MCP.

October 25, 2026 · 10 min read