{"uid":"cap_NtgjwE6XKfLXK9FulrcMT","slug":"x402node-universal-forex-rate-api-25397545","name":"X402Node Universal Forex Rate API","description":"Universal forex rate for ANY currency pair. Params: base, quote (e.g. USD, CNY), amount (optional, returns converted value). 任意货币对实时汇率与换算。任意通貨ペア為替レート。Tipo de cambio de cualquier par. 모든 통화쌍 환율. forex rate, exchange rate, currency convert.","url":"https://api.x402node.dev/forex/rate?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":["base","quote","amount"],"properties":{"base":{"type":"string","description":"基准货币，如 USD"},"quote":{"type":"string","description":"计价货币，如 CNY"},"amount":{"type":"string","description":"可选，换算金额"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_X4LChszI-G8B1R9qw_ajg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the live exchange rate for any currency pair, with optional converted amount calculation","exampleAgentPrompt":"What's the current exchange rate from USD to CNY, and how much would 750 US dollars be in Chinese yuan?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the base currency, quote currency, the currency pair label, the live exchange rate as a number, an optional converted result (if amount was provided), the timestamp of the rate (as_of), and the data source identifier.","failureModes":["Unsupported or invalid currency code returns an error response","Missing required base or quote parameter returns a 400-level error","Rate data temporarily unavailable returns a service error","Payment of 0.006 USDC not completed results in 402 Payment Required response","Malformed currency code (e.g. typo) returns no matching rate"],"whenToPreferThis":"Choose this endpoint when you need a live exchange rate for any arbitrary currency pair — including less common pairs beyond USD/EUR/JPY — and optionally want the converted value for a specific amount in a single call. Unlike sibling endpoints that are hardcoded to specific pairs, this endpoint accepts any base and quote currency codes as parameters, making it the most flexible option for dynamic or user-specified currency conversion needs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:46:19.641Z","isFirstParty":false,"canonicalSlug":"x402node-universal-forex-rate-api-25397545"}