Docs.
Start here.
REST over HTTPS, real-time streaming, and a built-in MCP server.
Quickstart
Make an anonymous request and read the exact response.
API Reference
REST operations, parameters, examples, errors, and schema links.
MCP server
Connect an MCP client to goldprice.dev tools.
WebSocket stream
Live gold and silver ticks over one persistent connection. Subscribe, unsubscribe, pure-listener supported.
More reading
Focused guides for specific data and integration needs.
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.