Silver Price API — XAG
Silver data, refined for developers.
Pull live XAG spot prices, and multi-currency silver data with one clean API call. No bloat. No nonsense.
- Unlimited free trial for integrations
- No credit card
- JSON over HTTPS
Gold-to-silver ratio
71.1: 1
One ounce of gold buys 71.1 ounces of silver right now. Traders watch this ratio to judge which metal is cheap. Request XAU and XAG and divide, or open the gold-to-silver ratio tool.
- Troy ounce
- 58.03USD/T.oz
- default
- Gram
- 1.866USD/g
- include=gram
- Tola
- 21.76USD/tola
- include=tola
- Kilogram
- 1,865.71USD/kg
- gram × 1,000
Capabilities
Built for real use.
Silver sits at the intersection of finance and industry. The API reflects that complexity — giving you accurate pricing data for every use case, whether you're building a trading dashboard or a retail pricing tool.
- 01Real-Time Spot Price
- Pull live silver prices refreshed every second from global exchanges — London, CME, and Shanghai Futures Exchange.
- 02150+ Currencies
- Every response can be denominated in any world currency. USD, EUR, GBP, PKR — natively supported in each call.
- 03OHLC & Candlestick
- Build trading dashboards and analytics with full open-high-low-close data across any time interval you need.
- 0424/5 Market Coverage
- Silver never sleeps. Our CFD-based feed tracks prices across extended trading hours — capturing moves that benchmark fixes miss.
- 05Multiple Units
- Troy ounce, gram, kilogram, tola — request silver prices in any unit your app or finance platform requires.
- 06Secure & Reliable
- TLS-encrypted, key-authenticated requests with 99.97% uptime SLA. Built for production-grade applications.
Integration
Integrate in under 5 minutes.
A REST API with predictable JSON responses. Authenticate once, query anywhere. No SDK required — works with any HTTP client in any language.
DocumentationAPI reference
Live silver rates
Returns the latest CFD-based spot rate for silver (XAG), including bid and ask prices. Rates are sourced from live OTC market feeds and reflect real-world traded prices.
Endpoint
quote parameter is not available on that plan. Standard, Advanced and Enterprise users can request any supported quote currency. On the legacy Lite plan rates are in USD and may be delayed by up to 10 minutes.Authentication
X-API-Keyheader · stringrequiredQuery parameters
quotestringoptionalStandard & aboveincludestringoptionalgram— appends a gram field with the per-gram rate (1 troy oz ÷ 31.1035)tola— appends a tola field with the per-tola rate (1 troy oz ÷ 2.66667)carat— appends a carats object with per-gram rates for 24k, 22k, 21k, 20k, 18k, 16k, 14k, 12k, 10k, 9k, and 8k purity
The base rate, bid, and ask fields are always returned in troy ounce regardless of this parameter.
metadatabooleanoptionalmetadata object in the response. Defaults to true. Pass false to receive only the rate and keep the payload minimal. Any other value is treated as the default.Response fields
successbooleantrue for 200 responses. Indicates the request was processed successfully.timestampnumberrates.XAGobjectrate (mid-market price per troy ounce), bid (highest buy price), and ask (lowest sell price). Additional fields — gram, tola, or carats — are present only when the include parameter is passed.metadata.XAGobjectT.oz) and the quote currency (e.g. USD, or whichever currency was requested). Omitted when the request sets metadata=false.Example
$ curl https://api.commoditypriceapi.com/v3/rates/latest/xag \
-H "X-API-Key: YOUR_API_KEY" \
-G -d "quote=USD" \
-d "include=carat"Sample values. Run the playground above for a live response.
Get started
Try it free. No card. No catch.
Start with an unlimited free trial for integrations on our Basic plan — no credit card, zero commitment. When you're ready to scale, request a plan upgrade and we'll have you live within the day.
- Unlimited free trial for integrations
- No card required
- Cancel anytime