Bible¶
Bible verse retrieval, search, and navigation across 30+ translations.
All Bible endpoints are under /api/v1/bible/.
Discovery¶
GET /api/v1/bible/languages¶
List available languages.
Example
curl -H "X-API-Key: $KEY" \
https://api.apicrate.io/api/v1/bible/languages
{
"languages": [
{"code": "en", "name": "English", "translations": 12},
{"code": "es", "name": "Spanish", "translations": 4},
{"code": "de", "name": "German", "translations": 3}
]
}
GET /api/v1/bible/translations¶
List all available translations.
Parameters
Name |
In |
Required |
Description |
|---|---|---|---|
|
query |
no |
Filter by language code (e.g. |
|
query |
no |
Maximum results to return |
|
query |
no |
Number of results to skip |
Example
curl -H "X-API-Key: $KEY" \
"https://api.apicrate.io/api/v1/bible/translations?language=en"
{
"count": 12,
"results": [
{"id": "kjv", "name": "King James Version", "language": "en", "year": 1611},
{"id": "niv", "name": "New International Version", "language": "en", "year": 1978}
]
}
GET /api/v1/bible/translations/{id}¶
Get details for a specific translation.
Parameters
Name |
In |
Required |
Description |
|---|---|---|---|
|
path |
yes |
Translation identifier (e.g. |
Example
curl -H "X-API-Key: $KEY" \
https://api.apicrate.io/api/v1/bible/translations/kjv
{
"id": "kjv",
"name": "King James Version",
"language": "en",
"year": 1611,
"books": 66
}
Daily / Random¶
GET /api/v1/bible/daily¶
Get the daily verse. Returns the same verse for all users on a given day.
Parameters
Name |
In |
Required |
Description |
|---|---|---|---|
|
query |
no |
Translation id (default |
Example
curl -H "X-API-Key: $KEY" \
https://api.apicrate.io/api/v1/bible/daily
{
"reference": "Philippians 4:13",
"text": "I can do all things through Christ which strengtheneth me.",
"translation": "kjv"
}
Search¶
GET /api/v1/bible/search¶
Search across all translations.
Parameters
Name |
In |
Required |
Description |
|---|---|---|---|
|
query |
yes |
Search query |
|
query |
no |
Limit search to a specific translation |
|
query |
no |
Maximum results to return (default 20) |
|
query |
no |
Number of results to skip |
Example
curl -H "X-API-Key: $KEY" \
"https://api.apicrate.io/api/v1/bible/search?q=faith&translation=kjv&limit=2"
{
"count": 336,
"results": [
{"reference": "Hebrews 11:1", "text": "Now faith is the substance of things hoped for...", "translation": "kjv"},
{"reference": "Romans 10:17", "text": "So then faith cometh by hearing...", "translation": "kjv"}
]
}
GET /api/v1/bible/{translation}/search¶
Search within a specific translation.
Parameters
Name |
In |
Required |
Description |
|---|---|---|---|
|
path |
yes |
Translation identifier |
|
query |
yes |
Search query |
|
query |
no |
Maximum results to return (default 20) |
|
query |
no |
Number of results to skip |
Example
curl -H "X-API-Key: $KEY" \
"https://api.apicrate.io/api/v1/bible/niv/search?q=love&limit=2"
{
"count": 551,
"results": [
{"reference": "1 Corinthians 13:4", "text": "Love is patient, love is kind...", "translation": "niv"},
{"reference": "John 3:16", "text": "For God so loved the world...", "translation": "niv"}
]
}
Content¶
GET /api/v1/bible/{translation}/{book}/{chapter}¶
Get all verses in a chapter.
Parameters
Name |
In |
Required |
Description |
|---|---|---|---|
|
path |
yes |
Translation identifier |
|
path |
yes |
Book identifier |
|
path |
yes |
Chapter number |
Example
curl -H "X-API-Key: $KEY" \
https://api.apicrate.io/api/v1/bible/kjv/john/3
{
"reference": "John 3",
"translation": "kjv",
"verses": [
{"number": 1, "text": "There was a man of the Pharisees, named Nicodemus, a ruler of the Jews:"},
{"number": 2, "text": "The same came to Jesus by night, and said unto him, Rabbi, we know that thou art a teacher come from God..."},
{"number": 16, "text": "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life."}
]
}
GET /api/v1/bible/{translation}/{book}/{chapter}/{verse_ref}¶
Get a specific verse or verse range.
Parameters
Name |
In |
Required |
Description |
|---|---|---|---|
|
path |
yes |
Translation identifier |
|
path |
yes |
Book identifier |
|
path |
yes |
Chapter number |
|
path |
yes |
Verse number or range (e.g. |
Example
curl -H "X-API-Key: $KEY" \
https://api.apicrate.io/api/v1/bible/kjv/john/3/16
{
"reference": "John 3:16",
"translation": "kjv",
"verses": [
{"number": 16, "text": "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life."}
]
}