goldprice.dev vs GitHub gold price API projects

goldprice.dev is a hosted gold, silver and copper spot price API. As of 18 Oct 2026, the GitHub gold price API projects found include regional scrapers, wrappers around hosted APIs and omkarcloud's README-only repository for a hosted gold futures API.

At a glance

Featuregoldprice.devGitHub gold price API projects
Free tier5,000 requests/monthomkarcloud's hosted API: 100 requests/month on its README. Scrapers: free, and you host them
Cheapest paid planBasic · $19/monthomkarcloud Starter · $16/month, 3,000 requests. Scrapers: your own hosting
Update speedFree 15 min late; paid liveomkarcloud: CME gold futures, refresh interval not stated. Scrapers: your schedule
History30 days Free; gold to 1996 on Plus and Proomkarcloud: on request. xdec/gold-price-api: a CSV you build up yourself
CoverageGold, silver and copper on every planGold futures in USD (omkarcloud); Indonesian and Thai dealer prices (scrapers)
InterfacesREST; MCP; SSE or WebSocket on Plus+One REST endpoint (omkarcloud); JSON routes you deploy (scrapers)
Licence and upkeepHosted service with published plans and termsomkarcloud: no licence shown, README-only repo. xdec: GPL-3.0, last push Dec 2022. Two scrapers: MIT
Commercial useEvery plan allows it; no credit link neededCheck each licence and each upstream site's terms; omkarcloud shows no licence

Price at your usage

The lowest published plans for each monthly gold request volume; commercial access is covered in the FAQ.

Requests a monthgoldprice.devGitHub gold price API projects
1,000Free · $0/monthStarter · $16/month (3,000 requests)
10,000Basic · $19/monthGrow · $48/month (15,000 requests)
100,000Basic · $19/monthAbove the largest listed plan, Scale · $148/month (75,000 requests)

As of 18 Oct 2026, omkarcloud Starter costs $16/month for 3,000 requests and Grow costs $48/month for 15,000. The 100,000-request row exceeds Scale's 75,000-request limit. Scrapers need your own hosting.

Switch in a few minutes

Swap the omkarcloud futures price request for a USD gold spot request on your server.

GitHub gold price API projects

# Change: URL and auth
curl -G \
  "https://gold-price-api.omkar.cloud/price" \
  -H "API-Key: YOUR_API_KEY"

goldprice.dev

# Change: URL and auth
curl -G \
  "https://api.goldprice.dev/v1/prices" \
  --data-urlencode "symbol=XAU-USD-SPOT" \
  -H "Authorization: Bearer YOUR_API_KEY"

Why teams switch

An ongoing place to start

5,000 requests each month on Free let you test a recurring workload. No card is required. Every plan allows commercial use; paid plans need no credit link; Free requires a visible link to goldprice.dev near the prices. The usage table shows the lowest tier for each request volume, giving a prototype a clear path to a larger workload.

History for gold applications

Daily gold bars reach 1996 on Plus and Pro. Free covers 30 days; Basic covers one year. Each returned observation includes timestamps and staleness flags, so your application can show the age of a price alongside its value. The long daily series supports a different timescale from intraday bars.

One service for code and agents

MCP is included on every plan alongside REST. Gold, silver and copper are on every plan. The same account supports application requests and agent tools, with the access limits of its selected tier.

When they are the better pick

Open scrapers are the better fit when you want code you control, your own update schedule and Indonesian or Thai dealer prices. They can run without a vendor account, but you provide hosting and upkeep. As of 18 Oct 2026, omkarcloud's hosted API is a better fit for gold futures in USD: Starter costs $16/month for 3,000 requests. The trade-off is that futures differ from spot. Scrapers depend on site markup and terms, while wrappers depend on upstream API limits.

Get a free API key

Sources and review date

Reviewed .

Questions about switching

Is there an open-source gold price API on GitHub?

As of 18 Oct 2026, the search found regional scrapers and wrappers around hosted APIs, with no widely used open-source project for global gold spot prices. iamutaki/logam-mulia-api and max180643/thai-gold-api are MIT scrapers. xdec/gold-price-api is a GPL-3.0 wrapper that builds a CSV history.

Is omkarcloud's gold price API open source or free?

As of 18 Oct 2026, omkarcloud's repository contains a README only, with no service code or licence shown. It points to a hosted commercial API. The README and hosted page list 100 free requests/month, while the repository description says 5,000. Starter costs $16/month for 3,000 requests.

Can I use a GitHub gold price scraper commercially?

Check the project's licence and each upstream site's terms. As of 18 Oct 2026, the Indonesian and Thai scrapers use MIT licences, xdec uses GPL-3.0, and omkarcloud shows no licence.

Are these prices spot or futures?

goldprice.dev provides gold, silver and copper spot prices. As of 18 Oct 2026, omkarcloud's hosted API returns gold futures prices in USD. The Indonesian and Thai scrapers gather regional dealer prices. These are different price types, so choose the one your app needs.

Is there a broader option than goldprice.dev?

goldprice.dev covers gold, silver and copper. Narwhal API is the sibling broader data API for commodities, FX, economics and calendars, with REST and MCP on one key. Free includes 5,000 requests, with spot at the previous day's close. Basic costs $59/month for real time. goldprice.dev and Narwhal API are owned and operated by Nusantara Ventures, LLC.

Start with a free API key

5,000 requests a month on the free plan. No credit card.

Get a free key