{"uid":"cap_M32oULMonJfZVXomkaBNu","slug":"indo-news-api-sentiment-analysis-endpoint-b3bab3be","name":"Indo News API — Sentiment Analysis Endpoint","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/sentiment?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":[],"properties":{"topic":{"type":"string","description":"News topic: nasional, dunia, finance, techno, sport, hiburan, sains, or kesehatan. Default: finance."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"mood":"risk-off","next":{"feed":"https://indo-news-api.vercel.app/feed?topic=finance ($0.05) — only new articles, with cursor","articles":"https://indo-news-api.vercel.app/headlines?topic=finance ($0.05) — every article with entities and matches"},"byDay":[{"date":"2026-10-28","index":38.4,"articles":11,"meanScore":-0.23},{"date":"2026-10-29","index":44.1,"articles":14,"meanScore":-0.12}],"index":41.2,"label":"negative","topic":"finance","counts":{"mixed":2,"neutral":9,"negative":8,"positive":6},"method":"Deterministic Indonesian lexicon, no LLM. index = (meanScore + 1) / 2 * 100.","scored":25,"drivers":{"negative":[{"term":"melemah","weight":6,"articles":4}],"positive":[{"term":"naik","weight":4.5,"articles":5}]},"entities":[{"name":"Rupiah","type":"asset","articles":9,"avgScore":-0.41}],"meanScore":-0.18,"strongest":{"negative":[{"link":"https://news.google.com/rss/articles/...","label":"negative","score":-0.75,"title":"Rupiah Melemah ke Rp18.200 per Dolar AS","source":"Kompas","pubDate":"2026-10-29T08:00:00Z"}],"positive":[{"link":"https://news.google.com/rss/articles/...","label":"positive","score":0.8,"title":"IHSG Ditutup Naik 1,2 Persen","source":"CNBC Indonesia","pubDate":"2026-10-29T09:00:00Z"}]},"sampleSize":25,"generatedAt":"2026-10-29T02:00:00Z"}},"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_WzTjuAxsQBzOojt5IzIIp","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 a deterministic sentiment index and mood classification for Indonesian news articles by topic category","exampleAgentPrompt":"What's the current sentiment mood of Indonesian finance news — is it risk-on or risk-off, and which terms and entities are driving the score?","exampleUseCases":[{"title":"Indonesian market sentiment dashboard","prompt":"Give me the current sentiment index and mood for Indonesian finance news — I want to see the day-by-day trend, top negative and positive driver terms, and which assets like Rupiah or IHSG are mentioned most."},{"title":"Monitoring Indonesian health news tone","prompt":"What's the overall sentiment of Indonesian health news right now? I want to know if it's leaning positive or negative, how many articles are neutral vs negative, and which health-related entities are showing up most."},{"title":"Checking national news mood before a report","prompt":"Run a sentiment analysis on Indonesian national news for me — I need the sentiment label, the index score, and the strongest negative headline driving the score today."}],"resultDescription":"A JSON object containing: overall sentiment index (0-100 scale), mood label (e.g. 'risk-off'), mean sentiment score, article counts by polarity (positive/negative/neutral/mixed), top driver terms with weights and article counts, named entities with average scores, strongest positive and negative individual articles with titles/sources/links, a day-by-day sentiment breakdown, methodology note, and links to related feed/headlines endpoints.","failureModes":["Invalid topic value returns an error or defaults to 'finance'","No articles available for the requested topic may return empty arrays","Payment failure via x402 protocol results in 402 response before data is returned","Stale data if Google News RSS feed is temporarily unavailable","Rate limiting if too many calls are made in quick succession"],"whenToPreferThis":"Choose this endpoint when you need a structured, deterministic sentiment signal derived from real Indonesian news — especially for finance, markets, or domain-specific mood tracking. It is ideal for agents monitoring Indonesian market conditions, building news dashboards, or making decisions that depend on the risk-on/risk-off mood of Indonesian media. Prefer this over generic LLM-based sentiment tools when you want a reproducible, lexicon-based score with article-level evidence and entity attribution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T13:30:00.906Z","isFirstParty":false,"canonicalSlug":"indo-news-api-sentiment-analysis-endpoint-b3bab3be"}