# China Hot Search API – Digest

> China Hot Search API – Digest is a paid API for AI agents from china-trends-x402.onrender.com, paid per call via x402, $0.15/call, status unknown (last checked 2026-10-12).

Returns real-time trending/hot-search lists aggregated from 9 major Chinese platforms (Weibo, Baidu, Douyin, etc.) in a unified JSON schema, with cross-platform topic deduplication.

## Facts

- Endpoint: GET https://china-trends-x402.onrender.com/v1/digest?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/china-hot-search-api-digest-7aad7cce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w3pwFlXkxt0uFmosRw4lI

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 china-hot-search-api-digest-7aad7cce
```

Example prompt: Pull the latest hot-search digest from all 9 Chinese platforms and show me the top 15 items per platform, highlighting any topics trending across multiple platforms at once.

## When to prefer this

Use this endpoint when you need a single unified call to get hot-search data across all major Chinese platforms at once, rather than scraping each platform individually. It is ideal for real-time trend monitoring, news intelligence, or brand-listening workflows focused on the Chinese internet. Prefer it over platform-specific APIs when cross-platform deduplication and a normalized schema matter. The pay-per-call x402 pricing (no signup) makes it suitable for low-frequency or ad-hoc agent use cases.

## Known failure modes

- Individual platform scrape failure — reflected in `errors` map, other platforms still returned
- Rate limiting or upstream platform unavailability returns partial results
- Payment not completed via x402 — returns 402 Payment Required before data is served
- Invalid `top` parameter (outside 1–50 range) returns 400 validation error
- Cold-start latency on render.com free tier may cause timeout on first request

## How this service works

Real-time hot-search / trending lists from 9 Chinese platforms in one JSON schema. Pay per call with USDC on Base via x402. No keys, no signup.

## Output

A JSON object containing: (1) a `crossPlatform` array of topics trending on multiple platforms, each with a composite score, best rank, mention count, and per-platform detail; (2) a `topPerPlatform` map keyed by platform slug (e.g. 'weibo', 'baidu', 'douyin') with ranked topic entries including title, rank, hot value, label, excerpt, category, image URL, and source URL; plus a `fetchedAt` ISO timestamp and an `errors` map for any platforms that failed.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "top": {
       "type": "integer",
       "maximum": 50,
       "minimum": 1,
       "description": "Items per board in topPerPlatform (default 10)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "errors": {},
  "fetchedAt": "2026-10-03T08:00:00Z",
  "crossPlatform": [
   {
    "score": 1.83,
    "topic": "示例话题",
    "bestRank": 1,
    "mentions": [
     {
      "url": "https://s.weibo.com/weibo?q=%23...%23",
      "rank": 1,
      "label": "热",
      "title": "示例话题",
      "excerpt": null,
      "category": null,
      "hotValue": 1234567,
      "imageUrl": null,
      "platform": "weibo",
      "publishedAt": null,
      "platformName": "Weibo Hot Search (微博热搜)"
     }
    ],
    "platforms": [
     "baidu",
     "douyin",
     "weibo"
    ],
    "platformCount": 3
   }
  ],
  "topPerPlatform": {
   "weibo": [
    {
     "url": "https://s.weibo.com/weibo?q=%23...%23",
     "rank": 1,
     "label": "热",
     "title": "示例话题",
     "excerpt": null,
     "category": null,
     "hotValue": 1234567,
     "imageUrl": null,
     "platform": "weibo",
     "publishedAt": null,
     "platformName": "Weibo Hot Search (微博热搜)"
    }
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/china-hot-search-api-digest-7aad7cce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from china-trends-x402.onrender.com](https://www.zero.xyz/host/china-trends-x402.onrender.com/llms.txt)
