Chapters & verses
Get a full chapter
GET/v1/translations/:code/:book/:chapter
| Name | Type | Description |
|---|---|---|
| code* | path | Translation code |
| book* | path | Book name or abbreviation ("jn", "john", "JHN" all work) |
| chapter* | path | Chapter number |
| format | query | json (default) or text for a plain-text response |
curl "https://scripturesapidev.vercel.app/api/v1/translations/kjv/john/3" \
-H "Authorization: Bearer $KEY"Get a verse or verse range
GET/v1/translations/:code/:book/:chapter/:verse
| Name | Type | Description |
|---|---|---|
| to | query | End of a verse range, inclusive. Omit for a single verse. |
curl "https://scripturesapidev.vercel.app/api/v1/translations/kjv/john/3/16?to=17" \
-H "Authorization: Bearer $KEY"{
"data": {
"translation": "KJV",
"book": "JHN",
"chapter": 3,
"verses": [
{ "verse": 16, "text": "For God so loved the world...", "red_letter": false },
{ "verse": 17, "text": "For God sent not his Son...", "red_letter": false }
]
}
}Reference parsing
Book names are resolved loosely — jn, john, and JHN all resolve to the same book, matching how people actually type references ("jn 3:16"). See the full alias list in the reference parser if you're building autocomplete against it.
When there's no text
A 404 with not_found covers both "that chapter doesn't exist" and "this translation has sample text only and that chapter isn't in the sample." For a licensed translation with no agreement in place, the message notes that explicitly.