{"uid":"cap_98f_d5jgj1yRz6HyXdaTV","slug":"x402-ai-gateway-currency-conversion-endpoint-93cfc7d4","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/zwl?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_8iYMRMvqFNBZYB8a8Htbk","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 from one currency to another, gated behind an x402 USDC micropayment on Base.","exampleAgentPrompt":"Convert 250 USD to ZWL for me — I need to know how much that is in Zimbabwean dollars right now.","exampleUseCases":[{"title":"Travel budget currency check","prompt":"How much is 500 euros in South African rand? I'm planning spending money for a trip."},{"title":"Cross-border payment estimation","prompt":"I need to send money to Angola — what's 1000 USD worth in Angolan kwanza right now?"},{"title":"Freelancer invoice conversion","prompt":"My client paid me 750 GBP — how much is that in US dollars so I can fill out my tax form?"}],"resultDescription":"Returns a JSON object containing the converted currency amount and likely the exchange rate used for the conversion between the source and target currency pair.","failureModes":["Missing or invalid currency codes return an error response","Amount not provided defaults to 1 but may cause confusion","Payment required (402) if x402 micropayment header is missing or malformed","Unsupported currency pair may return an error or empty result","Network timeout from the self-hosted gateway"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call currency conversion with no subscription required — particularly suited for autonomous agents that can handle x402 micropayments natively on Base. Ideal for infrequent or unpredictable conversion needs where a flat $0.0002 USDC per call is preferable to API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T06:51:31.633Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-conversion-endpoint-87c65b3a"}