{"uid":"cap_qM0UhtepwZi9vRouqZuDf","slug":"indo-news-api-currency-conversion-fx-crypto-891f6ac0","name":"Indo News API — Currency Conversion (FX & Crypto)","description":"Indonesian headlines, keyword search and ranked briefings, plus reference data: USD/IDR and any FX pair, BTC/ETH/USDT in rupiah, BMKG earthquakes and public holidays. Structured JSON, paid per call in USDC on Base. No API key, no signup.","url":"https://indo-news-api.vercel.app/convert?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["amount"],"properties":{"to":{"type":"string","description":"Target currency ISO code, default IDR."},"from":{"type":"string","description":"Source currency ISO code, default USD."},"amount":{"type":"number","description":"Amount to convert, positive."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"IDR","from":"USD","rate":16650,"amount":1500,"converted":24975000,"rate_date":"2026-10-30"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eLf2HKZzLQfwTyI97Y5RI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","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 between any two currency pairs (e.g. USD to IDR) and returns the current exchange rate and converted value as structured JSON.","exampleAgentPrompt":"What's the current exchange rate from USD to IDR, and how much would 1500 US dollars be in Indonesian rupiah?","exampleUseCases":[{"title":"Rupiah equivalent for travel budget","prompt":"I'm planning a trip to Bali and want to know how much 2000 USD is in Indonesian rupiah at today's exchange rate."},{"title":"Euro to rupiah invoice calculation","prompt":"I need to convert 5000 euros to Indonesian rupiah — what's the current EUR to IDR rate and what's the total converted amount?"},{"title":"Real-time FX check for remittance","prompt":"What's today's USD to IDR exchange rate and how many rupiah would I get for 750 US dollars?"}],"resultDescription":"Returns a JSON object with the source currency (from), target currency (to), the exchange rate used, the original amount, the converted amount, and the date the rate was fetched (rate_date). Example: {from:'USD', to:'IDR', rate:16650, amount:1500, converted:24975000, rate_date:'2026-10-30'}.","failureModes":["Invalid or unsupported currency ISO code returns an error","Missing required 'amount' parameter returns a 400-level error","Negative or zero amount may be rejected","Payment not received (x402) results in 402 Payment Required before data is returned","Stale rate data if upstream FX source is unavailable"],"whenToPreferThis":"Prefer this endpoint when you need a quick, pay-per-call currency conversion — especially involving Indonesian rupiah (IDR) — without signing up for an API key. It is well-suited for agents operating in Indonesian financial, travel, or commerce contexts that also need access to related data like Indonesian news, crypto prices, or BMKG earthquake data from the same provider.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T12:31:36.506Z","isFirstParty":false,"canonicalSlug":"indo-news-api-currency-conversion-fx-crypto-891f6ac0"}