{"uid":"cap_HiIKy1rlWpsXv9lidtKJR","slug":"x402-ai-gateway-currency-amount-conversion-ce9c7385","name":"x402 AI Gateway — Currency/Amount 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/ang/gip?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_1Lq_ATMbNNZgVgD0qzC18","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 by an x402 USDC micropayment on Base before executing.","exampleAgentPrompt":"Convert 250 USD to EUR for me — it's on the x402 AI Gateway and costs a tiny USDC micropayment per call.","exampleUseCases":[{"title":"Travel budget currency conversion","prompt":"I'm heading to Japan next week and want to know how much 500 USD would be in Japanese Yen — can you run that conversion for me?"},{"title":"E-commerce international pricing","prompt":"We're listing a product priced at 99 GBP on our EU storefront — what's the equivalent amount in Euros right now?"},{"title":"Freelance invoice cross-currency check","prompt":"My client is paying me 2000 AUD but I need to know how much that is in USD so I can fill out my invoice correctly."}],"resultDescription":"Returns a JSON object containing the converted currency amount or exchange result for the specified input amount and source currency.","failureModes":["Payment not provided or insufficient USDC — 402 Payment Required response before execution","Invalid or unsupported currency code — may return error or empty result","Amount field missing — defaults to 1 if not provided, which may not be the intended conversion","Network timeout or self-hosted backend unavailability — generic 5xx error","Malformed request body — 422 Unprocessable Entity"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-use, micropayment-gated currency conversion without committing to a subscription, and when operating in an x402-compatible agent workflow that can handle USDC payments on Base automatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:49:34.569Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-amount-conversion-ce9c7385"}