{"uid":"cap_QhEhNjeVwYIpnKbGQCV7L","slug":"indo-news-api-fx-exchange-rate-lookup-65177402","name":"Indo News API — FX Exchange Rate Lookup","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/fx?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","properties":{"to":{"type":"string","description":"Quote currency, ISO 4217. Default IDR."},"days":{"type":"integer","description":"Length of the daily series, 1-365. Default 30."},"from":{"type":"string","description":"Base currency, ISO 4217. Default USD."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"base":"USD","date":"2026-10-30","rate":18148,"quote":"IDR","series":[{"date":"2026-10-01","rate":18070}],"series_days":30,"change_pct_over_series":0.42}},"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_ynL8AcTf7GyvzlhnqhZI3","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":"Returns the current exchange rate and historical daily series for any currency pair, defaulting to USD/IDR","exampleAgentPrompt":"What's the current USD to IDR exchange rate, and can you show me how it has trended over the last 60 days?","exampleUseCases":[{"title":"Real-time rupiah rate check","prompt":"What is the Indonesian rupiah rate against the US dollar right now, and how has it changed over the past 30 days?"},{"title":"EUR/IDR historical trend analysis","prompt":"Can you pull the Euro to Indonesian rupiah exchange rate and give me a 90-day historical series so I can see the trend?"},{"title":"Multi-currency FX comparison","prompt":"Fetch the current GBP to IDR exchange rate along with the daily rate series for the last 14 days so I can see recent movements."}],"resultDescription":"Returns a JSON object with the base currency, quote currency, current rate, today's date, percentage change over the requested series period, and an array of daily {date, rate} objects for the historical series window.","failureModes":["Invalid or unsupported ISO 4217 currency code returns an error","Days parameter outside 1–365 range may return a validation error","Network or upstream data provider outage may return 5xx","Payment not included or insufficient USDC results in 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need structured, up-to-date FX rate data for Indonesian rupiah (IDR) or any supported currency pair, especially with a built-in historical daily series and percentage change — all without API key registration, using per-call USDC micropayments on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:32:50.144Z","isFirstParty":false,"canonicalSlug":"indo-news-api-fx-exchange-rate-lookup-65177402"}