{"uid":"cap_hStz4f1vgemS4FDAqcuiU","slug":"x402-ai-gateway-currency-model-endpoint-fa1567ca","name":"x402 AI Gateway – Currency Model 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/mdl?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_GyDBO-Zz53w_LxukeD_BL","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":"Executes a paywalled AI model endpoint for currency-related computations (likely currency conversion or financial model), requiring a micropayment in USDC on Base via x402 before processing.","exampleAgentPrompt":"Convert 250 units of my source currency using the x402 AI gateway — pay the $0.0002 USDC micropayment and return the model's computed result.","exampleUseCases":[{"title":"On-demand currency conversion via AI","prompt":"I need to convert 500 units of currency using the x402 AI model endpoint — go ahead and pay the micropayment and give me the result."},{"title":"Paywalled financial model query","prompt":"Run the x402 AI gateway model with an amount of 1000 and pay the USDC fee automatically, then tell me what the model returns."},{"title":"Automated micropayment AI inference pipeline","prompt":"Every time I need a currency value computed, hit that x402 micropayment endpoint with the amount I specify and return the AI model's output without me having to manually approve each tiny payment."}],"resultDescription":"An unstructured JSON object containing the AI model's computed output — likely a currency conversion result or financial inference value — returned after the x402 micropayment is validated and the model executes.","failureModes":["Payment not accepted (402 response if USDC micropayment fails or wallet has insufficient balance)","Invalid or missing 'amount' field returns a 422 validation error","Model execution failure returns a 500 server error","Rate limiting or quota exceeded on the self-hosted inference server","Network timeout if the self-hosted backend is unavailable"],"whenToPreferThis":"Choose this endpoint when you need a very cheap ($0.0002 USDC), per-call AI inference result for currency-related computations and your agent supports x402 micropayment flows on Base. It is ideal for automated pipelines that need many small, inexpensive AI calls without a subscription or API key, and where the x402 payment protocol is already integrated.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T06:50:23.216Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-model-endpoint-fa1567ca"}