XIYU.NEWS API

xiyu.news API and Agent Developer Resources

xiyu.news exposes a public, read-only REST surface for agents, research tools, notebooks, and feed readers. No API key or account is required. The files are generated with each daily edition and served from Cloudflare’s edge. Clients should cache responses according to their HTTP headers, avoid unnecessary polling, and retain the original publisher URL when presenting a story.

REST endpoints

The public API is intentionally read-only. Private administrative operations are not part of this public specification. A successful edition response contains bilingual titles and summaries, ranking, score, category, source attribution, original URLs, tags, source-confirmation count, and optional thread data. The latest edition also includes publication-window, run-statistic, overview, and market-snapshot fields when available.

curl -sS https://xiyu.news/api/latest.json
curl -sS https://xiyu.news/api/editions.json
curl -sS https://xiyu.news/editions/2026-08-24/edition.json
curl -sS https://xiyu.news/api/events.json

Errors and compatibility

Unknown API routes return an HTTP 404 with an application/json body:

{
  "error": {
    "code": "not_found",
    "message": "No API endpoint exists at this path.",
    "resolution": "Read /openapi.json or /developers/ and use a documented endpoint."
  }
}

Unsupported methods return 405 method_not_allowed. All public JSON responses allow cross-origin reads. Agents should first read /api/editions.json rather than guessing historical dates.

Markdown and agent discovery

The Chinese and English homepages support HTTP content negotiation. Send an Accept header that prefers text/markdown to receive CommonMark-style text from the same canonical URL. Responses declare Content-Type: text/markdown; charset=utf-8 and Vary: Accept, Accept-Encoding. Browser requests continue to receive the normal HTML page. Stable Markdown files are also available at /index.html.md and /en/index.html.md.

Start agent discovery with /llms.txt, and use /sitemap.xml for the complete indexable page inventory. Category-specific Atom feeds are available for crypto, AI and technology, and policy, with corresponding -zh.xml files.

Attribution and limits

xiyu.news analysis is not investment advice. Third-party titles, reporting, and other source materials remain subject to their original rights. When quoting or summarizing an item, cite the original URL from the API and identify xiyu.news as the ranking and analysis layer. See Legal and content rights for the full boundary. For corrections, rights concerns, or security reports, use the channels on the contact page.

XIYU.NEWS APP

Install xiyu.news

Open in a standalone window, check for updates online and read saved pages offline.