# CN Data – Chinese Trending Topics

> CN Data – Chinese Trending Topics is a paid API for AI agents from cn-data-x402.cn-data-x402-worker.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-16).

Returns a ranked list of currently trending topics and hot search titles from Chinese platforms as machine-readable JSON.

## Facts

- Endpoint: GET https://cn-data-x402.cn-data-x402-worker.workers.dev/cn/trends?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cn-data-chinese-trending-topics-47e9c025
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VG-uAWZPg10miASp040P2

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 cn-data-chinese-trending-topics-47e9c025
```

Example prompt: What are the top 20 trending topics in China right now? Fetch the current Chinese hot search rankings and give me a clean list with scores.

## When to prefer this

Choose this endpoint when you need structured, machine-readable access to Chinese trending topic data without API key registration. It is especially useful for agents monitoring Chinese market sentiment, social media trends, or public discourse, where source pages are Chinese-language-only and would otherwise require scraping. The x402 micropayment model makes it suitable for on-demand, pay-per-call workflows without subscription overhead.

## Known failure modes

- HTTP 402 returned before payment is made — must pay $0.02 USDC on Base and retry
- limit parameter out of range (must be 1-50) may result in validation error or default behavior
- Trending data may reflect a cached snapshot and not be real-time to the second
- Chinese-language titles returned as-is with no translation — agent must handle Unicode

## How this service works

Chinese market and China-focused public data over the x402 protocol. No API key and no signup: call any endpoint, receive HTTP 402 with payment terms, pay the listed amount in USDC on Base and retry. Every response is JSON. Some Chinese-language sources are published only as web pages — these endpoints return them as clean, machine-readable JSON.

## Output

A JSON object containing an array of ranked trending items, each with a rank integer, a Chinese-language title string, a hotScore integer indicating popularity, an optional description, and a total count of available items in the feed.

## 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",
     "properties": {
      "limit": {
       "type": "integer",
       "description": "返回条数 1-50，默认 20"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "items": [
    {
     "rank": 1,
     "title": "示例热搜标题",
     "hotScore": 1234567,
     "description": null
    }
   ],
   "total": 51
  },
  "endpoint": "/cn/trends"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cn-data-chinese-trending-topics-47e9c025/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cn-data-x402.cn-data-x402-worker.workers.dev](https://www.zero.xyz/host/cn-data-x402.cn-data-x402-worker.workers.dev/llms.txt)
