Most of the Chinese web is invisible to AI agents: WeChat articles render only in a browser, Baidu hot search has no public API, and Telegram channels need scraping. I built ChinaWire, a small pay-per-call API that turns those sources into clean structured data, and I want to share what it took.

What it does

  • WeChat public-account articles to Markdown - title, account, publish time, body, image URLs.
  • WeChat batch - up to 10 URLs per call.
  • Public Telegram channels to JSON - text, date, views, photo URLs.
  • ChainCatcher Chinese crypto headlines.
  • Baidu hot-search ranking - rank, keyword, hot score.

Payment without accounts

Every paid endpoint answers HTTP 402 with a PAYMENT-REQUIRED header (x402 v2): an exact USDC transfer on Base, settled through the PayAI facilitator. No API key, no signup, no KYC - an agent pays and retries with PAYMENT-SIGNATURE.

curl -i "https://api.seayeah.top/v1/wechat?url=https://mp.weixin.qq.com/s/..." # HTTP/1.1 402 Payment Required # payment-required: eyJ4NDAyVmVyc2lvbiI6Mi... 

Prices are $0.002-$0.01 per call.

Making it discoverable by agents

Beyond the 402 challenge, the service exposes /openapi.json, /.well-known/x402, /llms.txt, a robots.txt that allows agent crawlers, and a sitemap. I registered it on x402scan (SIWX wallet signature) and x402-list; the first real settlement is still the gate for Bazaar indexing.

Two bugs worth remembering

  1. My Markdown converter appended a parent's text and then recursed into children, so paragraphs appeared 3-5 times. Switching to text-node traversal with paragraph flushing fixed it (same article: 7,600 chars to 4,619).
  2. The URL check was if \"mp.weixin.qq.com\" not in url, which https://evil.example/?mp.weixin.qq.com passes. Strict host parsing plus redirect validation closed it.

Try it

Feedback welcome - especially if you are building agents that need Chinese data.