Chinese Text Project

Full text of classical Chinese works, as JSON.

📖 Books & WordsHEALTHYchecked 1h ago
AUTH NONECORS ✓AGENT ✓HTTPS ✓COMMERCIAL ?

An open-access API into a large digital library of pre-modern Chinese texts. Request a work by its URN and receive the passage text plus its title as JSON. Basic access is keyless, and a free API key raises the limits; great for scholarship and language projects.

88HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 88 · healthy
Uptime history
88.7%90 days
100%30 days
376P50 · ms
1581P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 144 ms, slowest 995 ms, most recent 238 ms.
Live response samplecaptured by our last successful check
GET https://api.ctext.org/gettext?urn=ctp:analects/xue-er

{
  "title": "學而",
  "fulltext_first": "子曰:「學而時習之,不亦說乎?有朋自遠方來,不亦樂乎?人不知而不慍,不亦君子乎?」",
  "fulltext_count": 16
}
Call itcurl · fetch · python
curl "https://api.ctext.org/gettext?urn=ctp:analects/xue-er"
const res = await fetch("https://api.ctext.org/gettext?urn=ctp:analects/xue-er");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://api.ctext.org/gettext?urn=ctp:analects/xue-er")
print(res.json())
Endpoints · 3HealthyFULL DOCS ↗
Monitored path responding — GET /gettext?urn=ctp:analects/xue-er376 mschecked 1h ago
GET/gettext?urn=ctp:analects/xue-erPROBED

Full text of classical Chinese works, as JSON.

GET/gettext?limit=5

Gettext — documented GET route.

GET/gettext?page=1

Gettext — documented GET route.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

Chinese Text Project: common questions

Is Chinese Text Project free to use?

Yes — Chinese Text Project is a free books & words API. Free tier: Free (higher limits with a free API key). Whether the free tier allows commercial use is unclear — check the provider docs.

Does Chinese Text Project need an API key?

No — Chinese Text Project needs no API key or signup. You can call it straight away; rate limits still apply (Fair-use; raised with an API key).

Can I call Chinese Text Project from the browser?

Yes — Chinese Text Project returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is Chinese Text Project up right now?

As of our last scheduled check, Chinese Text Project is healthy with 88.7% uptime over 90 days and a 376 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.