{"uid":"cap_gKKkSTNV_3Ovosvn4tOcp","slug":"x402-ai-gateway-currency-amount-converter-c016725a","name":"x402 AI Gateway – Currency Amount Converter","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/kgs?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_40Qi0K7r-sT-pA6OU0wLy","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, gated behind an x402 USDC micropayment on Base before executing.","exampleAgentPrompt":"Convert 250 units of USD to EUR for me — I need the converted amount back using that self-hosted x402 micropayment gateway.","exampleUseCases":[{"title":"Travel budget currency conversion","prompt":"I'm heading to Japan and want to know how much 500 USD converts to — can you run that through the x402 micropayment currency converter and give me the result?"},{"title":"E-commerce multi-currency pricing","prompt":"For my online store, convert 1 unit of GBP so I can display the equivalent price in my base currency — use the x402-gated converter endpoint."},{"title":"Crypto-adjacent fiat amount check","prompt":"I need to know what 75 EUR is worth right now — please use the x402 currency conversion gateway and tell me the converted amount."}],"resultDescription":"Returns a JSON object containing the result of the currency amount conversion; the exact fields depend on the gateway implementation but typically include the converted value and possibly metadata about the conversion.","failureModes":["402 Payment Required if the USDC micropayment on Base is not provided or fails","Invalid or missing amount field results in a validation error","Unsupported currency pair may return an error or empty result","Network timeout or gateway unavailability","Malformed request body causing a 422 Unprocessable Entity response"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, self-hosted, pay-per-call currency conversion that operates within the x402 micropayment protocol on Base (USDC). It is ideal for agents that already have x402 payment capability and want to avoid subscription-based FX APIs. At $0.0002 per call it is extremely cheap for low-volume or on-demand conversion needs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:48:08.954Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-amount-converter-4eb59634"}