Live spot price of gold or silver in USD per troy ounce
energy_precious_metals_spot_fixLive spot price of gold (XAU) or silver (XAG) in USD per troy ounce from gold-api.com (aggregated free spot feed, no key). This is a spot quote with a timestamp, not the LBMA London AM/PM fixing and not vault holdings; the route name is kept for the owner. Related tools on this server, for a different need: energy_ammonia_fertilizer_spot when you need monthly US producer price indexes for ammonia and nitrogen; energy_cme_agri_spot_futures when you need monthly world reference prices for corn, wheat and soybeans. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "energy_precious_metals_spot_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metal | No | XAU (gold) or XAG (silver); default XAU |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| unit | No | ||
| metal | No | ||
| source | No | ||
| priceUsd | No | ||
| checkedAt | No | ||
| quoteUpdatedAt | No |