Chapters
Get full chapters from the Bible.
Get a Chapter
Retrieve all verses in a specific chapter.
GET /v1/chapters/:book/:chapterParameters
| Parameter | Type | Description |
|---|---|---|
book | string | Book abbreviation (e.g., "GEN", "JHN", "PSA") |
chapter | number | Chapter number |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
version | string | No | Version ID (defaults to "RVR1960") |
Response
json
{
"success": true,
"data": {
"book": {
"name": "Juan",
"abbreviation": "JHN"
},
"chapter": 3,
"verses": [
{
"verse": 1,
"text": "Había un hombre de los fariseos que se llamaba Nicodemo..."
},
{
"verse": 2,
"text": "Este vino a Jesús de noche, y le dijo..."
}
]
},
"meta": {
"request_id": "req_abc123"
}
}Example
bash
curl "https://api.apibiblia.com/v1/chapters/JHN/3?version=RVR1960" \
-H "X-API-Key: YOUR_API_KEY"URL Format
Use the book abbreviation and chapter number in the URL path:
| Reference | URL Path |
|---|---|
| Genesis 1 | /chapters/GEN/1 |
| Psalm 23 | /chapters/PSA/23 |
| John 3 | /chapters/JHN/3 |
| Revelation 21 | /chapters/REV/21 |
Use Standard Abbreviations
Always use the abbreviation field from the /v1/books response (e.g., "GEN", "JHN"), not the localized abbreviation_local (e.g., "GN", "JN").
Use Cases
The chapters endpoint is ideal for:
- Bible reading apps showing one chapter at a time
- Displaying full chapters with verse numbers
- Building chapter navigation
TIP
For retrieving specific verses or verse ranges, use the Verses endpoint instead.