Silver Price API: Live & Historical XAG Rates
Symbol: XAG | Category: Precious Metal | Exchange: GLOBAL
Get real-time and historical Silver prices with our comprehensive Metals-API.
Historical Coverage
Since 1999-01-04
Data available from this date
Last Update
2026-11-10
Last price update date
Unit Type
Per Troy Ounce
Price per unit
Exchange
GLOBAL
Precious Metal
What is Silver?
Silver (XAG) is a precious metal symbol available through the Metals-API. It provides real-time and historical pricing data that can be accessed via our comprehensive API.
This symbol is classified under the Precious Metal category and is traded on the GLOBAL exchange.
Our API offers seamless integration to access current prices, historical data, fluctuations, and time-series information for Silver.
Silver Price Data Available in the API
Metals-API delivers the silver price (XAG) in JSON through a simple REST API: the latest rate, daily historical prices back to 1999-01-04, time series, fluctuation and OHLC data, in over 200 currencies.
| Symbol | What it gives you |
|---|---|
| Silver spot (XAG) | Reference silver price per troy ounce, with daily history since 1999-01-04. |
| Silver bid (XAG-BID) | Bid side of the silver quote, available since 2023-05-17. |
| Silver ask (XAG-ASK) | Ask side of the silver quote, available since 2023-05-17. |
| LBMA Silver (LBXAG) | LBMA silver price, available since 2021-12-23. |
| COMEX silver front month (SI1) | Silver futures front-month contract on COMEX, available since 2023-09-05. |
| Silver continuous contract (SI00) | COMEX silver continuous futures contract, available since 2023-09-05. |
| Gold/silver ratio | Request XAU and XAG together and divide the USD prices (USDXAU / USDXAG) to get the gold/silver ratio. |
Silver Price in JSON: Example Response
Example request and response (sample from November 1, 2026; not a live price):
https://metals-api.com/api/latest?access_key=YOUR_ACCESS_KEY&base=USD&symbols=XAG,XAU
{
"success": true,
"timestamp": 1793513624,
"base": "USD",
"date": "2026-11-01",
"rates": {
"USD": 1,
"XAG": 0.020347328904398,
"XAU": 0.00025810448069378,
"USDXAG": 49.1465,
"USDXAU": 3874.4
}
}
With base=USD, rates.XAG is the amount of silver, in troy ounces, that 1 US dollar buys. To get the silver price per ounce, invert it: 1 ÷ 0.020347329 ≈ 49.15 USD. The latest endpoint also returns rates.USDXAG (USD per XAG): the price of one troy ounce of silver in US dollars, ready to use. With both metals in the same call you also get the gold/silver ratio: USDXAU ÷ USDXAG = 3,874.40 ÷ 49.15 ≈ 78.8.
Silver Price API: Frequently Asked Questions
How do I get the current silver price in USD?
Call the latest endpoint with base=USD and symbols=XAG. Read rates.USDXAG for the price of one troy ounce in US dollars, or compute 1 / rates.XAG.
How do I calculate the gold/silver ratio?
Request symbols=XAU,XAG with base=USD and divide rates.USDXAU by rates.USDXAG. The result is how many ounces of silver equal one ounce of gold.
How far back does historical silver price data go?
Daily historical silver (XAG) prices are available from 1999-01-04 through the historical and time-series endpoints.
Can I get silver prices in currencies other than USD?
Yes. Set the base parameter to the currency you need, such as EUR, GBP or INR. Rates are always returned relative to the base currency you choose.
Does the API include silver bid/ask, the LBMA price and futures?
Yes. Use XAG-BID and XAG-ASK for the bid and ask quotes, LBXAG for the LBMA silver price, and SI1 or SI00 for COMEX silver futures.
API Usage Examples for XAG
1. Latest Rates Endpoint
Get the most recent Silver price. Depending on your subscription plan, the API's latest endpoint returns real-time data updated at different intervals.
API Request:
https://metals-api.com/api/latest?access_key=YOUR_API_KEY&base=USD&symbols=XAG
Request Parameters:
| Parameter | Description |
|---|---|
access_key | [required] Your API Key. |
base | [optional] Base currency. Default USD. |
symbols | [required] Comma-separated metal or currency codes. |
API Response:
{
"success": true,
"timestamp": 1519296206,
"base": "USD",
"date": "2024-01-15",
"rates": {
"XAG": 2650.45
}
}
2. Historical Rates Endpoint
Get historical Silver price for a specific date. Historical rates are available since January 1999.
API Request:
https://metals-api.com/api/2024-01-15?access_key=YOUR_API_KEY&base=USD&symbols=XAG
Request Parameters:
| Parameter | Description |
|---|---|
YYYY-MM-DD | [required] Date for historical rates. |
access_key | [required] Your API Key. |
base | [optional] Base currency. Default USD. |
symbols | [required] Comma-separated symbol codes. |
API Response:
{
"success": true,
"historical": true,
"date": "2024-01-15",
"base": "USD",
"rates": {
"XAG": 2650.45
}
}
3. Convert Endpoint
Convert any amount from one currency to Silver, or from XAG to another currency. Historical conversion is also supported.
API Request (Real-time):
https://metals-api.com/api/convert?access_key=YOUR_API_KEY&from=USD&to=XAG&amount=100
API Request (Historical):
https://metals-api.com/api/convert?access_key=YOUR_API_KEY&from=USD&to=XAG&amount=100&date=2024-01-15
Request Parameters:
| Parameter | Description |
|---|---|
access_key | [required] Your API Key. |
from | [required] Source currency or metal code. |
to | [required] Target currency or metal code. |
amount | [required] Amount to convert. |
date | [optional] Date for historical conversion (YYYY-MM-DD). |
4. Time-Series Endpoint
Query daily historical Silver rates between two dates. Do not use the current date as end_date.
API Request:
https://metals-api.com/api/timeseries?access_key=YOUR_API_KEY&start_date=2024-01-01&end_date=2024-01-15&symbols=XAG
Request Parameters:
| Parameter | Description |
|---|---|
access_key | [required] Your API Key. |
start_date | [required] Start date (YYYY-MM-DD). |
end_date | [required] End date (YYYY-MM-DD). |
base | [optional] Base currency. Default USD. |
symbols | [required] Symbol code(s). |
5. Fluctuation Endpoint
Retrieve how Silver prices changed between two dates: start/end rates, absolute and percentage change. One symbol per request.
API Request:
https://metals-api.com/api/fluctuation?access_key=YOUR_API_KEY&start_date=2024-01-01&end_date=2024-01-15&symbols=XAG
6. Open/High/Low/Close (OHLC) Price Endpoint
Get open, high, low, and close price for Silver on a specific date. Open/close are based on UTC day. One symbol per request.
API Request:
https://metals-api.com/api/open-high-low-close/2024-01-15?access_key=YOUR_API_KEY&base=USD&symbols=XAG
Uses and Related Industries
Primary Industries
- Jewelry & Appraisal: Used for valuation and pricing of precious metal components
- Mining & Refining: Monitor spot prices for production and sales strategies
- Financial Services: Portfolio analysis, risk management, and commodity exposure
- Trading Platforms: Real-time metals and forex pricing integration
- Manufacturing: Cost estimation and supply chain decisions for metal-intensive industries
Specific Applications
- Real-time spot price tracking and monitoring
- Historical performance and trend analysis
- Portfolio valuation and benchmarking
- Risk assessment and financial modeling
- Currency conversion and multi-currency reporting
Factors Influencing XAG Price
Market Factors
- Supply and Demand: Mining output, recycling, and industrial demand
- Economic Indicators: GDP growth, inflation, and interest rates
- Currency Movements: USD and major forex pairs (metals often quoted in USD)
- Investor Sentiment: Safe-haven flows and risk appetite
Technical Factors
- Volume and Liquidity: Trading volume and market depth
- Price Momentum: Short and long-term trends
- Support and Resistance: Technical levels and chart patterns
- Volatility: Options and derivatives market activity
External Factors
- Geopolitical Events: Stability and trade policies
- Regulatory Changes: Environmental and mining regulations
- Global Markets: Equity and bond market correlations
- Central Bank Policy: Monetary policy and reserve demand
Related Symbols - Precious Metal
Other related symbols in the same category you can query:
Explore More
Explore all available metals and currencies: