Free Gold Price JSON API
No API key required. Rate limit: 60 requests/minute per IP.
Current price
GET https://www.goldpricetoday.lk/api/v1/gold-price
{
"status": "ok",
"as_of": "2026-09-27T10:15:00+05:30",
"verification_mode": "dual_source",
"currency": "LKR",
"spot_usd_per_oz": 2650.12,
"usd_lkr": 302.5,
"prices": {
"24k": { "per_gram": 25781.40, "per_8g": 206251.20, "per_troy_ounce": 801747.20 },
"22k": { "per_gram": 23632.28, "per_8g": 189058.24, "per_troy_ounce": 735268.60 },
"21k": { "per_gram": 22558.73, "per_8g": 180469.80, "per_troy_ounce": 701528.30 },
"18k": { "per_gram": 19336.05, "per_8g": 154688.40, "per_troy_ounce": 601310.40 }
},
"sources": {
"gold_primary": "gold_api_com",
"gold_secondary": "metalpriceapi",
"fx_primary": "open_exchange_rates",
"fx_secondary": "exchangerate_api_open"
}
}
History
GET https://www.goldpricetoday.lk/api/v1/gold-price/history?range=30d
range accepts any {n}d value, e.g. 7d, 90d, 365d. Default is 30d.
Other feeds
- RSS: /rss/gold-price.xml (also /feed.xml)
- Widget: /gold-price-widget
- Sitemap: /sitemap.xml
See data sources & methodology for how these numbers are produced and verified.