{"uid":"cap_3dUjPHPa1KBb_EIUqFNWC","slug":"x402-ai-gateway-currency-amount-converter-4eb59634","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/gmd?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_iOl74N5Ll8ummz9RFCIzZ","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.","exampleAgentPrompt":"Convert 250 units of source currency using the x402 AI gateway — it costs a tiny USDC micropayment per call.","exampleUseCases":[{"title":"Quick forex amount lookup","prompt":"I need to convert 500 units of currency — can you run that through the x402 currency converter for me?"},{"title":"E-commerce price conversion","prompt":"We're listing a product at 1200 units; can you convert that amount through the x402 gateway so I know what it maps to?"},{"title":"Budget planning in multiple currencies","prompt":"Convert 75 units for me using the x402 AI gateway so I can plan my budget across different currencies."}],"resultDescription":"Returns a JSON object containing the result of the currency amount conversion for the specified input amount.","failureModes":["Payment not included or insufficient USDC micropayment returns HTTP 402","Invalid or missing amount field causes a 400 or validation error","Network timeout or server unavailability returns 5xx","Unsupported currency pair may return an error or empty result"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, self-hosted currency conversion that requires no subscription and accepts x402 USDC micropayments on Base — ideal for agents that need occasional, low-cost forex calculations without API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:50:02.668Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-amount-converter-4eb59634"}