Bible Master Api Service is an API designed for retrieving various passages, verses, chapters, and books from the Bible. Built with FastAPI, it offers endpoints for listing all books in the Bible, retrieving chapters by book name, getting verses by book and chapter, searching verses, and even getting random verses either from specific books or from any book in the Bible.
/books
/books/{book_name}/chapters
/books/{book_name}/chapters/{chapter_no}/verses
/search/
POST /verse/random
{"book_names": ["Genesis", "Exodus"]}
/verse/randomall
/healthcheck
Success responses will return a varying JSON structure depending on the endpoint. In case of errors, such as when specified books, chapters, or verses cannot be found, or if input validations fail, the API responds with a standardized HTTPValidationError response detailing the issues encountered.
Request
GET /books/{book_name}/chapters/{chapter_no}/verses
Response
[
{
"verse": "1",
"text": "In the beginning, God created the heavens and the earth."
},
...
]