{"uid":"cap_f6qHsmwSuia6s67JJosBT","slug":"whatchuneed-exchange-rate-api-0418e273","name":"whatchuneed Exchange Rate API","description":"320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.","url":"https://whatchuneed.vercel.app/api/util/exchange-rate","method":"POST","headers":{},"bodySchema":{"type":"object","required":["base"],"properties":{"base":{"type":"string"},"targets":{"type":"array"}}},"responseSchema":{"type":"object","properties":{"base":{"type":"string"},"rates":{"type":"object"},"timestamp":{"type":"string"}}},"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_pS9Y72ELnHbMOlRvuceJh","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":"Fetches current foreign exchange rates for a base currency against one or more target currencies","exampleAgentPrompt":"What's the current exchange rate for USD against EUR, GBP, and JPY?","exampleUseCases":[{"title":"Multi-currency travel budget planner","prompt":"I'm traveling to Japan, the UK, and France next month — can you get me the current exchange rates for USD against JPY, GBP, and EUR so I can estimate my budget?"},{"title":"E-commerce international pricing","prompt":"We sell products in USD and need to display prices in CAD, AUD, and MXN on our website — can you pull the latest exchange rates for USD against those three currencies?"},{"title":"Crypto portfolio fiat valuation","prompt":"I want to know what my crypto holdings are worth in GBP terms — can you get the current exchange rate for USD to GBP so I can convert my USD-denominated balances?"}],"resultDescription":"Returns a JSON object with the base currency code, a map of target currency codes to their current exchange rates relative to the base, and a timestamp indicating when the rates were fetched.","failureModes":["Unsupported or invalid currency code for base field returns an error","Empty or malformed targets array may return rates for all available currencies or an error","Network/upstream data provider outage causes stale or unavailable rates","Rate limiting may occur with high-frequency calls"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call currency exchange rate lookup without committing to a subscription-based forex API. Ideal for agents that need spot exchange rates infrequently or across multiple currency pairs in a single call. Best when you want multi-target rates in one request rather than making separate calls per currency pair.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:12:44.847Z","isFirstParty":false}