goldprice.dev vs Barchart

Build a gold application around spot prices, daily history, and physical dealer quotes with goldprice.dev.

At a glance

Featuregoldprice.devBarchart
Free tier5,000 requests/monthLimited-request trial
Cheapest paid planBasic · $19/monthContact sales
Update speedFree 15 min late; paid liveReal-time, delayed or end-of-day
History30 days Free; gold to 1996 on Plus and ProTick, minute and daily; depth not published
CoverageGold, silver and copper on every planStocks, funds, futures, FX and crypto
InterfacesREST; MCP; SSE or WebSocket on Plus+GET, POST, SOAP; JSON, XML, CSV
SDKsnpm @nusantara-ventures/goldprice; PyPI goldprice-devJava, JavaScript, PHP, Python, MATLAB
Commercial use on free tier✓ No credit requiredTrial licence not published

Price at your usage

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

Requests a monthgoldprice.devBarchart
1,000Free · $0/monthContact sales
10,000Basic · $19/monthContact sales
100,000Basic · $19/monthContact sales

Barchart sells custom OnDemand packages; prices for these request volumes are available through sales.

Switch in a few minutes

Replace the GC*1 gold futures lookup with a USD gold spot request on your server.

Barchart

# Change: URL and auth
curl -G \
  "https://ondemand.websol.barchart.com/getQuote.json" \
  --data-urlencode "apikey=YOUR_API_KEY" \
  --data-urlencode "symbols=GC*1"

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; no plan needs a credit link. 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

Barchart is the better pick for futures contract discovery, several asset classes, or legacy delivery formats. Its OnDemand catalogue supports GET, POST, and SOAP requests with JSON, XML, and CSV responses. Tick and minute-bar history serve analyses that need finer intervals than daily bars, while custom packages combine instruments and delivery options.

Get a free API key

Sources and review date

Reviewed .

Questions about switching

Can I use goldprice.dev commercially?

Yes. Every plan allows commercial use, subject to terms and source rights. Free includes 5,000 monthly requests, MCP and 30 days of history. No card required.

Does Barchart offer a free trial?

Yes. Barchart advertises a free trial with limited requests. Its OnDemand service offers custom packages through contact. goldprice.dev publishes monthly plans and request caps, so a small gold project can compare its expected volume against a listed tier.

What kinds of history does Barchart provide?

The official API catalogue describes tick, minute-bar, and end-of-day history. That is useful when the sampling interval drives your analysis. goldprice.dev has daily gold bars from 1996 on Plus and Pro, covering long-term gold analysis with one bar per day.

Is Barchart data always real time?

Barchart offers real-time, delayed, and end-of-day data through its packages. A daily reference supports end-of-day reporting, while real-time delivery serves applications that react during the market session. The selected delivery option determines which observations the application receives.

Start with a free API key

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

Get a free key