Silver Price API — XAG
Silver data, refined for developers.
Live silver spot prices for your app: the mid-market price from the global over-the-counter spot market, refreshed every second with bid and ask, per troy ounce, gram or tola, in USD or 150+ currencies.
- Unlimited free trial for integrations
- No credit card
- JSON over HTTPS
Gold-to-silver ratio
76.6: 1
One ounce of gold buys 76.6 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
- 52.82USD/T.oz
- default
- Gram
- 1.698USD/g
- include=gram
- Tola
- 19.81USD/tola
- include=tola
- Kilogram
- 1,698.20USD/kg
- gram × 1,000
Key facts
Silver price API at a glance
CommodityPriceAPI's silver price (XAG) is a mid-market reference rate for spot silver: the midpoint between the live bid and ask, taken from real-time market data for the global over-the-counter spot market sourced from official banks and exchanges, which trades around the clock from Sunday evening to Friday evening. It is refreshed every second and returned in US dollars per troy ounce.
- Symbol
- XAG (ISO 4217 code for one troy ounce of silver)
- Price basis
- Mid-market reference rate (midpoint of live bid and ask)
- Data sources
- Real-time market data for the global over-the-counter spot market, sourced from official banks and exchanges
- Underlying market
- Global over-the-counter spot market, centred on London; trades 24/5, Sunday evening to Friday evening
- Update frequency
- Every second, all current plans
- Bid and ask
- Returned with every rate
- Units
- Troy ounce (31.1035 g); gram and tola on request
- Quote currencies
- USD by default; 150+ currencies with the quote parameter on the Standard plan or above
- Not included
- The LBMA Silver Price auction benchmark, a COMEX settlement, or an executable quote
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
- Live XAG spot price refreshed every second: the mid-market price from the global over-the-counter silver market, where banks and dealers trade physical silver around the clock.
- 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 trades around the clock from Sunday evening to Friday evening. XAG follows the spot market through every session, not just at the daily benchmark auction.
- 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 spot rate for silver (XAG): the mid-market price from the global over-the-counter spot market, including bid and ask 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.
01
Where does your silver price come from?
XAG is a mid-market reference rate: the midpoint between the live bid and ask, taken from real-time market data for the global over-the-counter spot silver market, sourced from official banks and exchanges. The market is centred on London, where banks and dealers trade physical silver around the clock, and XAG is refreshed every second.
02
Is this the LBMA Silver Price?
No. The LBMA Silver Price is a benchmark set by auction once a day, at 12:00 London time, and administered by ICE Benchmark Administration. XAG is the live spot price from the same over-the-counter market, so it moves every second, all day.
03
Is this the COMEX silver price?
No. COMEX silver is a New York futures contract and usually trades slightly above spot because of time to delivery. XAG is a spot price.
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