# Indo News API

> Indo News API is a paid API for AI agents from indo-news-api.vercel.app, paid per call via x402, $49/call, status unknown (last checked 2026-10-31).

Searches Indonesian news headlines by keyword and returns structured JSON with articles, keyword frequencies, timelines, and top sources.

## Facts

- Endpoint: GET https://indo-news-api.vercel.app/report/buy?utm_source=zero.xyz
- Price: $49/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/indo-news-api-2494a95c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mUa6NCEXZ90qTDSiqqulK

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability indo-news-api-2494a95c
```

Example prompt: Search Indonesian news for 'pertamina' and give me recent headlines, keyword trends, and which sources are covering it the most.

## When to prefer this

Choose this endpoint when you need structured, aggregated Indonesian-language news data about a specific brand, person, or issue — especially when you need keyword frequency analysis, source breakdowns, and article timelines in a single API call. Prefer it over general news APIs when Indonesian-language coverage and structured analytics are required, and when your agent can handle USDC micropayments via x402 on Base.

## Known failure modes

- Missing or empty 'q' query parameter returns an error
- Query with no matching Indonesian news returns empty arrays
- Non-Indonesian queries may yield sparse or irrelevant results
- Payment failure (insufficient USDC on Base) blocks access with HTTP 402
- Rate limiting or upstream Google News RSS outage may cause timeouts or empty results

## How this service works

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.

## Output

Returns a JSON object containing: the original query, an array of latest articles (each with title, link, source, pubDate, and snippet), keyword frequency counts, a day-by-day article count timeline, top news sources with article counts, total source count, total article count, and a generatedAt timestamp.

## Request schema (JSON Schema)

```json
{
 "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": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Brand, person or issue to cover, e.g. 'pertamina'. Indonesian works best."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "rupiah",
  "latest": [
   {
    "link": "https://news.google.com/rss/articles/...",
    "title": "Rupiah Tertekan di Rp18.135, Inflasi Pangan Jadi Perhatian",
    "source": "Warta Ekonomi",
    "pubDate": "2026-10-27T02:00:00Z",
    "snippet": "..."
   }
  ],
  "keywords": [
   {
    "term": "rupiah",
    "count": 9
   },
   {
    "term": "dollar",
    "count": 5
   }
  ],
  "timeline": [
   {
    "date": "2026-10-21",
    "count": 2
   },
   {
    "date": "2026-10-27",
    "count": 7
   }
  ],
  "topSources": [
   {
    "count": 4,
    "source": "CNBC Indonesia"
   }
  ],
  "generatedAt": "2026-10-27T02:00:00Z",
  "report_html": "<!doctype html><html><head><meta charset=\"utf-8\"><title>Coverage report — rupiah</title></head><body><h1>Rupiah — 30 hari</h1><p>22 artikel, 14 media</p>…</body></html>",
  "sourceCount": 14,
  "articleCount": 22
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/indo-news-api-2494a95c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from indo-news-api.vercel.app](https://www.zero.xyz/host/indo-news-api.vercel.app/llms.txt)
