{"uid":"cap_mCYaP2TLLbGk-PyZ-VFdW","slug":"agentservices-fx-foreign-exchange-rate-lookup-b26ea229","name":"AgentServices FX — Foreign Exchange Rate Lookup","description":"Paid data APIs for AI agents. Crypto market data, DeFi yields, IP geolocation, dispute resolution, marketing intelligence. Powered by x402 micropayments on Base.","url":"https://agentservices.to/v1/fx","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"base":{"type":"string"}}},"responseSchema":{},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BfhBBJ7Msm5KsrSf3vg1y","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current foreign exchange (FX) rates for a given base currency, paid via x402 micropayment on Base.","exampleAgentPrompt":"What's the current exchange rate for USD against all major currencies? Use the AgentServices FX endpoint with USD as the base.","exampleUseCases":[{"title":"Live FX rate for invoicing","prompt":"I'm sending an invoice in EUR but my client pays in USD — what's today's USD to EUR exchange rate so I can set the right amount?"},{"title":"Cross-border crypto payment pricing","prompt":"Before I send a USDC payment to a supplier in Japan, what's the current USD to JPY rate so I can figure out how much yen they'll effectively receive?"},{"title":"Multi-currency portfolio snapshot","prompt":"I hold assets in GBP, EUR, and JPY — can you pull the latest FX rates using GBP as the base so I can see how everything compares right now?"}],"resultDescription":"A JSON object containing current exchange rates relative to the specified base currency, with currency codes as keys and their rates as values.","failureModes":["Missing or invalid base currency code returns an error or empty response","Unsupported currency codes may return no data","Payment failure via x402 results in 402 response and no data returned","Network or upstream data provider outage causes delayed or failed response"],"whenToPreferThis":"Choose this endpoint when your agent needs live FX rates for a specific base currency and can pay via x402 micropayments on Base. It is well-suited for agents doing cross-border payment calculations, multi-currency accounting, or real-time currency conversion in finance or DeFi workflows where sub-cent per-call pricing is attractive.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:48:26.635Z","isFirstParty":false}