{"uid":"cap_C7CiTEHn9cHNGEGgPgP0q","slug":"fx-currency-rate-lookup-fc510574","name":"FX Currency Rate Lookup","description":"Free need-to-tool routing plus pay-per-call npm docs and TypeScript API signatures, npm breaking-change diffs, JavaScript-rendered browser snapshots and deterministic coding-agent checks via AgentCash/x402.","url":"https://x402-canary.nicolas-x402-16f380a7.workers.dev/v1/fx/rate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base":{"type":"string","example":"USD"},"quote":{"type":"string","example":"EUR"}}},"responseSchema":{"type":"json","example":{"data":{"base":"USD","rate":0.91,"quote":"EUR"},"meta":{"engine":"fx"}}},"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_9hf_xE5dhTV36Fz9O0cS1","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 the current exchange rate between a base currency and a quote currency.","exampleAgentPrompt":"What is the current exchange rate from USD to EUR?","exampleUseCases":[{"title":"Travel budget currency check","prompt":"What is the current exchange rate from USD to Japanese Yen? I want to know how much my dollars are worth before my trip."},{"title":"Invoice pricing in foreign currency","prompt":"Can you get me the live exchange rate from GBP to EUR so I can price this invoice correctly for my European client?"},{"title":"Crypto portfolio fiat valuation","prompt":"Look up the current USD to CAD exchange rate for me so I can figure out the Canadian dollar value of my holdings."}],"resultDescription":"Returns a JSON object with the base currency, quote currency, and the current exchange rate as a decimal number, along with metadata indicating the engine used for the rate lookup.","failureModes":["Unsupported or invalid currency code returns an error","Missing base or quote parameter causes a 400-level error","Payment not included or insufficient balance causes a 402 Payment Required response","Temporary upstream FX data unavailability may result in a 5xx error"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call FX rate lookup between two currency pairs without managing an API key subscription. It is well-suited for AI agents that need on-demand currency conversion rates within automated workflows, especially when already operating within the x402 payment protocol ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:49:39.035Z","isFirstParty":false}