{"uid":"cap_zcNenchxBtunDCltRrXVn","slug":"x402-ai-gateway-currency-conversion-e7aa5925","name":"x402 AI Gateway — Currency Conversion","description":"Self-hosted AI API gateway. Expensive endpoints require an x402 micropayment (USDC on Base) before executing.","url":"https://api.fastapi.online/f/fx/aoa/xcd?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_EE2gVlg_awu1fcn0uHByP","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 one currency (XCD source) to another via a micropayment-gated AI gateway endpoint.","exampleAgentPrompt":"Convert 50 East Caribbean Dollars (XCD) to Angolan Kwanza (AOA) and tell me how much I get back.","exampleUseCases":[{"title":"Travel budget currency check","prompt":"I'm heading to Angola and have 200 XCD — how much Angolan Kwanza will that get me?"},{"title":"Small business cross-border pricing","prompt":"I need to price a product in AOA that costs 15 XCD — can you do that currency conversion for me?"},{"title":"Default single-unit rate lookup","prompt":"What's the current conversion rate for 1 XCD into AOA?"}],"resultDescription":"Returns a JSON object containing the converted currency value or exchange result for the specified amount from XCD to AOA, gated behind a $0.0002 USDC micropayment on Base.","failureModes":["Payment not provided or insufficient — returns HTTP 402 requiring x402 micropayment before execution","Invalid or missing amount field — returns validation error","Upstream exchange rate service unavailable — returns 5xx error","Unsupported currency pair — may return empty or error response","Network timeout on self-hosted infrastructure"],"whenToPreferThis":"Choose this endpoint when you specifically need XCD-to-AOA currency conversion via a pay-per-call micropayment model (x402/USDC on Base), especially in autonomous agent workflows where you want to pay only for actual conversions without a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:42:39.740Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-conversion-7321f9c1"}