{"uid":"cap_W0dB__aHlAl6aUbhnq8Yt","slug":"x402-ai-gateway-currency-amount-converter-a2c53e2a","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/mop?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_cnBPbrIhneIPGK_Z6YGRg","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 USD to EUR for me — this uses the x402 micropayment gateway so it'll cost a tiny USDC fee per call.","exampleUseCases":[{"title":"Real-time travel budget conversion","prompt":"I need to convert 500 USD worth of value — can you use the x402 currency converter to tell me how much that is in the destination currency?"},{"title":"E-commerce multi-currency pricing","prompt":"Convert 1 unit of our base currency using the x402 gateway so I can display the correct price for international customers."},{"title":"Automated invoice reconciliation","prompt":"Run a currency conversion for 1200 on the x402-gated converter so I can reconcile this invoice amount against our local books."}],"resultDescription":"Returns a JSON object containing the converted currency amount result. The exact fields depend on the gateway's internal logic, but the agent receives the computed conversion output for the given input amount.","failureModes":["Payment not fulfilled — x402 micropayment (USDC on Base) not provided or rejected, resulting in a 402 Payment Required response","Invalid or missing amount field — defaults to 1 if omitted, but malformed input may return an error","Gateway unavailable — self-hosted infrastructure may be offline or rate-limited","Unrecognized currency pair — if the endpoint does not support the requested source/target currency combination"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, self-hosted currency conversion that integrates natively with the x402 micropayment protocol (USDC on Base). Prefer it in agentic workflows where cost-per-call accountability matters and you want on-chain payment provenance. Not ideal if you need a free or high-volume batch conversion, or if you require guaranteed SLA from a centralized provider.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:49:00.754Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-amount-converter-4eb59634"}