Skip to content

Chapters

Get full chapters from the Bible.

Get a Chapter

Retrieve all verses in a specific chapter.

GET /v1/chapters/:id

Parameters

ParameterTypeDescription
idstringChapter ID in format book_chapter (e.g., "gen_1", "joh_3")

Query Parameters

ParameterTypeRequiredDescription
versionstringNoVersion ID (defaults to "rvr60")

Response

json
{
  "success": true,
  "data": {
    "chapter": {
      "id": "joh_3",
      "book": {
        "id": "joh",
        "name": "Juan",
        "abbreviation": "JN"
      },
      "number": 3,
      "verse_count": 36,
      "verses": [
        {
          "number": 1,
          "text": "Había un hombre de los fariseos que se llamaba Nicodemo..."
        },
        {
          "number": 2,
          "text": "Este vino a Jesús de noche, y le dijo..."
        }
      ]
    },
    "version": {
      "id": "rvr60",
      "name": "Reina-Valera 1960"
    }
  }
}

Example

bash
curl "https://api.apibiblia.com/v1/chapters/joh_3?version=rvr60" \
  -H "X-API-Key: YOUR_API_KEY"

Chapter ID Format

Chapter IDs follow the pattern {book_id}_{chapter_number}:

BookChapterID
Genesis 1gen_1
Psalm 23psa_23
John 3joh_3
Revelation 21rev_21

The response includes navigation helpers:

json
{
  "data": {
    "chapter": {
      "id": "joh_3",
      "number": 3,
      "previous": {
        "id": "joh_2",
        "number": 2
      },
      "next": {
        "id": "joh_4",
        "number": 4
      }
    }
  }
}

TIP

Use the navigation fields to build "Previous/Next Chapter" buttons in your application.

Built on Cloudflare's global edge network.