{"uid":"cap_fA0sySqPFMJmPdEtqaPrX","slug":"x402-ai-gateway-currency-conversion-endpoint-58a9f49b","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/mur?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_DzhMy_6wYyIXyDiwSmV4e","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 executing.","exampleAgentPrompt":"Convert 250 units of the source currency using the x402-gated FX conversion endpoint — it costs $0.0002 USDC per call and runs on Base.","exampleUseCases":[{"title":"Quick forex amount lookup","prompt":"Convert 500 units of currency using the x402 micropayment gateway and give me the result — I only need to pay a fraction of a cent per call."},{"title":"Automated FX conversion in agent pipeline","prompt":"Run a currency conversion for an amount of 1 unit through the x402-gated API so I can use the result downstream in my workflow — pay the USDC fee automatically."},{"title":"Cost-efficient per-call currency math","prompt":"I want to convert 1000 units of the source currency using the self-hosted x402 AI gateway that charges $0.0002 USDC per conversion — can you call it and return the output?"}],"resultDescription":"Returns a JSON object containing the result of the currency conversion computation. The exact fields in the response object are not formally specified beyond the top-level object wrapper.","failureModes":["Payment not received or insufficient USDC micropayment triggers 402 Payment Required before any computation is attempted","Invalid or missing 'amount' parameter may cause a 400 Bad Request or unspecified error","Service unavailability of the self-hosted gateway returns 5xx errors","Ambiguous source/target currency may yield unexpected or null conversion results","Network timeouts on the Base blockchain payment layer may delay or fail the call"],"whenToPreferThis":"Prefer this endpoint when you need a very cheap ($0.0002 USDC per call), pay-per-use currency conversion that is gated by an x402 micropayment on the Base network, especially in autonomous agent pipelines where automated USDC payments are already supported. It is well-suited for high-volume, low-cost FX lookups where you want to avoid subscription fees.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:52:00.516Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-conversion-endpoint-87c65b3a"}