{"uid":"cap_O6w4PNjZ_qG2chVyz2RVT","slug":"x402-ai-gateway-currency-conversion-endpoint-9b1622e8","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/isk?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_-AUxlsC8RsnMZPxfi3_Xk","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 (ISK/FX/ANG) via a micropayment-gated REST endpoint on a self-hosted AI gateway.","exampleAgentPrompt":"Convert 500 ISK to USD for me — it's a pay-per-call currency conversion endpoint that charges a tiny USDC micropayment per request.","exampleUseCases":[{"title":"Icelandic krona to USD conversion","prompt":"How much is 1000 ISK in US dollars right now? Use the fx conversion endpoint and handle the micropayment automatically."},{"title":"Netherlands Antillean guilder rate check","prompt":"Convert 250 ANG to euros for me using the pay-per-call fx gateway — just charge the USDC fee and give me the result."},{"title":"Automated multi-currency pricing agent","prompt":"I need to convert 1 unit of each of these currencies — ISK, ANG, and FX — to USD. Hit the currency conversion endpoint once per currency and collect the results."}],"resultDescription":"Returns a JSON object containing the converted currency value or exchange rate result for the requested amount and currency pair. The exact fields depend on the server implementation but are expected to include the converted amount and possibly the rate used.","failureModes":["402 Payment Required — x402 micropayment not completed or wallet has insufficient USDC","Invalid amount input — non-numeric or negative amount values","Unsupported currency pair — requested currency not supported by this endpoint","Gateway timeout — self-hosted server may be offline or overloaded","Empty or malformed JSON response — server-side inference error"],"whenToPreferThis":"Choose this endpoint when you need currency conversion for ISK, ANG, or FX pairs and are operating in an x402-enabled agent environment capable of paying USDC micropayments on Base. It is a pay-per-use alternative to subscription-based FX APIs, ideal for low-frequency or agent-driven conversion calls where cost per query matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:45:35.996Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-conversion-endpoint-87c65b3a"}