{"uid":"cap_fpOiKAzT3woTyswuj0nyw","slug":"x402-ai-gateway-currency-amount-converter-86ea7940","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/yer?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_RvkRGAuSLcuD7BwHASnzc","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 execution.","exampleAgentPrompt":"Convert 250 units of source currency using the x402 AI gateway — just pass the amount as 250 and give me back the converted result.","exampleUseCases":[{"title":"Travel budget currency conversion","prompt":"I need to convert 500 dollars worth — can you run that through the x402 currency converter and tell me what I get back?"},{"title":"E-commerce pricing in local currency","prompt":"Run a conversion for an amount of 1000 through the x402 gateway so I can display local pricing on my checkout page."},{"title":"Automated micropayment-gated FX check","prompt":"Use the x402 currency converter to calculate what 75 units converts to — I want to check the rate before processing a transaction."}],"resultDescription":"Returns a JSON object containing the result of the currency conversion for the specified amount; exact fields depend on the endpoint implementation but expected to include the converted value or rate information.","failureModes":["Missing or failed x402 USDC micropayment results in 402 Payment Required before execution","Invalid or missing 'amount' field may return a 422 validation error","Downstream currency data unavailable may return a 500 or empty result","Insufficient USDC balance on Base network blocks the call","Malformed request body returns a 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need a low-cost, per-call currency conversion with programmatic micropayment gating via x402 on Base (USDC). Ideal for agents that need occasional FX lookups without a subscription, or for workflows that benefit from pay-per-use pricing at $0.0002 per call. Less suitable if you need guaranteed SLA, detailed currency metadata, or bulk conversions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:49:02.201Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-amount-converter-4eb59634"}