{"uid":"cap_eec_bEjOyYK6hPlE2lWrJ","slug":"x402-ai-gateway-currency-amount-converter-e15d533a","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/lbp?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_aLN1nCdllTHOKmo9CujJs","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 execution.","exampleAgentPrompt":"Convert 250 units of the source currency for me — I need the converted amount back, and I'm okay with the $0.0002 USDC micropayment to unlock the result.","exampleUseCases":[{"title":"Quick travel currency estimate","prompt":"How much is 500 in the source currency after conversion? Just run the calculation for me — I'll pay the micropayment fee."},{"title":"E-commerce checkout conversion","prompt":"I need to convert 1200 units of the source currency for a purchase I'm making — can you run that conversion and give me the result?"},{"title":"Automated FX pipeline step","prompt":"As part of my pricing workflow, convert an amount of 75 in the source currency and return the converted value so I can update my records."}],"resultDescription":"Returns a JSON object containing the result of the currency conversion for the given amount; exact fields depend on the server implementation but typically include the converted value and possibly exchange rate metadata.","failureModes":["Payment not received or invalid x402 micropayment — endpoint returns 402 Payment Required before executing","Invalid or missing amount parameter — may return a 422 validation error","Unsupported or unspecified currency — may return an error or unexpected result","Server unavailable — self-hosted infrastructure may have higher downtime risk than managed APIs","Ambiguous input schema — 'amount' alone without an explicit source/target currency may yield unexpected defaults"],"whenToPreferThis":"Prefer this endpoint when you need a lightweight, low-cost ($0.0002 USDC) currency conversion that is gated by an x402 micropayment and you are operating in an agent or wallet environment already set up to handle x402 payment flows on Base. Not recommended when you need free, unlimited, or enterprise-grade FX data with guaranteed SLAs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:50:24.330Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-amount-converter-4eb59634"}