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.

79.22$USD
GET /v2/rates/latest/xag
$ curl -X GET \
  https://api.commoditiespriceapi.com/v2/rates/latest/xag \
 -H "x-api-key: YOUR_API_KEY"
{
  "success": true,
  "timestamp": 1774724335,
  "rates": {
    "XAG": {
      "rate": 79.22,
      "bid": 79.14,
      "ask": 79.22,
      "carats": {
        "24k_per_gram": 2.547,
        "22k_per_gram": 2.3347,
        "21k_per_gram": 2.2286,
        "20k_per_gram": 2.1225,
        "18k_per_gram": 1.9102,
        "16k_per_gram": 1.698,
        "14k_per_gram": 1.4857,
        "12k_per_gram": 1.2735,
        "10k_per_gram": 1.0612,
        "9k_per_gram": 0.9551,
        "8k_per_gram": 0.849
      }
    }
  },
  "metadata": {
    "XAG": {
      "unit": "T.oz",
      "quote": "USD"
    }
  }
}
99.97%
Uptime SLA
<80ms
Avg Response
Live
Data Feed
CFD
Price Source

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.

01

Real-Time Spot Price

Pull live silver prices refreshed every second from global exchanges — London, CME, and Shanghai Futures Exchange.

02

150+ Currencies

Every response can be denominated in any world currency. USD, EUR, GBP, PKR — natively supported in each call.

03

OHLC & Candlestick

Build trading dashboards and analytics with full open-high-low-close data across any time interval you need.

04

24/5 Market Coverage

Silver never sleeps. Our CFD-based feed tracks prices across extended trading hours — capturing moves that benchmark fixes miss.

05

Multiple Units

Troy ounce, gram, kilogram, tola — request silver prices in any unit your app or finance platform requires.

06

Secure & 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.

Documentation →
1
Endpoint
Clean, predictable REST
JSON
Response format
No XML. No surprises.
Any
HTTP client
curl, fetch, axios — all work
0
SDKs required
Just your API key

API 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

GET/v2/rates/latest/xag

Lite plan users receive rates in USD and data may be delayed by up to 10 minutes. The quote parameter is not available on this plan. Premium and Plus users receive real-time rates and can request any supported quote currency.

Authentication

X-API-Keyheader · stringrequired
Your unique API key, passed as a request header. Find it in your dashboard.

Query Parameters

quotestringoptionalPremium & Plus
The target currency to convert the rate into. If omitted, the commodity's native quote currency (USD) is used. Lite plan users cannot use this parameter — it is silently ignored.
includestringoptional
The unit to express the rate in. Additional unit-specific fields are appended to the rate object alongside the base troy ounce rate. Accepted values:
  • gramappends a gram field with the per-gram rate (1 troy oz ÷ 31.1035)
  • tolaappends a tola field with the per-tola rate (1 troy oz ÷ 2.66667)
  • caratappends 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.

Response Fields

successboolean

Always true for 200 responses. Indicates the request was processed successfully.

timestampnumber

Unix timestamp (seconds) of when the rate was generated on the server.

rates.XAGobject

Rate data for XAG. Includes rate (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.XAGobject

Context for the returned rate — the unit it's expressed in (T.oz) and the quote currency (e.g. USD, or whichever currency was requested).

Example

curl https://api.commoditiespriceapi.com/v2/rates/latest/silver \
  -H "X-API-Key: YOUR_API_KEY" \
  -G -d "currency=USD" \
     -d "include=carat"

Get started

Try it free.
No card. No catch.

Start with a 7-day free trial on our Lite plan — 2,000 requests included, zero commitment. Need more runway? Extend your trial up to a full month. When you're ready to scale, request a plan upgrade and we'll have you live within the day.

No credit card · Cancel anytime · Admin-approved upgrades