Docs.
Three ways in.
REST over HTTPS, real-time streaming, and a built-in MCP server.
Quickstart
Ten minutes from sign-up to first real price. curl, TypeScript, Python, or MCP.
API Reference
Eighteen endpoints, every parameter, every error code. Live request builder on each page.
MCP server
Claude Desktop + Cursor config in 30 seconds. Eight tools, works on every plan.
WebSocket stream
Live gold and silver ticks over one persistent connection. Subscribe, unsubscribe, pure-listener supported.
More reading
The stuff you'll want once you've wired up the basics.
Free gold price widget
Configure a live spot-price card and embed it with one iframe. No signup or API key.
Methodology
How we source, aggregate, and validate. Read this before you trust a number.
Physical dealer prices
Per-country bullion dealer sell/buyback quotes with premium-over-spot, across 12 countries.
Karat gold price API
Per-gram 24K through 10K prices in 31 currencies from one public endpoint.
Historical gold price API
Cursor-paginated OHLCV, tier windows, settled-bar labels, and bulk history.
vs goldapi.io
Honest head-to-head. Where they win, where we win.
vs metals-api
Feature matrix, pricing, and who should pick which.
Attribution
Where to put the credit line if you use goldprice.dev in a commercial product.
Google Sheets integration
Copy-paste Apps Script for live spot, daily history, reference deltas, and quota-safe refresh.