{"uid":"cap_fId5PyGlUosoY5Yj31kBO","slug":"x402-ai-gateway-currency-amount-converter-e20f62a4","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/nad?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_xuOPWpnnCU4DIzN15KHXF","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 by an x402 USDC micropayment on Base before execution.","exampleAgentPrompt":"Convert 250 units of source currency using the x402-gated fastapi.online gateway — it'll charge a tiny USDC micropayment on Base per call.","exampleUseCases":[{"title":"Real-time currency conversion for checkout","prompt":"I need to convert 500 units of currency right now for a checkout flow — use the x402-gated conversion endpoint on fastapi.online and pay the micropayment automatically."},{"title":"Agent pipeline cost-tracking in base currency","prompt":"My agent pipeline tracks costs in different currencies. Can you convert 1 unit through the fastapi.online x402 gateway so I can get the base conversion rate?"},{"title":"Automated bulk price normalization","prompt":"I have a list of prices in various amounts I need normalized — start by converting 1000 units via the x402 micropayment gateway at fastapi.online to get the conversion factor."}],"resultDescription":"Returns a JSON object containing the result of the currency amount conversion. The exact fields depend on the server implementation, but typically includes the converted value or equivalent amount in the target denomination.","failureModes":["402 Payment Required – x402 micropayment not provided or insufficient USDC balance on Base","400 Bad Request – 'amount' field is not a valid number or missing","500 Internal Server Error – upstream conversion service unavailable","Timeout – self-hosted gateway under load or unreachable","Invalid payment signature – x402 payment header malformed or rejected"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call currency conversion that integrates with the x402 micropayment protocol on Base (USDC), particularly in agentic pipelines that already support x402 payment flows and want minimal per-call cost ($0.0002 USDC). Prefer alternatives if you need free/unlimited conversion, batch processing, or don't have x402 wallet infrastructure set up.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:46:03.805Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-amount-converter-4eb59634"}