{"uid":"cap_6f_NfbQKVDIGhMhDyDQf0","slug":"x402-ai-gateway-currency-conversion-endpoint-b50127b3","name":"x402 AI Gateway – Currency Conversion Endpoint","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/gel?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_FQ6cG8VYpJDXB_IIpmVU-","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 via a self-hosted AI gateway that requires a micropayment (USDC on Base) before executing.","exampleAgentPrompt":"Convert 250 USD to EUR using the self-hosted x402 gateway — pay the micropayment fee automatically and give me the result.","exampleUseCases":[{"title":"Quick cross-currency amount check","prompt":"How much is 500 Japanese Yen worth in US dollars right now? Use the x402 gateway and pay the fee automatically."},{"title":"E-commerce order total conversion","prompt":"I need to convert 1200 GBP to EUR for an invoice — run it through the x402 currency converter and give me the converted amount."},{"title":"Crypto-to-fiat estimate","prompt":"What would 2.5 ETH be worth in USD? Use the micropayment-gated converter and return the result."}],"resultDescription":"Returns a JSON object containing the converted currency amount or exchange result for the given input amount and currency pair.","failureModes":["Payment not made or insufficient USDC balance — 402 Payment Required response","Invalid or missing amount field — validation error","Unsupported currency pair — error or empty result","Gateway downtime or self-hosted service unavailable — 5xx error","Network timeout if Base blockchain payment confirmation is slow"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, self-hosted currency conversion that is gated by a tiny USDC micropayment on Base, particularly in agent workflows where x402 payment flows are already established and you want to avoid centralized API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:47:33.316Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-conversion-endpoint-b50127b3"}