For developers
The whole translation as plain JSON files you can fetch from any site or app: no key, no sign-up, no rate limit beyond good manners. The text is CC0, so you may copy, change and ship it however you like.
Version
/data-version.json names the layout of these files. Its version changes only when a shape changes in a way that could break you; commit changes with every deploy, so you can tell when to fetch again.
{
"version": 1,
"commit": "55653f5cc61d193923934043c1b98b8193cca47d",
"verses": "/verses/{BOOK}/{chapter}.json",
"editions": "/editions/{BOOK}/{chapter}.json",
"words": "/words/{shard}.json",
"word_shards": 256,
"licence": "CC0-1.0 (our text); editions keep their own licences"
}
All of these are served with Access-Control-Allow-Origin: *.
Verses
/verses/<BOOK>/<chapter>.json, for example /verses/JHN/3.json: every verse of a chapter in every language it has, at the three levels: L (Literal), B (Balanced) and R (Readable). Book codes are the USFM three-letter codes.
{
"v": {"16": {"en": {"L": "...", "B": "...", "R": "..."}, "es": {...}}},
"p": [1, 16], verses that open a paragraph
"q": {"en": [21]}, verses set as poetry lines, by language
"c": {"web": {"17": "..."}} other Bibles' text where ours is not ready yet
}
The text keeps two kinds of markup. {{name:first|second}} is a reader setting (how God's name is shown, inclusive language and so on): show the first option unless you offer the choice, except deity_pronoun, whose default is the second. \q starts a poetry line; read it as a space or a line break. The rules are in owb/markup.py.
Other Bibles
/editions/<BOOK>/<chapter>.json: public-domain Bibles in our verse numbering, {"kjv": {"16": "..."}, "web": {...}}, for comparison. Each keeps its own licence (see credits).
Words
/words/<n>.json, n from 0 to 255: each Greek, Hebrew and Aramaic dictionary form, with its glosses, where it occurs and how our text translates it. A word is in shard n:
function shard(lemma) { // FNV-1a over UTF-16 code units
var h = 0x811c9dc5;
for (var i = 0; i < lemma.length; i++) {
h ^= lemma.charCodeAt(i);
h = Math.imul(h, 0x01000193) >>> 0;
}
return h % 256;
}
{
"<lemma>": {
"s": "G26", "lang": "grc", "tr": "agapē",
"g": [["love", 106]], glosses and how often
"n": 116, occurrences
"v": ["MAT.24.12", ...], the first verses
"r": {"en": [["love", 98, "MAT.24.12"]]} how our text renders it
}
}
Whole books and more
- Downloads: the whole translation as OSIS, USFM, plain text and more, and modules for Bible software.
- Embeds and the reference tagger: verses on any web page with one line of HTML.
- The source: every sentence's record, its decisions and its alignment to the original words, under
content/.
Glosses are MACULA's Berean and Cherith glosses. Please don't scrape the HTML pages: everything on them is in these files.