{"uid":"cap_NurGs2jIphqbKSYNbpkOX","slug":"x402-ai-gateway-currency-amount-converter-3cc95521","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/jmd?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_UX12e5BMNEd4ldBZo1SoL","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 — pay the micropayment fee automatically.","exampleUseCases":[{"title":"Travel budget currency check","prompt":"I'm heading to Japan and want to know how much 1500 US dollars is in Japanese yen — can you convert that for me?"},{"title":"Crypto-to-fiat quick lookup","prompt":"What's 0.5 ETH worth in USD right now? Convert it and give me the result."},{"title":"International invoice calculation","prompt":"I need to invoice a client in British pounds — convert 3200 euros to GBP so I can fill in the amount."}],"resultDescription":"A JSON object containing the conversion result for the specified amount, returned after a successful x402 USDC micropayment of $0.0002 on Base is processed.","failureModes":["Payment not provided or insufficient USDC balance returns 402 Payment Required","Invalid or unsupported currency codes return an error","Amount not specified defaults to 1 but may produce unexpected results","Network or gateway downtime returns 5xx errors","Malformed request body returns 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-use, self-hosted currency conversion that integrates natively with x402 USDC micropayment flows on Base — ideal for autonomous agents that manage their own wallets and need to avoid subscription keys or API token management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:53:40.968Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-amount-converter-4eb59634"}