{"uid":"cap_0hiQEHdEi9N9cLul3Fv7M","slug":"x402-ai-gateway-currency-amount-conversion-44a33ec5","name":"x402 AI Gateway – Currency Amount Conversion","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/mnt?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_5ZmXbkZ86D77BrE6bAMZi","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 micropayment in USDC on Base before execution.","exampleAgentPrompt":"Convert 250 units of my source currency using the x402-gated gateway — the default amount is 1 if I don't specify.","exampleUseCases":[{"title":"Travel budget currency check","prompt":"How much is 500 in the source currency worth after conversion? Use the x402 gateway and pay the micropayment automatically."},{"title":"E-commerce price normalization","prompt":"I need to convert 1000 units through the x402 AI gateway — can you run the conversion and give me the result?"},{"title":"Single-unit exchange rate lookup","prompt":"What does converting just 1 unit give me through the x402 micropayment-gated currency endpoint?"}],"resultDescription":"A JSON object containing the result of the currency conversion for the specified amount; exact fields depend on the server implementation but typically include the converted value or exchange result.","failureModes":["Payment not provided or rejected — 402 Payment Required returned before execution","Invalid or missing amount field — server may return 400 or default to 1","Service unavailable on self-hosted infrastructure — 503 or timeout","Unsupported currency pair — may return empty or error object","Malformed request body — 422 Unprocessable Entity"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, micropayment-gated currency conversion call on a self-hosted infrastructure and are already set up to handle x402 USDC payments on Base. Useful for agents that need cost-controlled, per-call currency lookups without committing to a subscription API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:38:29.262Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-amount-conversion-374ae8eb"}