llms.txt Content
# ReadGZH — WeChat Article AI Reader
> ReadGZH 是一个把微信公众号文章转换为 AI 可读格式的 API 服务。
> ReadGZH is a cloud-based API service that makes WeChat Official Account (微信公众号) articles fully readable by AI systems. It exists because WeChat heavily restricts off-platform access: requests from AI tools such as ChatGPT, Claude, Gemini and Perplexity usually cannot retrieve the body text behind `mp.weixin.qq.com` links.
## What ReadGZH Does
ReadGZH acts as a server-side proxy that fetches, sanitizes, and re-serves WeChat articles in a format optimized for machine consumption. The pipeline strips all inline styles, class attributes, data-* attributes, and WeChat proprietary tags (`<mp-common-profile>`, `<mp-style>`, etc.), which noticeably reduces token consumption compared to raw WeChat HTML. Output is pure server-rendered HTML with zero JavaScript dependency, ensuring compatibility with any HTTP-capable AI agent or crawler.
## Core API
**Base URL**: `https://api.readgzh.site`
| Endpoint | Method | Description |
|----------|--------|-------------|
| `/rd?url={wechat_url}` | GET | Extract and return a WeChat article. Add `&format=text` for Markdown output (recommended). |
| `/rd?s={slug}` | GET | Retrieve a cached article by slug. Add `&part=N` for chunked reading of long articles. |
| `/rd?s={slug}&mode=summary` | GET | Get an AI-generated structured JSON summary (Pro feature). |
| `/articles-api/search?q={query}` | GET | Search cached articles by keyword. |
| `/articles-api/recent?limit={n}` | GET | List recently cached articles. |
| `/articles-api/by-account?account={name}&limit={n}` | GET | List cached articles from one Official Account (cache scope only, not a full archive). |
**Authentication**: Optional but strongly recommended for AI agents. Include `Authorization: Bearer sk_live_...` for higher rate limits (a free key gives 30 credits/day, claimed daily, at https://readgzh.site/dashboard). Without a key, the publi