{"uid":"cap_ge2OsnxxqRYjtP6MpQn_9","slug":"x402-ai-gateway-currency-amount-converter-f06b6642","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/jod?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_omUOU7GYCZL_NNf0JQ8q_","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 to another via a self-hosted AI gateway, gated by a USDC micropayment on Base via x402.","exampleAgentPrompt":"Convert 250 US dollars to Japanese yen for me — use the x402-gated currency converter on fastapi.online.","exampleUseCases":[{"title":"Travel budget currency check","prompt":"I'm heading to Japan next month with a budget of 1500 USD — how much is that in Japanese yen right now?"},{"title":"Invoice amount conversion","prompt":"I need to bill a client in euros, but the contract says 5000 Canadian dollars — what's the equivalent amount in EUR?"},{"title":"Quick forex sanity check","prompt":"Convert 1 GBP to USD for me so I can see the current exchange rate before I wire money abroad."}],"resultDescription":"A JSON object containing the converted currency amount and potentially the exchange rate or conversion details for the specified source amount.","failureModes":["Payment failure: x402 micropayment of 0.0002 USDC not completed or rejected — endpoint returns 402 Payment Required","Invalid amount: non-numeric or negative amount value returns a validation error","Missing amount: omitting the amount field may default to 1 but could return an error depending on server state","Service unavailability: self-hosted instance may be offline, returning 5xx errors","Unsupported currency pair: requested currency pair not supported by the underlying model or data source"],"whenToPreferThis":"Choose this endpoint when you need a micropayment-gated, self-hosted currency conversion that supports x402 USDC payments on Base — particularly useful in autonomous agent pipelines that already handle x402 payment flows and need lightweight per-call billing rather than subscription-based FX APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:40:27.314Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-amount-converter-4eb59634"}