User guide
The two texts
OpenVertaling is a revision project of the Statenvertaling, the classic Dutch Bible of 1637. It offers two texts that run verse by verse in parallel, both in Dutch:
- OpenVertaling (
edition=ov): the Statenvertaling in its 1888 edition, which we checked verse by verse against the first printing of 1637 and the source text (page in Dutch), revised into present-day Dutch, with the marginal notes of the original translators. - OpenWoord (
edition=opv): a paraphrase of the Statenvertaling in simple Dutch, for first-time Bible readers.
Both cover 82 books: the Old and New Testament and the apocryphal books of the Statenvertaling. Book identifiers, chapters and verse numbers are the same in both texts.
A note on language: parameter names and values are partly Dutch (godsnaam,
toegevoegd, weergave), book identifiers are the Dutch book names, and the
message of an error is in Dutch. This page explains each of them. The account pages of
the site are in Dutch as well; the labels you need are given below.
What you can do
The API returns the text as JSON. You request a chapter (Johannes 3), a passage
(Joh 3:16-18) or you search for a word. With each request you choose how names are
rendered, just as a reader can on the site: HEERE or JAHWEH for the divine name,
Jezus or Yeshua, Christus or Messias, dodenrijk (realm of the dead)
or hel (hell). On request the marginal notes, the section headings and the Statenvertaling
of 1888 are included.
The text is free of copyright (CC0). You may use it for any purpose, commercially too. We do appreciate an attribution such as "Source: OpenVertaling (openvertaling.nl)".
Enabling the API
- Create a free account, or log in (top right on every page).
- Go to Mijn account → API (My account → API).
- Read the terms (four short points, translated below), tick the box and choose API aanzetten (Enable API).
The four terms, in English:
- The API is free. The text is free of copyright (CC0); an attribution is appreciated.
- You get a key of your own. Each request made with that key is recorded: how many, when and which kind.
- At most 1,000 requests per hour per account. Store responses you need more often.
- Keep your key secret. In case of abuse an administrator can switch off access.
You can disable the API again in the same place (API uitzetten). Your keys then stop working, but they are kept: enable the API again and they work again.
Creating a key
In Mijn account → API choose Nieuwe sleutel (New key) and give it a name, for example "our church website". The key is shown once. It looks like this:
ov_k3x9a2bm_Hq7Zr1e0V…(43 characters)
Copy it straight away and store it safely: we keep only a hashed form and cannot show it to you again. Lost or leaked? Revoke it and create a new one. You can have up to five keys at a time, for example one per application.
Your first request
Paste this into a terminal, with your own key:
curl -H "X-Api-Key: ov_…" \
"https://openvertaling.nl/api/endpoints/v1.php?req=passage&ref=Psalm%2023:1"
The response (shortened):
{
"result": "1",
"reference": "Psalmen 23:1",
"book": { "slug": "psalmen", "name": "Psalmen", "testament": "OT" },
"chapter": 23,
"verses": [
{ "verse": 1, "text": "Een psalm van David. De HEERE is mijn Herder, mij zal niets ontbreken." }
],
"weergave": { "godsnaam": "heere", "heer": "heere", "hel": "bron", "jezus": "jezus", "christus": "christus" },
"license": "CC0 1.0 (publiek domein)",
"source": "OpenVertaling, https://openvertaling.nl",
"version": "1.0.0"
}
The same request with the divine name as JAHWEH and the added words in brackets:
…?req=passage&ref=Psalm%2023:1&godsnaam=jahweh&toegevoegd=1
"text": "Een psalm van David. JAHWEH [is] mijn Herder, mij zal niets ontbreken."
Free, with limits
- The API is free and will stay free.
- Each account may make 1,000 requests per hour, across all its keys.
Above that you get the error
rate_limiteduntil the next full hour. - Each request is recorded: with which key, when and which kind. That is how you see your own usage in Mijn account → API, and how we see who uses the API. The count does not include what you request (which verses or search terms). The web server does keep a temporary log of requests, as any website does.
- In case of abuse an administrator can revoke a key or disable the API for an account.
Would you like to support the work on OpenVertaling? You can always donate, but you do not have to.
The full text on GitHub
Would you rather have the complete text at once than make separate requests? Both texts are also on GitHub as JSON, with no account and no key:
- code4missions/open-vertaling: OpenVertaling with section headings, chapter summaries, book introductions, marginal notes, cross-references, the Statenvertaling of 1888 and the source text word by word.
- code4missions/open-vertaling-parafrase: OpenWoord, with its own headings.
You can clone a repository, download it as a zip, or fetch a single file directly. Each book is a file of its own:
git clone https://github.com/code4missions/open-vertaling.git
curl https://raw.githubusercontent.com/code4missions/open-vertaling/main/boeken/johannes.json
The README in each repository (in Dutch) describes the files and the fields. Good to know:
- The text is in its source form. OpenVertaling writes the divine name as JAHWEH there; there is no choice of rendering and measures are not converted. If you want HEERE, Yeshua or Messias already applied, use the API.
- USFM and OSIS: for Bible software each repository also holds the text as USFM 3.0
(folder
usfm/) and OSIS 2.1.1 (folderosis/), one file per book, with the marginal notes as footnotes and cross-references. There the text is in the default rendering (HEERE), with the standard book codes (01-GEN.usfm,44-John.xml).osis/nldov.confis a proposed configuration file for a SWORD module. - Keeping up:
versie.jsongives the version number, the same number asversionin the API. The repositories are updated regularly and may lag slightly behind the site; the API always returns the text as it is now. - Licence: the text is free of copyright, as it is through the API. Two parts have
terms of their own.
parallelle-plaatsen.jsonis licensed CC BY-SA 4.0 (UBS Parallel Passage Database, © 2023 United Bible Societies): credit the source when you use it. The morphology in the Hebrew source text (grondtekst/) comes from the Open Scriptures Hebrew Bible and is licensed CC BY 4.0.
Implementation guide
Basics and key
- Address
https://openvertaling.nl/api/endpoints/v1.php- Method
GET; you choose the request withreq=- Key
- header
X-Api-Key: ov_….?key=ov_…works too, but then the key ends up in logs and in the browser history; prefer the header. - Response
- JSON, UTF-8. Success:
"result": "1"plus the data,license,sourceandversion(the version number of the text; the last number goes up with every published change). Failure:"result": "0",error(a fixed code) andmessage(an explanation, in Dutch). - CORS
- any website may call the API (
Access-Control-Allow-Origin: *). See also Tips on your key in the browser. - Rate limit
- the headers
X-RateLimit-LimitandX-RateLimit-Remainingwith every response; with a 429 alsoRetry-After(seconds). - Cache
Cache-Control: private, max-age=300. The text can change several times a day: compareversionto see whether your copy is still current.
Rendering
These parameters work with chapter, passage and search.
Without a parameter the default applies (bold). Weergave is Dutch for rendering.
| Parameter | Values | What it does |
|---|---|---|
godsnaam | heere, here, heer, jahweh, jehovah, yehovah, jhwh, yhwh | The divine name (YHWH). jhwh gives the Hebrew letters יהוה. |
heer | heere, here, heer | The title Lord (Adonai, Kurios). Without this parameter it follows the divine name if that is heere, here or heer. |
jezus | jezus, jeshua, yeshua | The name of Jesus. Jezus Sirach (Jesus son of Sirach) does not change. |
christus | christus, messias | Messias with the article: "in de Messias", "Jezus de Messias". |
hel | bron, dodenrijk, hel, grondwoord | bron (source form): dodenrijk in the Old Testament and the apocrypha, hel in the New Testament. grondwoord (original word): Seol (OT) and Hades (NT, apocrypha). Gehenna stays hel. |
Other options:
| Parameter | Values | What it does |
|---|---|---|
edition | ov, opv | Which text: ov is OpenVertaling, opv is OpenWoord (a paraphrase of the Statenvertaling in simple Dutch). OpenWoord has no marginal notes and has its own headings. Applies to chapter, passage and search; the response names the text in edition. |
format | text, html | html: each verse gets html next to text, with speakers and note markers (see Markup). |
toegevoegd | 0, 1 | Words that are not in the source text are put between [ ], as the Statenvertaling printed them in small type. Toegevoegd means added. |
notes | 0, 1 | The marginal notes per verse: marker, kind (crossref, explanatory, other) and text. |
refs | 0, 1 | The cross-references per verse (references): the Bible passages the translators of the Statenvertaling refer to at that verse. Each reference has book (the slug), chapter, verse (null for a whole chapter), verseEnd (the last verse of a range, otherwise null), reference (written out, such as "Efeziërs 6:5") and marker (the marginal note it comes from). If marker is null, it is a parallel passage from the UBS Parallel Passage Database (© 2023 United Bible Societies, CC BY-SA 4.0): those are not CC0, so credit the source and pass them on under the same licence. Also available with OpenWoord. |
headings | 0, 1 | The section headings (headings: verse and title) and the summary of the chapter (summary). |
sv1888 | 0, 1 | Per verse also the text of the Statenvertaling of 1888 (sv1888). The rendering is not applied to it: it already writes HEERE itself. |
Each response names the rendering that was used in weergave. An unknown value gives the error invalid_parameter.
req=books
All 82 books in the order of the Statenvertaling, with the chapters that exist. You use the slug with req=chapter.
GET …/v1.php?req=books
"books": [
{ "slug": "genesis", "name": "Genesis", "testament": "OT", "chapters": [1, 2, 3, …, 50] },
…
{ "slug": "estherapocrief", "name": "…", "testament": "AP", "chapters": [10, 11, 12, 13, 14, 15, 16] },
…
]
testament is OT, NT or AP (apocryphal books). Note that chapters do not always start at 1.
Slugs are the Dutch book names in lower case without spaces (johannes,
1korinthiers, openbaring); take them from this request and do not derive them
from English names.
req=chapter
| Parameter | ||
|---|---|---|
book | required | slug from req=books, for example johannes, 1korinthiers |
chapter | required | chapter number |
verses | optional | one verse (16) or a range (16-18) |
GET …/v1.php?req=chapter&book=handelingen&chapter=2&verses=27&hel=grondwoord¬es=1
{
"result": "1",
"book": { "slug": "handelingen", "name": "Handelingen", "testament": "NT" },
"chapter": 2,
"verses": [
{
"verse": 27,
"text": "Want U zult mijn ziel in de Hades niet verlaten, noch zult Uw Heilige overgeven, om verderving te zien.",
"notes": [ { "marker": "…", "kind": "explanatory", "text": "…" }, … ]
}
],
"weergave": { …, "hel": "grondwoord", … },
…
}
req=passage
The same response as chapter, but with a reference as people write it in Dutch:
ref=Joh 3:16, ref=Johannes 3:16-18, ref=Psalm 23, ref=1 Kor 13:4-7.
Dutch abbreviations and full Dutch names both work. One chapter per request; the response also has
reference, the reference written out ("Johannes 3:16-18").
GET …/v1.php?req=passage&ref=Joh%203:16&jezus=yeshua&christus=messias
A reference that cannot be read gives invalid_reference; verses that do not exist give
not_found. If your application works with book numbers or English names, use
req=chapter with the slug instead.
req=search
| Parameter | ||
|---|---|---|
q | required | at least 3 characters. All words must occur; a word also finds words that begin with it. Between quotation marks: the exact phrase. |
limit | optional | 1 to 100, default 25 |
offset | optional | for the next page |
book | optional | only in this book (the slug from req=books, e.g. openbaring) |
testament | optional | only in these testaments: ot, nt and/or ap (apocrypha), separated by commas, e.g. testament=ot,nt |
Names find each other, whatever the rendering: HEERE, YHWH and JAHWEH find the same verses; Yeshua finds Jezus; Seol, Hades, hel and dodenrijk find each other. The text found is returned in the rendering you pass along.
GET …/v1.php?req=search&q=herder&limit=2
{ "result": "1", "query": "herder", "total": 91, "offset": 0, "limit": 2,
"results": [ { "book": "genesis", "name": "Genesis", "chapter": 13, "verse": 7, "text": "…" }, … ] }
req=usage
Your own usage over the last days days (default 30, at most 90): requests and
errors per day, per kind of request, and how many you have left this hour. This request itself
is not counted.
"usage": {
"days": [ { "day": "2026-11-17", "calls": 11, "errors": 3 } ],
"endpoints": [ { "endpoint": "chapter", "calls": 4 }, … ],
"thisHour": 11,
"limit": 1000
}
Markup (format=html)
With format=html each verse also has html. It contains only these elements;
the rest is text (with entities such as <):
<sup class="note-marker" data-note="a">a</sup>: the position of marginal note a (seenotes=1).<span class="god-speaks">: words of God or Christ. Alsodirect-speech,angel-speaks,devil-speaks,bride-speaks,groom-speaks,chorus-speaks.<span class="ov-added">: a word that is not in the source text.i,em,b,strong,br.
We filter the HTML when it is stored, but still pass it through your own HTML filter (DOMPurify, for example) before you put it in your site: never trust HTML from another source blindly.
Errors
| HTTP | error | What is wrong |
|---|---|---|
| 401 | api_key_missing | No key was sent. |
| 401 | api_key_invalid | The key does not exist or was copied incorrectly. |
| 401 | api_key_revoked | The key has been revoked. |
| 403 | api_disabled | The API is disabled for this account. |
| 400 | unknown_request | Unknown req. |
| 400 | invalid_parameter | A parameter is missing or has an invalid value; message says which one. |
| 400 | invalid_reference | The reference given to passage cannot be read. |
| 404 | not_found | The book, chapter or verse does not exist. |
| 405 | method_not_allowed | GET only. |
| 429 | rate_limited | The hourly limit has been reached; see Retry-After. |
| 500 | server_error | Something went wrong on our side. Try again later. |
Build on error, not on message: the explanation is in Dutch and may change, the codes will not.
Examples
JavaScript (server, Node 18+)
const API = 'https://openvertaling.nl/api/endpoints/v1.php';
async function ov(params) {
const res = await fetch(API + '?' + new URLSearchParams(params), {
headers: { 'X-Api-Key': process.env.OV_API_KEY },
});
const data = await res.json();
if (data.result !== '1') throw new Error(`${data.error}: ${data.message}`);
return data;
}
const p = await ov({ req: 'passage', ref: 'Joh 3:16', godsnaam: 'jahweh' });
console.log(`${p.reference}: ${p.verses.map(v => v.text).join(' ')}`);
PHP
$url = 'https://openvertaling.nl/api/endpoints/v1.php?' . http_build_query([
'req' => 'chapter', 'book' => 'psalmen', 'chapter' => 23, 'headings' => 1,
]);
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['X-Api-Key: ' . getenv('OV_API_KEY')],
CURLOPT_TIMEOUT => 10,
]);
$data = json_decode(curl_exec($ch), true);
if (($data['result'] ?? '0') !== '1') throw new RuntimeException($data['error'] ?? 'no response');
foreach ($data['verses'] as $v) echo $v['verse'], ' ', $v['text'], PHP_EOL;
Python
import os, requests
r = requests.get(
"https://openvertaling.nl/api/endpoints/v1.php",
params={"req": "search", "q": "goede herder", "limit": 10},
headers={"X-Api-Key": os.environ["OV_API_KEY"]},
timeout=10,
)
data = r.json()
if data["result"] != "1":
raise RuntimeError(f'{data["error"]}: {data["message"]}')
for hit in data["results"]:
print(f'{hit["name"]} {hit["chapter"]}:{hit["verse"]} {hit["text"]}')
Tips
- Keep your key out of the browser. The API accepts calls from any website, but a key in JavaScript on your site can be seen and used by anyone (against your request allowance). Preferably call the API from your own server and pass the text on. If you do use it in the browser, create a separate key that you can revoke easily.
- Store what you need more often. A chapter rarely changes. A cache of an hour or a day
saves requests and makes your site faster. You need to fetch
req=booksonly rarely. - One key per application. Your usage then shows what comes from where, and you can revoke one without affecting the rest.
- An app that stores the whole text is better served by the files on GitHub than by many API requests.
- What the API does not do (yet): converting measures and weights (as the reader on the
site does), the source text word by word, the audio reading, and references that span
several chapters (
Joh 3:16-4:2). The source text word by word is in the files on GitHub. - Version: this is version 1 (
v1.php). Changes that break existing applications will come in a new version; v1 will then keep working.
Questions, or found something that is not right? Let us know through the contact form or at [email protected].