Bible All docs

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 credit

Translations on file: web (World English Bible) and asv (American Standard Version 1901), both public domain. 1 credit.

GET/v1/bible/translations
curl 'https://api.apifor.dev/v1/bible/translations' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "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 error
  • 404Not found
GET/v1/bible/books1 credit

The 66 books with code, name, testament, chapter and verse counts. 1 credit.

ParameterInTypeRules
translationquerystringone of web, asv · web (World English Bible, default) or asv (1901)
GET/v1/bible/books
curl 'https://api.apifor.dev/v1/bible/books' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "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 error
  • 404Not found
GET/v1/bible/{book}/{chapter}1 credit

All verses of one chapter. 1 credit.

ParameterInTypeRules
book *pathstringmax 30 chars · Book code (GEN, JOH), name (john, 1-samuel) or number 1-66
chapter *pathinteger1 to 150
translationquerystringone of web, asv · web (World English Bible, default) or asv (1901)
GET/v1/bible/{book}/{chapter}
curl 'https://api.apifor.dev/v1/bible/ID/ID' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "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 error
  • 404Not found
GET/v1/bible/{book}/{chapter}/{verse}1 credit

One verse. 1 credit.

ParameterInTypeRules
book *pathstringmax 30 chars · Book code (GEN, JOH), name (john, 1-samuel) or number 1-66
chapter *pathinteger1 to 150
verse *pathinteger1 to 200
translationquerystringone of web, asv · web (World English Bible, default) or asv (1901)
GET/v1/bible/{book}/{chapter}/{verse}
curl 'https://api.apifor.dev/v1/bible/ID/ID/ID' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "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 error
  • 404Not found
GET/v1/bible/coverageFree

Countries this service covers, with sources, licences, row counts and country-only fields. Free (0 credits), still needs an API key. Price note: Free.

GET/v1/bible/coverage
curl 'https://api.apifor.dev/v1/bible/coverage' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "success": true,
  "data": {
    "service": "bible",
    "global": true,
    "country_param": "none",
    "param_name": "country",
    "countries": []
  }
}
  • 200Coverage

Error handling · Rate limits · Prices