{"uid":"cap_zlJb-LuPAFzMKdRo5vzd8","slug":"x402node-commodity-price-with-smart-localization-50e0f08a","name":"x402node Commodity Price with Smart Localization","description":"Universal commodity price with smart localization: gold, silver, platinum, palladium, wti, brent, gas, copper, grains. Auto-adapts currency and unit to your locale (CNY per gram, JPY per gram) or stays USD. Params: symbol, amount, lang. 任意大宗商品实时价格，自动本地化币种与单位，黄金白银原油智能换算人民币/克。商品価格を自動現地化。Precio localizado. 현지화 시세. Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/commodity/price?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":["symbol"],"properties":{"lang":{"type":"string","description":"Optional locale hint: zh/ja/ko/es for localized currency and unit"},"amount":{"type":"string","description":"Optional quantity"},"symbol":{"type":"string","description":"Commodity: gold/silver/wti/brent/gas/copper/platinum/palladium (also accepts localized names)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kXWoTYwqXistzOF2HIIfs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time spot prices for commodities (gold, silver, oil, grains, etc.) auto-localized to the user's currency and unit based on locale (e.g. CNY/gram, JPY/gram, or USD).","exampleAgentPrompt":"What's the current gold price in Chinese yuan per gram — fetch it with symbol 'gold', amount 1, and language 'zh' so it auto-localizes to CNY per gram?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the commodity's real-time price in the localized currency and unit, including the commodity name, symbol, source, timestamp, original price data, and conversion details used to arrive at the localized value.","failureModes":["Unsupported commodity symbol returns an error or empty result","Invalid or unrecognized locale/language code may fall back to USD","Network or upstream data source outage causes stale or missing price data","Payment of $0.01 USDC required per call; missing payment returns 402 error"],"whenToPreferThis":"Use this endpoint when you need real-time commodity spot prices (precious metals, energy, grains) with automatic currency and unit localization for non-USD markets — especially for Chinese (CNY/gram), Japanese (JPY/gram), or other locale-specific formats. Prefer over generic finance APIs when locale-adapted output is required without manual conversion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:56:05.839Z","isFirstParty":false,"canonicalSlug":"x402node-commodity-price-with-smart-localization-50e0f08a"}