{"uid":"cap_L7D9xS7P7CAGFbd85GWBk","slug":"x402-ai-gateway-currency-converter-fx-ang-lkr-b34555ab","name":"x402 AI Gateway — Currency Converter (FX/ANG/LKR)","description":"Self-hosted AI API gateway. Expensive endpoints require an x402 micropayment (USDC on Base) before executing.","url":"https://api.fastapi.online/f/fx/ang/lkr?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"amount":{"type":"number","description":"Amount of the source currency to convert (default 1)"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0002","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.0002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GdmU_bO0GkyRBTyGMr6M7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a specified amount from a source currency to ANG or LKR, gated behind an x402 micropayment of $0.0002 USDC on Base.","exampleAgentPrompt":"Convert 250 USD to LKR and tell me how much I'd get back — use the x402 currency converter.","exampleUseCases":[{"title":"USD to Sri Lankan Rupee conversion","prompt":"How much is 500 US dollars in Sri Lankan rupees right now? Use the FX converter to get me the current rate."},{"title":"Netherlands Antillean guilder lookup","prompt":"I need to know what 1000 euros converts to in ANG — can you run that through the currency conversion endpoint?"},{"title":"Automated FX check in payment workflow","prompt":"Before we process this cross-border payout, convert 1 USD to LKR so I can verify the current exchange rate we'll be using."}],"resultDescription":"Returns an object containing the converted value and likely the exchange rate for the requested currency pair (source amount to ANG or LKR), after a $0.0002 USDC x402 micropayment is settled on Base.","failureModes":["402 Payment Required if x402 micropayment is not provided or fails","Invalid amount type if a non-numeric value is passed","Unsupported currency pair if the source currency is not recognized","Network timeout or service unavailability from self-hosted infrastructure","Empty or malformed response object if the underlying FX data source is unavailable"],"whenToPreferThis":"Choose this endpoint when you need programmatic currency conversion specifically for ANG (Netherlands Antillean guilder) or LKR (Sri Lankan rupee) and are operating in an x402-enabled agent environment that can automatically handle USDC micropayments on Base. It is particularly suited for agents already integrated with the fastapi.online gateway ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:39:53.542Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-converter-fx-ang-lkr-b34555ab"}