goldprice.dev vs TradingView
goldprice.dev supplies gold prices and history for your application’s backend, calculations, and charts. TradingView supplies the charting experience: widgets connect to TradingView data, while the self-hosted Advanced Charts library uses your own datafeed. The comparison below separates published data access from the chart products that display it.
At a glance
| Feature | goldprice.dev | TradingView |
|---|---|---|
| Free tier | 1,000 requests/month | Advanced Charts free for public websites |
| Cheapest paid plan | Physical · $10/month | Data API price not published |
| Update speed | Source-dependent; timestamps and staleness flags | Data API cadence not published |
| History | 30 days free; daily gold to 1996 on Pro | Data API history not published |
| Coverage | Gold; silver and copper on Pro | Charts and widgets; no public data API |
| Interfaces | REST; MCP; WebSocket on Pro | Widgets; bring your own chart datafeed |
| SDKs | Not published | Chart library, not a data SDK |
| Commercial use on free tier | ✗ Non-commercial only | Library licence limited to public websites |
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 | TradingView |
|---|---|---|
| 1,000 | Free · $0/month | Not published |
| 10,000 | Physical · $10/month | Not published |
| 100,000 | Pro · $30/month | Not published |
TradingView publishes no public market-data API allowance at these volumes; chart subscriptions and library licences cover separate products.
Switch in a few minutes
Fetch USD gold spot on your server, then connect the result to your chart’s datafeed.
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"// 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());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
1,000 gold requests each month on Free let you test a recurring workload. No card is required. Commercial use starts on Pro at $30/month. 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 Pro. Free covers 30 days, and Physical 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. Start with gold; Pro adds silver and copper. The same account supports application requests and agent tools, with the access limits of its selected tier.
When they are the better pick
TradingView is the better pick for a ready-to-embed chart widget or its Advanced Charts interface. Widgets connect to TradingView data and handle the display. Advanced Charts gives a public website a self-hosted charting library connected to its own feed. Trading Platform serves brokers under a separate paid licence.
Questions
Can I use goldprice.dev commercially?
Yes. Pro includes commercial use at $30/month, subject to terms and source rights. Free and Physical are non-commercial. Free includes 1,000 monthly gold requests, MCP, and 30 days of history, with no credit card required.
Does Advanced Charts include market data?
No. The library contains no market data. You must connect a datafeed. TradingView widgets are different: they connect to TradingView data. A free chart library does not by itself supply prices to your backend or calculations.
Can goldprice.dev provide data for a chart?
It provides gold spot and historical data through an API. Your application connects those API responses to the chart library through its datafeed interface. goldprice.dev supplies the observations; the datafeed adapter maps them into the format expected by the chart.
Which TradingView licence covers a public chart?
The Advanced Charts licence is limited to public websites. Trading Platform is licensed to brokers with fees. The chart-library licence covers the display software, while the data provider’s licence covers the underlying prices. Widgets use their own TradingView data connection.
Related comparisons
Get a free API keySources and review date
Reviewed .