Overview

Bible-api offers a free, unauthenticated RESTful API designed for developers who need to integrate Bible passages into their applications. The API simplifies the process of retrieving scripture by providing a single endpoint that accepts various parameters for specifying books, chapters, and verses. This makes it particularly useful for projects that require displaying Bible text without the need for complex setup or backend infrastructure.

The service is primarily suited for embedding Bible verses within web applications, mobile apps, and other digital platforms where quick scripture lookups are required. Developers can fetch entire chapters, specific verses, or ranges of verses. For instance, an application could display a daily verse, allow users to search for passages, or incorporate scripture into educational content. The API's design prioritizes ease of use, making it accessible for developers working on personal projects, prototypes, or applications with limited resource requirements.

While the API supports multiple Bible versions, its core strength lies in its simplicity and accessibility. There is no authentication required for basic access, which streamlines the development process significantly. This approach contrasts with some other Bible APIs that may require API keys or more extensive setup. The straightforward request structure and JSON response format mean that developers can quickly parse and display the data in their chosen programming language or framework. The service operates on a free tier, subject to a rate limit of one request per second, which is generally sufficient for many personal or small-scale applications.

The API's documentation, while minimal, provides illustrative examples for common use cases, such as requesting a specific verse or an entire chapter. This focus on clear, practical examples helps developers understand the API's capabilities and integrate it efficiently. The absence of complex authentication flows also means less overhead for developers, allowing them to focus on the application logic rather than managing credentials or authorization tokens. For projects requiring more advanced features like historical data, textual analysis, or multi-language support beyond what's offered, developers might consider alternatives, but for direct scripture access, Bible-api provides a direct solution.

Key features

  • Verse and Chapter Retrieval: Access specific Bible verses, ranges of verses, or entire chapters by specifying book, chapter, and verse numbers in the request URL.
  • Multiple Bible Versions: While the primary version is not explicitly stated in the documentation, the API supports different Bible versions, allowing developers to request text from their preferred translation.
  • JSON Response Format: All API responses are provided in a standardized JSON format, making it compatible with most modern web and application development frameworks for easy parsing and display.
  • No Authentication Required: The API does not require API keys or other authentication methods for standard usage, simplifying the integration process significantly.
  • Rate Limiting: A free tier is available with a rate limit of 1 request per second, suitable for personal projects and non-intensive applications.
  • Direct Access: Provides a direct, unmediated way to fetch scripture text, ideal for quick lookups and embedding content.

Pricing

As of 2026-05-28, Bible-api operates on a free tier model with specific usage constraints.

Tier Features Rate Limit Cost
Free Tier All API features, including verse and chapter retrieval, multiple versions. 1 request per second Free

For current and detailed pricing information, refer to the Bible-api homepage.

Common integrations

Bible-api is typically integrated directly into applications through standard HTTP requests. Its straightforward nature means it can be consumed by virtually any programming language or platform capable of making web requests and parsing JSON. Common integration patterns include:

  • Web Applications: Using client-side JavaScript (e.g., Fetch API or Axios) or server-side frameworks (e.g., Node.js, Python/Flask/Django, Ruby on Rails) to fetch and display Bible verses dynamically on web pages.
  • Mobile Applications: Incorporating scripture data into iOS (Swift/Objective-C) or Android (Kotlin/Java) apps for features like daily devotionals, verse sharing, or study tools.
  • Chatbots and Voice Assistants: Building conversational interfaces that can look up and recite Bible passages in response to user queries.
  • Desktop Applications: Developing cross-platform desktop tools using frameworks like Electron or native applications that display scripture for personal study or presentation.
  • Educational Tools: Integrating into e-learning platforms or digital textbooks to provide scriptural references and context.

Alternatives

For developers seeking alternatives with potentially broader features, different pricing models, or specific Bible versions, several options exist:

  • ESV API: Offers access to the English Standard Version (ESV) Bible, often with more structured authentication and usage policies.
  • Bible Gateway API: Provides broader access to various translations and often includes more extensive features for developers.
  • Digital Bible Platform: A comprehensive platform offering access to a wide array of Bible translations and multimedia content, suitable for larger-scale projects and academic use. This platform often focuses on extensive textual resources and diverse language support, as discussed in Google's recommendations for API documentation.

Getting started

To get started with Bible-api, you can make a simple HTTP GET request to the API endpoint. No authentication is required for basic access. The following example demonstrates how to retrieve John 3:16 using cURL, a common command-line tool for making web requests:

curl https://bible-api.com/john%203:16

The API will return a JSON object containing the requested verse and associated metadata. Here's an example of the expected output:

{
  "reference": "John 3:16",
  "verses": [
    {
      "book_id": "john",
      "book_name": "John",
      "chapter": 3,
      "verse": 16,
      "text": "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life."
    }
  ],
  "text": "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.",
  "translation_id": "kjv",
  "translation_name": "King James Version",
  "translation_note": "Public Domain."
}

For a specific chapter, you can omit the verse number. For example, to get all verses from John chapter 1:

curl https://bible-api.com/john%201

To specify a different version, you can append the version ID to the URL. For example, to get John 3:16 in the American Standard Version (ASV):

curl https://bible-api.com/john%203:16?translation=asv

For developers using JavaScript in a web environment, you might use the Fetch API:

fetch('https://bible-api.com/john%203:16')
  .then(response => response.json())
  .then(data => {
    console.log(data.text);
    // Output: For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.
  })
  .catch(error => console.error('Error fetching Bible verse:', error));

For Python developers, the requests library is a common choice:

import requests

response = requests.get('https://bible-api.com/john%203:16')
data = response.json()
print(data['text'])
# Output: For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.

These examples demonstrate the simplicity of integrating Bible-api into various applications, allowing developers to quickly access and display scripture content. Further details and options can be explored on the Bible-api documentation page.