Welcome to Bible API, your go-to resource for easy access to Bible verses and chapters across multiple versions and languages. With a simple request, obtain the text of a specific verse or an entire chapter, perfect for developers, researchers, and Bible enthusiasts who want to incorporate the Holy Scripture into their applications, websites, or projects.
To begin using Bible API, no API keys or authentication are required. Simply send a request to the desired endpoint with the necessary parameters, and receive the data in JSON format.
To obtain a specific verse, send a request to the following endpoint:
https://cdn.jsdelivr.net/gh/wldeh/bible-api/bibles/${version}/books/${book}/chapters/${chapter}/verses/${verse}.json
Replace ${version}
, ${book}
, ${chapter}
, and ${verse}
with the appropriate values.
Parameters:
version
: The Bible version (e.g., en-asv
, en-kjv
)book
: The book of the Bible (e.g., genesis
, exodus
)chapter
: The chapter numberverse
: The verse numberTo access an entire chapter, send a request to the following endpoint:
https://cdn.jsdelivr.net/gh/wldeh/bible-api/bibles/${version}/books/${book}/chapters/${chapter}.json
Replace ${version}
, ${book}
, and ${chapter}
with the appropriate values.
Parameters:
version
: The Bible version (e.g., en-asv
, en-kjv
)book
: The book of the Bible (e.g., genesis
, exodus
)chapter
: The chapter numberUse the following endpoint to view a list of all available Bible versions:
https://cdn.jsdelivr.net/gh/wldeh/bible-api/bibles/bibles.json
The response will display an array of Bible versions with their associated metadata, including the version ID, name, description, language, and more.
In this section, you'll find examples demonstrating the use of Bible API, along with code snippets showcasing its implementation in various programming languages.
API Request Examples:
Retrieve Genesis 1:1 in the American Standard Version (ASV):
https://cdn.jsdelivr.net/gh/wldeh/bible-api/bibles/en-asv/books/genesis/chapters/1/verses/1.json
Fetch John 3:16 in the King James Version (KJV):
https://cdn.jsdelivr.net/gh/wldeh/bible-api/bibles/en-kjv/books/john/chapters/3/verses/16.json
Access the complete chapter of Psalm 23 in the American Standard Version (ASV):
https://cdn.jsdelivr.net/gh/wldeh/bible-api/bibles/en-asv/books/psalms/chapters/23.json
Code Snippets:
fetch(
"https://cdn.jsdelivr.net/gh/wldeh/bible-api/bibles/en-asv/books/genesis/chapters/1/verses/1.json"
)
.then((response) => response.json())
.then((data) => console.log(data.text));
import requests
response = requests.get("https://cdn.jsdelivr.net/gh/wldeh/bible-api/bibles/en-asv/books/genesis/chapters/1/verses/1.json")
data = response.json()
print(data["text"])
$response = file_get_contents("https://cdn.jsdelivr.net/gh/wldeh/bible-api/bibles/en-asv/books/genesis/chapters/1/verses/1.json");
$data = json_decode($response, true);
echo $data["text"];
Q: Is an API key or authentication needed to use Bible API?
A: No, Bible API does not require API keys or authentication. Simply send a request to the desired endpoint with the necessary parameters to receive the data in JSON format.
Q: How often are new Bible versions added to the API?
A: We continuously strive to add new Bible versions to the API. If you have a specific version you'd like to see included, please open an issue or contact a maintainer.
Q: Can I use Bible API for commercial purposes?
A: Yes, Bible API can be used for commercial purposes. However, be aware of copyright restrictions on some Bible versions. Consult the metadata of each version for information on their respective licenses.
We are continuously working on improving and expanding the Bible API to provide you with the best possible experience. Here's a sneak peek at some of the exciting features we have planned for future releases:
Feature | Description |
---|---|
Additional Bible Translations | Add support for 300+ languages |
Natural Language Processing (NLP) Search | Perform advanced searches using natural language queries |
Audio Bible Integration | Access Bible verses with high-quality audio recordings |
Study Notes and Commentary | Access study notes and commentary from renowned Bible scholars |
Bible Reading Plans | Access a variety of Bible reading plans to help users read through the Bible consistently |
Bible Quiz and Trivia | Test your Bible knowledge with fun quizzes and trivia questions |
Verses of the Day | Access a daily curated verse through a dedicated endpoint |
Mobile SDKs for iOS and Android | Easily integrate the Bible API into mobile apps with our official SDKs |
AI-Generated Bible Summaries | Receive concise, AI-generated summaries of Bible chapters and stories |
Sentiment Analysis | Analyze the sentiment of Bible verses and passages using AI algorithms |
AI-Powered Verse Clustering | Discover related verses and passages through AI-powered clustering and grouping |
Personalized AI-Generated Bible Studies | Experience tailored Bible studies generated by AI based on preferences and interests |
AI-Driven Scripture Insights | Unlock deeper insights into Bible verses using cutting-edge AI analysis techniques |
AI-Generated Bible-Verse-to-Image | Receive beautiful, AI-generated images inspired by Bible verses |
Conversational AI for Bible Study | Interact with an AI-powered virtual assistant to guide you through your Bible study sessions |
We encourage contributions to enhance and expand Bible API. For suggestions, or feature requests, please open an issue on our GitHub repository. If you'd like to contribute, feel free to submit a pull request. A contributing guide is under development.
Bible API is available under the MIT License. The text of the Bible versions provided by the API may have additional copyright restrictions. Consult the metadata of each version for information on their respective licenses.
Crafted with 💙 by the Bible API Team. Enjoy!