{"uid":"cap_jgokak3mzna1FVWg7kwxG","slug":"x402-ai-gateway-currency-amount-converter-c7d8e398","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/aoa/vuv?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_dMYmCgGj3ADNzfww7QAzM","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 my source currency using the x402 micropayment gateway — it costs $0.0002 USDC per call and pays automatically on Base.","exampleUseCases":[{"title":"Automated FX rate fetch for invoicing","prompt":"I need to convert 500 units of currency for my invoice calculation — use the x402 micropayment API and pay the $0.0002 USDC fee automatically from my Base wallet."},{"title":"Pay-per-use currency check in workflow","prompt":"In my automated expense pipeline, convert 1 unit of the source currency so I can get the current rate — just pay the micropayment and return the result."},{"title":"Spot conversion for crypto treasury","prompt":"Convert 1000 units using the x402-gated currency endpoint, deducting the USDC micropayment from my Base account, so I can update my treasury spreadsheet."}],"resultDescription":"Returns a JSON object containing the result of the currency conversion for the specified amount; exact fields depend on the server implementation but likely include the converted value and possibly exchange rate metadata.","failureModes":["402 Payment Required if x402 micropayment is not attached or insufficient","Invalid amount input (non-numeric or negative values)","Upstream currency data unavailable causing 500 error","Malformed request body missing required 'amount' field","Network timeout if self-hosted server is under load"],"whenToPreferThis":"Choose this endpoint when you need a low-cost, pay-per-call currency conversion that integrates natively with the x402 micropayment protocol on Base (USDC), especially in automated agent workflows where per-call billing via crypto micropayments is preferred over subscription APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:48:06.122Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-amount-converter-0b96beb6"}