# x402donghang Chinese Summarization API

> x402donghang Chinese Summarization API is a paid API for AI agents from x402donghang.duckdns.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Fetches a public URL or accepts raw text and returns a structured Chinese-language summary with key points and actionable suggestions, paid per-call via x402.

## Facts

- Endpoint: GET https://x402donghang.duckdns.org/x402/v1/summarize
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402donghang-chinese-summarization-api-d1c3142d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Lpd81vO6YvyAOohTfE1kQ

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 x402donghang-chinese-summarization-api-d1c3142d
```

Example prompt: Can you summarize this article for me in Chinese — here's the URL: https://example.com/some-long-article — keep it under 600 characters and pull out the key points and what I should do next.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call Chinese-language summarization of a web page or raw text, especially in agent workflows targeting Chinese-speaking users or requiring structured JSON output (summary + key_points + actions). Prefer it over general LLM calls when you want a fixed, cheap per-call cost via x402 micropayment, no session management, and no headless browser overhead. Best for articles, blog posts, and plain-text content rather than JavaScript-heavy SPAs.

## Known failure modes

- URL is not publicly accessible or behind a paywall — returns error or empty content
- Input text exceeds processing limits — may truncate or return error
- max_chars exceeds 1200 — capped or rejected
- Neither url nor text provided — validation error
- Payment of $0.01 USDC not fulfilled — 402 Payment Required response
- Target URL returns non-text content (PDF, media) — may fail to extract meaningful text

## How this service works

Chinese summary API for public URL or raw text. Returns summary + key_points + 3 actions JSON. $0.02 USDC per call. Lightweight fetch, no headless browser.

## Output

A JSON object containing: ok (boolean), title (page title if available), source metadata (type and character count), a Chinese-language summary string, an array of key_points strings in Chinese, and an array of 3 recommended action strings in Chinese.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Public http(s) URL to fetch and summarize (optional if text given)"
  },
  "text": {
   "type": "string",
   "description": "Raw text to summarize (optional if url given)"
  },
  "locale": {
   "type": "string",
   "description": "Default zh"
  },
  "max_chars": {
   "type": "number",
   "description": "Target summary length in Chinese chars, default 500, max 1200"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "title": "标题（如有）",
  "source": {
   "type": "text",
   "chars_in": 1200
  },
  "actions": [
   "可执行动作1",
   "动作2",
   "动作3"
  ],
  "product": "summarize",
  "summary": "中文要点摘要……",
  "key_points": [
   "要点1",
   "要点2",
   "要点3"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402donghang-chinese-summarization-api-d1c3142d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402donghang.duckdns.org](https://www.zero.xyz/host/x402donghang.duckdns.org/llms.txt)
