{"uid":"cap_GcoFsffQqtRNJyj3KiiN2","slug":"x402-ai-gateway-currency-converter-fx-ang-idr-ff823748","name":"x402 AI Gateway — Currency Converter (FX/ANG/IDR)","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/idr?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_mCeqggqZnmJDl1bTWZir2","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 (likely ANG or IDR-related FX pair) using a self-hosted AI gateway that requires a micropayment before execution.","exampleAgentPrompt":"Convert 250 of the source currency using the FX ANG/IDR endpoint — it costs a tiny USDC micropayment per call.","exampleUseCases":[{"title":"Travel budget currency conversion","prompt":"How much is 500 ANG worth in IDR right now? Use the currency converter that charges a small USDC fee per lookup."},{"title":"FX rate check for remittance app","prompt":"I need to convert 1000 units of the source currency to IDR — can you call the pay-per-use FX conversion API and give me the result?"},{"title":"Automated FX spot-rate enrichment","prompt":"Fetch the current ANG to IDR conversion rate for an amount of 1 unit so I can update my pricing table — use the micropayment-gated FX endpoint."}],"resultDescription":"Returns a JSON object containing the converted currency amount and likely the applicable exchange rate for the ANG/IDR pair. The exact response schema is unspecified beyond a generic object, so the agent should parse the result for numeric conversion values.","failureModes":["Payment not completed or x402 micropayment rejected — endpoint returns 402 Payment Required","Invalid or missing 'amount' field — returns validation error","Unsupported currency pair — returns error or empty result","Network timeout on self-hosted instance — no response or connection error","Rate limit or server overload on self-hosted infrastructure — 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, self-hosted currency conversion for the ANG/IDR FX pair and are already operating within an x402 micropayment workflow on Base (USDC). Prefer this over free FX APIs when you need per-call billing, want to avoid subscription keys, or are building an agent that autonomously pays for data access via USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:42:33.418Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-currency-converter-fx-ang-idr-ff823748"}