{"uid":"cap_OnEpmjpNu4CgfzvI1mDgm","slug":"worlddata402-fx-exchange-rate-lookup-cac9bfe1","name":"WorldData402 FX Exchange Rate Lookup","description":"Global market, government and reference data for AI agents. Pay-per-call over x402 (USDC on Base mainnet).","url":"https://worlddata402.worlddata402.workers.dev/v1/fx/%7Bbase%7D?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"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_uev8RyMB9ZCM01vn4G6T0","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 foreign exchange (FX) rates for a given base currency, paid per-call via x402 micropayment protocol on Base mainnet.","exampleAgentPrompt":"What's the current exchange rate for USD against all major currencies? Use WorldData402 to look it up and pay per the x402 micropayment.","exampleUseCases":[{"title":"Live forex rate for payment app","prompt":"Fetch the current EUR exchange rates so I can show users how much their euro balance is worth in USD, GBP, and JPY."},{"title":"Currency risk check for invoice","prompt":"I'm about to send an invoice in GBP — what's the current GBP to USD exchange rate so I can estimate how much I'll receive in dollars?"},{"title":"FX rate monitoring for travel budget","prompt":"What's today's exchange rate for JPY as a base currency? I'm budgeting a trip and need to know how much each Japanese yen is worth in USD and EUR."}],"resultDescription":"Returns current foreign exchange rates for the specified base currency, typically including rate values against one or more quote currencies, sourced from global market data feeds.","failureModes":["Invalid or unsupported base currency code returns an error response","Payment failure or insufficient USDC balance causes x402 payment rejection","Network timeout on the Cloudflare Workers endpoint","Stale or delayed rate data if upstream market data feed is lagging","Malformed request body returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call FX rate lookups without a subscription, especially in autonomous agent workflows that require micropayment-native access to currency data via the x402 protocol on Base mainnet. Prefer this over subscription FX APIs when you want cost-per-query billing in USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:36:12.233Z","isFirstParty":false,"canonicalSlug":"worlddata402-fx-exchange-rate-lookup-cac9bfe1"}