{"uid":"cap_eUk3LPfvKTg-HpAVHHWxQ","slug":"x402-ai-gateway-currency-amount-converter-ce134f50","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/mad?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_MOEp5HY8IYSfqFJTmA-zH","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 currency using an AI-powered self-hosted gateway, requiring a micropayment (USDC on Base) via x402 protocol before execution.","exampleAgentPrompt":"Convert 250 units of the source currency for me using the x402 AI gateway — I need the converted amount back right away.","exampleUseCases":[{"title":"Quick single-amount currency conversion","prompt":"Can you convert 100 of the source currency for me using the x402 AI gateway and tell me what comes back?"},{"title":"Default unit conversion check","prompt":"What does the x402 AI gateway return when I convert the default amount of 1 unit of the source currency?"},{"title":"Bulk amount currency estimation","prompt":"I need to convert 5000 units through the x402 AI gateway micropayment endpoint — can you run that and give me the result?"}],"resultDescription":"Returns a JSON object containing the conversion result for the specified amount; exact response fields are not strictly defined but typically include the converted value or equivalent output.","failureModes":["Payment not included or insufficient USDC micropayment returns 402 Payment Required","Invalid or missing 'amount' field returns validation error","Upstream AI inference service unavailable returns 503 or 500","Malformed request body returns 422 Unprocessable Entity","Network timeout if self-hosted backend is under load"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, ultra-low-cost ($0.0002 USDC) currency conversion via an x402-compatible micropayment workflow, especially when integrating with agents that support the x402 payment protocol on Base and want to avoid subscription-based APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:47:30.822Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-amount-converter-4eb59634"}