Bible API Reference
6 routes. Base URL https://api.apifor.dev, authenticated with x-api-key. Failed calls are not charged. Overview, limits and sources are on the Bible text API page.
GET
/v1/bible/translations1 creditTranslations on file: web (World English Bible) and asv (American Standard Version 1901), both public domain. 1 credit.
curl 'https://api.apifor.dev/v1/bible/translations' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": [
{
"id": "web",
"name": "World English Bible",
"year": 2020,
"licence": "Public domain. \"World English Bible\" is a trademark of eBible.org"
},
{
"id": "asv",
"name": "American Standard Version",
"year": 1901,
"licence": "Public domain"
}
]
}200OK. meta.attribution names the source and licence.400Validation error404Not found
GET
/v1/bible/books1 creditThe 66 books with code, name, testament, chapter and verse counts. 1 credit.
| Parameter | In | Type | Rules |
|---|---|---|---|
| translation | query | string | one of web, asv · web (World English Bible, default) or asv (1901) |
curl 'https://api.apifor.dev/v1/bible/books' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": [
{
"book": "GEN",
"book_name": "Genesis",
"book_number": 1,
"testament": "OT",
"chapters": 50,
"verses": 1533
},
{
"book": "EXO",
"book_name": "Exodus",
"book_number": 2,
"testament": "OT",
"chapters": 40,
"verses": 1213
}
],
"meta": {
"total": 66,
"translation": {
"id": "web",
"name": "World English Bible",
"year": 2020
},
"attribution": {
"source": "World English Bible (eBible.org, 2020 stable text edition)",
"licence": "Public domain. \"World English Bible\" is a trademark of eBible.org",
"license": "Public domain. \"World English Bible\" is a trademark of eBible.org",
"license_url": "https://worldenglish.bible/",
"source_url": "https://ebible.org/web/",
"attribution_page": "https://apifor.dev/sources",
"notice": "Text served unchanged from eBible.org. Verse text only (no notes or section titles)."
}
}
}200OK. meta.attribution names the source and licence.400Validation error404Not found
GET
/v1/bible/{book}/{chapter}1 creditAll verses of one chapter. 1 credit.
| Parameter | In | Type | Rules |
|---|---|---|---|
| book * | path | string | max 30 chars · Book code (GEN, JOH), name (john, 1-samuel) or number 1-66 |
| chapter * | path | integer | 1 to 150 |
| translation | query | string | one of web, asv · web (World English Bible, default) or asv (1901) |
curl 'https://api.apifor.dev/v1/bible/ID/ID' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": {
"book": "PSA",
"book_name": "Psalms",
"book_number": 19,
"testament": "OT",
"chapter": 117,
"translation": "web",
"verses": [
{
"id": "PSA.117.1",
"book": "PSA",
"book_name": "Psalms",
"book_number": 19,
"testament": "OT",
"chapter": 117,
"verse": 1,
"text": "Praise the LORD, all you nations! Extol him, all you peoples!",
"translation": "web"
},
{
"id": "PSA.117.2",
"book": "PSA",
"book_name": "Psalms",
"book_number": 19,
"testament": "OT",
"chapter": 117,
"verse": 2,
"text": "For his loving kindness is great toward us. The LORD’s faithfulness endures forever. Praise the LORD!",
"translation": "web"
}
]
},
"meta": {
"translation": {
"id": "web",
"name": "World English Bible",
"year": 2020
},
"attribution": {
"source": "World English Bible (eBible.org, 2020 stable text edition)",
"licence": "Public domain. \"World English Bible\" is a trademark of eBible.org",
"license": "Public domain. \"World English Bible\" is a trademark of eBible.org",
"license_url": "https://worldenglish.bible/",
"source_url": "https://ebible.org/web/",
"attribution_page": "https://apifor.dev/sources",
"notice": "Text served unchanged from eBible.org. Verse text only (no notes or section titles)."
}
}
}200OK. meta.attribution names the source and licence.400Validation error404Not found
GET
/v1/bible/{book}/{chapter}/{verse}1 creditOne verse. 1 credit.
| Parameter | In | Type | Rules |
|---|---|---|---|
| book * | path | string | max 30 chars · Book code (GEN, JOH), name (john, 1-samuel) or number 1-66 |
| chapter * | path | integer | 1 to 150 |
| verse * | path | integer | 1 to 200 |
| translation | query | string | one of web, asv · web (World English Bible, default) or asv (1901) |
curl 'https://api.apifor.dev/v1/bible/ID/ID/ID' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": {
"id": "JOH.3.16",
"book": "JOH",
"book_name": "John",
"book_number": 43,
"testament": "NT",
"chapter": 3,
"verse": 16,
"text": "For God so loved the world, that he gave his only born Son, that whoever believes in him should not perish, but have eternal life.",
"translation": "web"
},
"meta": {
"translation": {
"id": "web",
"name": "World English Bible",
"year": 2020
},
"attribution": {
"source": "World English Bible (eBible.org, 2020 stable text edition)",
"licence": "Public domain. \"World English Bible\" is a trademark of eBible.org",
"license": "Public domain. \"World English Bible\" is a trademark of eBible.org",
"license_url": "https://worldenglish.bible/",
"source_url": "https://ebible.org/web/",
"attribution_page": "https://apifor.dev/sources",
"notice": "Text served unchanged from eBible.org. Verse text only (no notes or section titles)."
}
}
}200OK. meta.attribution names the source and licence.400Validation error404Not found
GET
/v1/bible/search1 creditVerses containing a phrase (case-insensitive for ASCII), optionally within one book. 1 credit.
| Parameter | In | Type | Rules |
|---|---|---|---|
| q * | query | string | max 100 chars · 3-100 characters |
| book | query | string | None |
| translation | query | string | one of web, asv · web (World English Bible, default) or asv (1901) |
| page | query | integer | 1 to 1000 |
| limit | query | integer | 1 to 100 · 1-100, default 20 |
curl 'https://api.apifor.dev/v1/bible/search?q=' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": [
{
"id": "JOH.10.11",
"book": "JOH",
"book_name": "John",
"book_number": 43,
"testament": "NT",
"chapter": 10,
"verse": 11,
"text": "I am the good shepherd: the good shepherd layeth down his life for the sheep.",
"translation": "asv"
},
{
"id": "JOH.10.14",
"book": "JOH",
"book_name": "John",
"book_number": 43,
"testament": "NT",
"chapter": 10,
"verse": 14,
"text": "I am the good shepherd; and I know mine own, and mine own know me,",
"translation": "asv"
}
],
"meta": {
"total": 2,
"page": 1,
"per_page": 20,
"total_pages": 1,
"query": "good shepherd",
"translation": {
"id": "asv",
"name": "American Standard Version",
"year": 1901
},
"attribution": {
"source": "American Standard Version (1901), via eBible.org",
"licence": "Public domain",
"license": "Public domain",
"license_url": "https://ebible.org/find/details.php?id=eng-asv",
"source_url": "https://ebible.org/asv/",
"attribution_page": "https://apifor.dev/sources",
"notice": "Verse text only, unchanged from eBible.org."
}
}
}200OK. meta.attribution names the source and licence.400Validation error404Not found
GET
/v1/bible/coverageFreeCountries this service covers, with sources, licences, row counts and country-only fields. Free (0 credits), still needs an API key. Price note: Free.
curl 'https://api.apifor.dev/v1/bible/coverage' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": {
"service": "bible",
"global": true,
"country_param": "none",
"param_name": "country",
"countries": []
}
}200Coverage