{"uid":"cap_uTu6bZII2D3q5F52kFuaf","slug":"x402-ai-gateway-currency-conversion-endpoint-e8d68640","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/aoa/xpf?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_MvabGSJXvSgKP0ST9BWdm","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 an amount from one currency to another via a micropayment-gated AI gateway endpoint at /f/fx/aoa/xpf.","exampleAgentPrompt":"How much is 250 Angolan kwanza (AOA) worth in CFP francs (XPF) right now? Use the x402-gated currency converter and pay the micropayment automatically.","exampleUseCases":[{"title":"AOA to XPF travel budget check","prompt":"I'm travelling and need to know how much 5000 Angolan kwanza is in CFP francs — can you convert that for me using the x402 currency API?"},{"title":"Automated FX rate lookup for invoicing","prompt":"Before I send this invoice, convert 1 AOA to XPF so I can set the current exchange rate in the document."},{"title":"Spot-check exotic currency pair","prompt":"What's the current value of 200 AOA in XPF? I need the exact converted amount, and it's fine to pay the micropayment for it."}],"resultDescription":"A JSON object containing the conversion result for the requested AOA-to-XPF amount; exact fields are unspecified but expected to include the converted value.","failureModes":["402 Payment Required if x402 micropayment is not provided or fails","Invalid amount input returns validation error","Network timeout if self-hosted gateway is unavailable","Stale or missing exchange rate data returning an error or stale result","Empty response object if internal computation fails"],"whenToPreferThis":"Choose this endpoint when you specifically need AOA-to-XPF currency conversion and are operating in an x402-enabled micropayment environment (paying $0.0002 USDC per call on Base). Prefer this over free converters when you need it integrated with x402 payment flows or the self-hosted gateway ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:43:54.047Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-conversion-endpoint-87c65b3a"}