{"uid":"cap_3_gq-J1NIOlta_qaBDs7o","slug":"sitecheck-trade-energy-precious-metals-spot-price-32268f32","name":"SiteCheck Trade & Energy – Precious Metals Spot Price","description":"Live 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.","url":"https://api.tradeenergy-api.workers.dev/api/energy/precious-metals-spot-fix?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"metal":{"type":"string","description":"XAU (gold) or XAG (silver); default XAU"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"Gold","unit":"USD per troy ounce","metal":"XAU","source":"https://api.gold-api.com/price/XAU","priceUsd":4027,"checkedAt":"2026-10-23T09:38:07.541Z","quoteUpdatedAt":"2026-10-23T09:37:43Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YMo3jmJWmSeWZN0gP5rYV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the live spot price of gold (XAU) or silver (XAG) in USD per troy ounce, sourced from gold-api.com's aggregated free spot feed.","exampleAgentPrompt":"What's the current spot price of gold per troy ounce in USD right now?","exampleUseCases":[{"title":"Real-time gold price alert","prompt":"Check the current gold spot price for me — I want to know if XAU is above $3,900 per troy ounce right now."},{"title":"Silver portfolio valuation","prompt":"I hold 50 troy ounces of silver — what is the current XAG spot price in USD so I can calculate my position's value?"},{"title":"Precious metals market dashboard","prompt":"Pull the live spot prices for both gold and silver in USD per troy ounce so I can update my commodities dashboard."}],"resultDescription":"Returns a JSON object containing the metal name, ticker symbol (XAU or XAG), the current spot price in USD per troy ounce, the source URL, the timestamp when the quote was last updated by the upstream feed, and the timestamp when this endpoint checked it.","failureModes":["Upstream gold-api.com feed unavailable — endpoint may return stale or error response","Invalid metal parameter (anything other than XAU or XAG) may yield an error or default to XAU","Price reflects aggregated spot feed, not official LBMA fixing — may differ from benchmark rates","Network timeout on the Cloudflare Worker if upstream is slow"],"whenToPreferThis":"Use this endpoint when you need a free, near-real-time spot price for gold or silver (XAU/XAG) in USD per troy ounce without requiring an API key. Prefer it over LBMA fixing data when you want the current tradable spot rate rather than the daily benchmark fix. Not suitable for official settlement or auditing purposes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:34:22.837Z","isFirstParty":false,"canonicalSlug":"sitecheck-trade-energy-precious-metals-spot-price-32268f32"}