# Indo News API — Web Page Reader (/read)

> Indo News API — Web Page Reader (/read) is a paid API for AI agents from indo-news-api.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-23).

Fetches and extracts clean text from any public Indonesian (or other) web page URL, returning title, body paragraphs, sentiment, named entities, and metadata.

## Facts

- Endpoint: GET https://indo-news-api.vercel.app/read?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/indo-news-api-web-page-reader-read-37d80290
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q7m2VXLpnhxutHBByTnlA

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-web-page-reader-read-37d80290
```

Example prompt: Fetch and extract the full text from this Indonesian news article — https://www.cnnindonesia.com/ekonomi — and tell me what the page says, including the sentiment and any organizations or people mentioned.

## When to prefer this

Choose this endpoint when you need to read and extract clean text from a specific Indonesian (or any public) web page URL, especially when you also want lexicon-based Indonesian-language sentiment scoring and named entity extraction in a single call. Prefer it over generic web scrapers when dealing with Indonesian-language content and needing structured NLP metadata without an API key or signup. Not ideal for crawling entire sites, rendering JavaScript-heavy SPAs, or accessing paywalled content.

## Known failure modes

- 400 returned if URL contains credentials, uses non-web ports, or resolves to a private/metadata IP address
- Non-200 HTTP status from the target page propagated in the status field
- Page may return truncated=true if content exceeds limits
- Language detection may be inaccurate for mixed-language pages
- Paywalled or JavaScript-rendered pages may return incomplete or empty text
- Payment required (402) if USDC payment on Base is not provided

## 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

A JSON object containing the page title, clean extracted text (paragraph-separated), word count, detected language, resolved final URL, pinned IP, content type, fetch timestamp, a sentiment analysis result (label, score, positive/negative term matches), a list of named entities (name + type), and flags for truncation and extraction method. Sentiment and entity extraction are lexicon-based (no ML model).

## 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": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Absolute public http(s) URL of the page to read. Credentials in the URL, non-web ports and any target whose DNS answer includes a private or metadata address are refused with 400 before payment."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://www.cnnindonesia.com/ekonomi",
  "host": "www.cnnindonesia.com",
  "lang": "id-id",
  "text": "Paraagraf pertama halaman itu, tanpa markup.\n\nParagraf berikutnya.",
  "title": "Ekonomi - Berita Ekonomi, Bisnis, dan Keuangan Terkini",
  "words": 412,
  "status": 200,
  "entities": [
   {
    "name": "Bank Indonesia",
    "type": "org"
   }
  ],
  "final_url": "https://www.cnnindonesia.com/ekonomi",
  "pinned_ip": "103.149.164.10",
  "sentiment": {
   "label": "neutral",
   "score": 0.12,
   "matches": [
    {
     "term": "tumbuh",
     "weight": 1.5,
     "negated": false
    }
   ],
   "negative": 1,
   "positive": 1.5
  },
  "truncated": false,
  "extraction": "paragraphs",
  "fetched_at": "2026-11-04T04:00:00.000Z",
  "source_note": "sentiment and entities are the deterministic Indonesian lexicon + entity dictionary behind /sentiment and /feed, applied to the extracted text (no model, no network); page declares lang=id-id.",
  "content_type": "text/html; charset=utf-8"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/indo-news-api-web-page-reader-read-37d80290/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)
