{"id":"640a47d0-f1c9-4fe1-804b-25649ad75a40","entityType":"agent","slug":"dify-gold-price-converter","name":"黄金价格转换（美元盎司 → 人民币/克）","canonicalUrl":"https://www.xpersona.co/agent/dify-gold-price-converter","canonicalPath":"/agent/dify-gold-price-converter","generatedAt":"2026-10-09T14:04:02.429Z","source":"DIFY_MARKETPLACE","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T01:20:58.027Z","emptyReason":null},"description":"This workflow uses the Jina Reader tool to fetch real-time spot gold prices (XAU/USD) from Investing.com, while simultaneously retrieving the latest USD/CNY exchange rate from the Frankfurter API. It then automatically converts the gold price from \"USD per ounce\" to \"RMB per gram\" (using the conversion factor: 1 ounce = 31.1035 grams). The final output displays the converted price along with key reference data in a clear text format. 1. **Configure Gold Price Data Source**: The workflow includes a pre-configured HTTP Request node (ID: gold_price) that uses the Jina Reader API to fetch data from https://cn.investing.com/currencies/xau-usd-chart. This node is already set with the X-Target-Selector: div[data-test=\"instrument-price-last\"] header to precisely extract the price element, and X-Wait-For-Selector to handle dynamic content loading. It work","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.","installCommand":null,"sourceUrl":"https://marketplace.dify.ai/api/v1/templates/d3e0a831-0ae5-44ba-b19a-f5cc0a3caa83","homepage":null,"primaryLinks":[{"label":"View on Dify","url":"https://marketplace.dify.ai/api/v1/templates/d3e0a831-0ae5-44ba-b19a-f5cc0a3caa83","kind":"source"}],"safetyScore":82,"overallRank":86.4,"popularityScore":67,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"This workflow uses the Jina Reader tool to fetch real-time spot gold prices (XAU/USD) from Investing.com, while simultaneously retrieving the latest USD/CNY exc"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T01:20:58.027Z","emptyReason":null},"protocols":[],"capabilities":[{"label":"workflow","status":"self-declared"},{"label":"others","status":"self-declared"}],"verifiedCount":0,"selfDeclaredCount":2,"capabilityMatrix":{"rows":[{"key":"workflow","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"others","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"}],"flattenedTokens":"capability:workflow|supported|profile capability:others|supported|profile"}},"adoption":{"evidence":{"source":"no-adoption-signals","verified":false,"confidence":"low","updatedAt":"2026-10-09T01:20:58.027Z","emptyReason":"No source adoption metrics were available."},"stars":null,"forks":null,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":null},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-10-09T01:20:58.023Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T01:20:58.027Z","lastCrawledAt":"2026-10-09T01:20:58.023Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-11T01:20:58.023Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"Dify","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":null,"setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/dify-gold-price-converter/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/dify-gold-price-converter/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/dify-gold-price-converter/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/dify-gold-price-converter/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/dify-gold-price-converter/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/dify-gold-price-converter/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":[]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"DIFY_MARKETPLACE","generatedAt":"2026-10-09T14:04:02.429Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/dify-gold-price-converter/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/dify-gold-price-converter/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/dify-gold-price-converter/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/dify-gold-price-converter/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"Dify","verified":false,"confidence":"high","updatedAt":"2026-10-09T01:20:58.027Z","emptyReason":null},"readme":"> 1. **Configure Gold Price Data Source**: The workflow includes a pre-configured HTTP Request node (ID: `gold_price`) that uses the Jina Reader API to fetch data from `https://cn.investing.com/currencies/xau-usd-chart`. This node is already set with the `X-Target-Selector: div[data-test=\"instrument-price-last\"]` header to precisely extract the price element, and `X-Wait-For-Selector` to handle dynamic content loading. It works out-of-the-box with no additional setup required.\r\n> 2. **Configure Exchange Rate Data Source**: A second pre-configured HTTP Request node (ID: `usd_cny`) calls the Frankfurter API (`https://api.frankfurter.app/latest?from=USD&to=CNY`) to fetch real-time exchange rates. No API Key is needed for this service.\r\n> 3. **Perform Unit Conversion**: The core calculation is handled by a Code Node (ID: `calculate`). It automatically parses the data from the previous two steps and applies the formula `(Gold Price USD/oz × USD/CNY Rate) ÷ 31.1035` to compute the price in RMB/gram. The code includes built-in error handling.\r\n> 4. **Configure Output**: The End node (ID: `end`) is configured to output four variables: `result` (complete result text), `rmb_per_gram` (RMB/gram price), `gold_usd_oz` (USD/oz price), and `usd_cny` (exchange rate). You can modify the output format or content as needed.\r\n> 5. **(Optional) Set a Schedule Trigger**: If you want the workflow to run automatically every day, you can add a \"Schedule Trigger\" node to the canvas and connect it before the `gold_price` node.","readmeExcerpt":"1. **Configure Gold Price Data Source**: The workflow includes a pre-configured HTTP Request node (ID: gold_price) that uses the Jina Reader API to fetch data from https://cn.investing.com/currencies/xau-usd-chart. This node is already set with the X-Target-Selector: div[data-test=\"instrument-price-last\"] header to precisely extract the price element, and X-Wait-For-Selector to handle dynamic content loading. It work","codeSnippets":[],"executableExamples":[],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["zh-Hans"],"docsSourceLabel":"Dify","editorialOverview":"This workflow uses the Jina Reader tool to fetch real-time spot gold prices (XAU/USD) from Investing.com, while simultaneously retrieving the latest USD/CNY exchange rate from the Frankfurter API. It then automatically converts the gold price from \"USD per ounce\" to \"RMB per gram\" (using the conversion factor: 1 ounce = 31.1035 grams). The final output displays the converted price along with key reference data in a clear text format. 1. **Configure Gold Price Data Source**: The workflow includes a pre-configured HTTP Request node (ID: gold_price) that uses the Jina Reader API to fetch data from https://cn.investing.com/currencies/xau-usd-chart. This node is already set with the X-Target-Selector: div[data-test=\"instrument-price-last\"] header to precisely extract the price element, and X-Wait-For-Selector to handle dynamic content loading. It work","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":426,"uniquenessScore":69,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T01:20:58.027Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T01:20:58.027Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"agent-directory","verified":false,"confidence":"low","updatedAt":"2026-10-09T14:04:02.429Z","emptyReason":"No close protocol neighbors were found."},"items":[],"links":{"hub":"/agent","source":"/agent/source/dify_marketplace","protocols":[]}}}