{"uid":"cap_CfEuq-tMaaJ788_bfQzjh","slug":"x402-ai-gateway-currency-conversion-f3d83609","name":"x402 AI Gateway — Currency Conversion","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/uzs?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_8D_QKsHH-sh0IBPzgJRvg","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 of one currency to another via a micropayment-gated AI gateway endpoint using x402/USDC on Base.","exampleAgentPrompt":"Convert 150 USD to Japanese Yen for me using the x402 gateway — just give me the converted amount.","exampleUseCases":[{"title":"Travel budget currency check","prompt":"I'm heading to Japan next month — can you convert 500 USD to JPY so I know how much cash to bring?"},{"title":"Invoice amount in foreign currency","prompt":"I need to invoice a client in euros — what's 1200 USD in EUR right now?"},{"title":"Crypto-to-fiat quick lookup","prompt":"How much is 1 USDC worth in British pounds at the current exchange rate?"}],"resultDescription":"Returns a JSON object containing the converted currency value for the given input amount, likely including the result in the target currency and possibly the exchange rate used.","failureModes":["Payment not provided or insufficient USDC micropayment — returns 402 Payment Required","Invalid or unsupported currency codes — returns an error or empty result","Amount not specified — defaults to 1 unit of source currency","Endpoint may return an opaque or partial response due to low schema completeness","Network or gateway downtime resulting in 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need a quick, low-cost ($0.0002 USDC) currency conversion that is callable by an AI agent via the x402 micropayment protocol. Prefer this when operating in an autonomous agent context already integrated with x402/Base payments, and when a lightweight, pay-per-call model is preferred over maintaining API key subscriptions to dedicated forex services.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:40:34.454Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-conversion-7321f9c1"}