{"uid":"cap_pUzN9XGTM38c3FNNWlyia","slug":"x402-ai-gateway-currency-amount-converter-9ecaa6db","name":"x402 AI Gateway — Currency Amount Converter","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/mru?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_3oDe1_ObHmMIiPqFsjIQg","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 of a source currency, gated behind an x402 USDC micropayment on Base before executing.","exampleAgentPrompt":"Convert 50 units of the source currency for me using the x402 gateway — the amount I want to convert is 50.","exampleUseCases":[{"title":"Real-time currency conversion for checkout","prompt":"Convert 100 units of currency using the x402 gateway so I can display the converted amount at checkout."},{"title":"Budget calculation in foreign currency","prompt":"I need to convert 250 of a source currency — use the micropayment-gated converter and give me the result."},{"title":"Single-unit exchange rate lookup","prompt":"What does 1 unit of the source currency convert to? Use the x402 AI gateway converter and pay the micropayment."}],"resultDescription":"Returns a JSON object containing the conversion result for the specified amount; exact output fields depend on the gateway's current implementation but typically include the converted value or exchange details.","failureModes":["Payment not provided or rejected — 402 Payment Required returned before execution","Invalid or missing amount field — 422 Unprocessable Entity","Upstream currency data unavailable — 503 or empty result","Malformed request body — 400 Bad Request","Micropayment insufficient — gateway rejects and returns 402"],"whenToPreferThis":"Choose this endpoint when you need a low-cost ($0.0002 USDC), pay-per-call currency conversion without committing to a subscription, and your agent already supports the x402 micropayment protocol on Base. Best for lightweight, infrequent conversions where a dedicated FX API subscription is overkill.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:49:37.792Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-amount-converter-0b96beb6"}