CSKit Open-Source API · v2.0.0

Public-Domain Reference & Citation API

Fast, read-only JSON access to pre-1931 U.S. public-domain Christian Science literature and the King James Version Bible, with drop-in compatibility for Pleasant Viewer and CSKit clients.

36Public-domain works
199,690Indexed lines & verses
116,216Full-text passages
CORS + JSONPBrowser-ready

Legacy CSKit / Pleasant Viewer Endpoints (v1)

GET /v1/text.json?citations=... — Pipe-delimited citation lookup with starter/terminator word trims and JSONP support. Try: Mat 10:8 freely & Science and Health 494:10-11
GET /v1/parse_citation.json?volume=...&citation=... — Parse a citation into structured book/page/line data. Try: parse Mat 10:8 freely

Extensible Source Library Endpoints (v2)

GET /v2/works — List all ingested public-domain works with rights basis and citation precision. Try: /v2/works
GET /v2/cite?q=... — Resolve semicolon- and comma-separated citations across all works. Try: John 8:32; SH 494:10-11
GET /v2/search?q=... — Ranked full-text search with exact page:line matching and snippets. Try: search “divine Love” in SH
GET /v2/concord?term=... — Canonical ordered concordance across one or all works. Try: concordance for “shepherd”
GET /v2/context?q=... — Surrounding lines or verses before and after a citation. Try: context around SH 494:10-11
GET /v2/works/{work_id}/page/{page_label} — Read a full printed page line by line. Try: Science and Health page 494
POST /v2/lesson — Assemble a structured reading or study packet from JSON sections.

Machine-Readable Discovery

/openapi.json — OpenAPI 3.1 specification
/v2/meta — Corpus statistics, tiers, and provenance
/health — Health check