---
title: "GitHub gold price API comparison (2026) · goldprice.dev"
description: "Compare goldprice.dev with GitHub gold price API projects on spot and futures prices, hosting, licences, request limits, history, MCP and monthly plan costs."
canonical: "https://goldprice.dev/comparison/github-gold-price-api"
---

> Index of every goldprice.dev page and doc for AI readers: [llms.txt](https://goldprice.dev/llms.txt)

# goldprice.dev vs GitHub gold price API projects

goldprice.dev is a hosted spot and futures price API for gold, silver, copper, platinum and palladium. 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.

[Get a free API key](https://goldprice.dev/signup?next=/account) · [See pricing](https://goldprice.dev/pricing)

## At a glance

| Feature | goldprice.dev | GitHub gold price API projects |
| --- | --- | --- |
| Free tier | 5,000 requests/month | omkarcloud's hosted API: 100 requests/month on its README. Scrapers: free, and you host them |
| Cheapest paid plan | Basic · $19/month | omkarcloud Starter · $16/month, 3,000 requests. Scrapers: your own hosting |
| Update speed | Free 15 min late; paid live | omkarcloud: CME gold futures, refresh interval not stated. Scrapers: your schedule |
| History | 30 days Free; gold to 1996 on Plus and Pro | omkarcloud: on request. xdec/gold-price-api: a CSV you build up yourself |
| Coverage | Gold, silver, copper, platinum and palladium, spot and futures, on every plan | Gold futures in USD (omkarcloud); Indonesian and Thai dealer prices (scrapers) |
| Interfaces | REST; MCP; SSE or WebSocket on Plus+ | One REST endpoint (omkarcloud); JSON routes you deploy (scrapers) |
| Licence and upkeep | Hosted service with published plans and terms | omkarcloud: no licence shown, README-only repo. xdec: GPL-3.0, last push Dec 2022. Two scrapers: MIT |
| Commercial use | Every plan allows it; no credit link needed | Check 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 month | goldprice.dev | GitHub gold price API projects |
| --- | --- | --- |
| 1,000 | Free · $0/month | Starter · $16/month (3,000 requests) |
| 10,000 | Basic · $19/month | Grow · $48/month (15,000 requests) |
| 100,000 | Basic · $19/month | Above 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.

### curl

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

### JavaScript

```javascript
// Change: URL and auth
const url = new URL(
  "https://gold-price-api.omkar.cloud/price"
);
url.search = new URLSearchParams({

}).toString();
const response = await fetch(url, {
  method: "GET",
  headers: {
    "API-Key": "YOUR_API_KEY",
  },
});
if (!response.ok) {
  throw new Error(String(response.status));
}
console.log(await response.json());
```

### Python

```python
import requests

# Change: URL and auth
response = requests.get(
    "https://gold-price-api.omkar.cloud/price",
    params={

    },
    headers={
        "API-Key": "YOUR_API_KEY",
    },
    timeout=10,
)
response.raise_for_status()
print(response.json())
```

### curl

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

### JavaScript

```javascript
// Change: URL and auth
const url = new URL(
  "https://api.goldprice.dev/v1/prices"
);
url.search = new URLSearchParams({
  "symbol": "XAU-USD-SPOT",
}).toString();
const response = await fetch(url, {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
  },
});
if (!response.ok) {
  throw new Error(String(response.status));
}
console.log(await response.json());
```

### Python

```python
import requests

# Change: URL and auth
response = requests.get(
    "https://api.goldprice.dev/v1/prices",
    params={
        "symbol": "XAU-USD-SPOT",
    },
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
    },
    timeout=10,
)
response.raise_for_status()
print(response.json())
```

## 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, copper, platinum and palladium, spot and futures, 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.

## Related comparisons

- [gold-api.com comparison](https://goldprice.dev/comparison/gold-api)
- [Yahoo Finance comparison](https://goldprice.dev/comparison/yahoo-finance)
- [API Ninjas comparison](https://goldprice.dev/comparison/api-ninjas)

[Get a free API key](https://goldprice.dev/signup)

## Sources and review date

Reviewed 2026-10-18.

- [omkarcloud/gold-price-api](https://github.com/omkarcloud/gold-price-api)
- [Omkar Cloud gold price API](https://www.omkar.cloud/tools/gold-price-api/about)
- [xdec/gold-price-api](https://github.com/xdec/gold-price-api)
- [iamutaki/logam-mulia-api](https://github.com/iamutaki/logam-mulia-api)
- [max180643/thai-gold-api](https://github.com/max180643/thai-gold-api)
- [Our prices and quotas](https://goldprice.dev/pricing)

## 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 spot and futures prices for gold, silver, copper, platinum and palladium. 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, copper, platinum and palladium, spot and live futures. Narwhal API is the sibling broader data API for commodities, FX, economics and calendars, with REST and MCP on one key. Every account gets $10 of free credit each month, then pays as you go from $2 per 1,000 calls, with real-time prices. 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](https://goldprice.dev/signup?next=/account)

- [vs goldapi.io](https://goldprice.dev/comparison/goldapi-io)
- [vs Metals-API](https://goldprice.dev/comparison/metals-api)
- [vs MetalpriceAPI](https://goldprice.dev/comparison/metalpriceapi)
- [vs metals.dev](https://goldprice.dev/comparison/metals-dev)
- [Best gold price APIs (2026)](https://goldprice.dev/comparison/best-gold-price-api)
- [Python](https://goldprice.dev/tutorials/python)
- [Excel](https://goldprice.dev/tutorials/excel)
- [Google Sheets](https://goldprice.dev/tutorials/google-sheets)
- [Next.js](https://goldprice.dev/tutorials/nextjs)
- [Gold price alerts](https://goldprice.dev/tutorials/gold-price-alerts)
- [Gold price (XAU/USD)](https://goldprice.dev/prices/xau-usd)
- [Silver price (XAG/USD)](https://goldprice.dev/prices/xag-usd)
- [Gold price in EUR (XAU/EUR)](https://goldprice.dev/prices/xau-eur)
- [Gold price in JPY](https://goldprice.dev/gold/jpy)
- [Best gold price APIs, per Reddit](https://goldprice.dev/guides/best-gold-price-api-reddit)
- [World Gold Council API alternative](https://goldprice.dev/guides/world-gold-council-api-alternative)

Source: https://goldprice.dev/comparison/github-gold-price-api
