{"uid":"cap_D8NuBVX-Vf4tY9jU7GG7g","slug":"x402-ai-gateway-fx-irr-currency-converter-02aabf21","name":"x402 AI Gateway — FX/IRR Currency 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/irr?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_-KfsK7jjMN_FNepT9vk3e","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 using the IRR (Iranian Rial) or FX rate, gated behind an x402 USDC micropayment on Base.","exampleAgentPrompt":"What's the current exchange rate for 500 USD to Iranian Rial? Convert that amount for me using the FX gateway.","exampleUseCases":[{"title":"USD to IRR conversion for remittance","prompt":"I need to send money to Iran — can you convert 200 USD to Iranian Rial and tell me how much I'd be sending?"},{"title":"FX rate check for invoicing","prompt":"I'm invoicing a client in Iran and need to bill in IRR. How much is 1000 EUR worth in Iranian Rial right now?"},{"title":"Portfolio FX exposure calculation","prompt":"I have a position worth 5000 USD. What's its current value in IRR so I can track my foreign currency exposure?"}],"resultDescription":"Returns a JSON object containing the converted amount or exchange rate result for the specified currency amount, reflecting current FX data for IRR-related conversions.","failureModes":["402 Payment Required if x402 USDC micropayment on Base is not provided or insufficient","Invalid or missing amount field returns validation error","Unsupported currency pair may return an error or empty result","Network timeout or upstream FX data provider unavailability","Malformed request body returns 422 Unprocessable Entity"],"whenToPreferThis":"Choose this endpoint when you need programmatic FX or IRR currency conversion with per-call micropayment pricing via x402 on Base blockchain, especially in agentic workflows where paying fractions of a cent per lookup is preferable to subscription fees. Best for low-volume, on-demand currency conversion where cost transparency per call matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:50:04.126Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-fx-irr-currency-converter-02aabf21"}