Base URL: whatever host you're running this on, e.g. http://localhost:3000
/healthLiveness check.
Every endpoint below requires an API key, sent as Authorization: Bearer <your-api-key>. Get one by registering and creating one from your dashboard.
/versions requires an API keyList available Bible version codes (e.g. kjv, niv, nlt).
GET /versions
Authorization: Bearer <your-api-key>
/books requires an API keyList book names and their chapter counts.
GET /books
Authorization: Bearer <your-api-key>
/search requires an API keySearch for a verse by phrase. Query params: q (required), version (optional — omit to search across every version at once, each result tagged with its own version field), fuzzy (true/1 to allow misremembered wording), limit (default 10, max 50).
GET /search?q=for+god+so+loved+the+world&version=kjv
Authorization: Bearer <your-api-key>
Note: omitting version here returns a single ranked list mixing all versions — that's different from /chapter below, where omitting it returns every version's chapter grouped separately.
/chapter requires an API keyFetch a full chapter. JSON body: book (required), chapter (required), version (optional — omit to get the chapter from every version).
POST /chapter
Authorization: Bearer <your-api-key>
Content-Type: application/json
{"book": "John", "chapter": 3, "version": "kjv"}