# Detik News Search

> Detik News Search is a paid API for AI agents from api.timzinin.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-13).

Searches Detik.com (Indonesia's largest news portal) for articles matching a query, returning ranked results with title, excerpt, URL, section, image, and publication metadata.

## Facts

- Endpoint: POST https://api.timzinin.com/api/detik-news-search
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/detik-news-search-593c0ec7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eM-N0y5OUM6fhEc4yyt9k

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 detik-news-search-593c0ec7 -d '<json body>'
```

Example prompt: Search Detik.com for the latest news articles about Bank Indonesia's interest rate policy and give me the titles, excerpts, and links from the first page of results.

## When to prefer this

Choose this endpoint when you need structured news search results specifically from Detik.com, Indonesia's largest news portal, with metadata like section, image, and publish time. Prefer it over generic web search when you need Indonesian-language news coverage, want results scoped to a single trusted Indonesian publisher, or need structured article metadata (not raw HTML). Not suitable for non-Indonesian news sources or real-time streaming news.

## Known failure modes

- No results found for obscure or misspelled queries — results array will be empty
- Network timeout if Detik.com is slow — run_ms may exceed threshold
- Partial results if scraping was incomplete — sourcePartial flag set to true
- Payment not settled — settled field returns false and results may be withheld
- Invalid query format may return error field populated in result objects

## How this service works

Pay-per-call data & tool APIs

## Output

Returns a JSON object with a meta block (run time in ms, settlement status, item count) and a results array. Each result includes: article URL, page number searched, title, excerpt, section name (e.g. detikFinance), image URL, position in results, article ID, published timestamp, published relative text (e.g. '4 jam yang lalu'), source search URL, a dedupe key, and error/partial flags.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "maxLength": 200,
   "minLength": 1
  },
  "max_items": {
   "type": "integer",
   "maximum": 100,
   "minimum": 1
  },
  "max_pages": {
   "type": "integer",
   "maximum": 5,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "meta": {
   "run_ms": 1200,
   "settled": true,
   "item_count": 1
  },
  "results": [
   {
    "url": "https://finance.detik.com/berita-ekonomi-bisnis/d-8611182/harga-cabai-rawit-kian-pedas-nyaris-rp-60-ribu-kg",
    "page": 1,
    "error": "",
    "found": true,
    "query": "Bank Indonesia",
    "title": "Harga Cabai Rawit Kian Pedas, Nyaris Rp 60 Ribu/Kg",
    "excerpt": "Komoditas pangan yang mengalami kenaikan harga di antaranya beras, cabai, daging sapi dan daging ayam.",
    "section": "detikFinance",
    "imageUrl": "https://akcdn.detik.net.id/community/media/visual/2026/02/20/cabai-rawit-merah-mengalir-ke-pasar-induk-kramat-jati-1771573533198_43.jpeg?w=250&q=90",
    "position": 3,
    "articleId": null,
    "checkedAt": "2026-08-09T16:56:41.982Z",
    "dedupeKey": "detik:url:028b42895eda405c2e605d564a33766c8a04348cd09103601560fca705d757c4",
    "errorCode": null,
    "sourceUrl": "https://www.detik.com/search/searchall?query=Bank+Indonesia&page=1",
    "publishedAt": "2026-08-09T12:00:15.000Z",
    "partialReason": null,
    "publishedText": "4 jam yang lalu",
    "sourcePartial": false
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/detik-news-search-593c0ec7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.timzinin.com](https://www.zero.xyz/host/api.timzinin.com/llms.txt)
