# Bible Api Scraper (`bigibyte/bible-api-scraper`) Actor

Collect specific Bible verses, passages, or entire chapters by reference and export them instantly into clean JSON, CSV, or Excel datasets.

- **URL**: https://apify.com/bigibyte/bible-api-scraper.md
- **Developed by:** [BigiByte](https://apify.com/bigibyte) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Bible API Scraper

![Bible API Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/bible-api-scraper-cover.png)

Collect Bible verses using passage references and export structured verse data in JSON, CSV, or Excel. Retrieve individual verses or ranges from different books and chapters, with details such as book name, chapter, verse number, translation, and scripture text. Ideal for scripture research, educational projects, study materials, and structured Bible datasets.

### What It Does

Bible API Scraper collects verses for the references you provide and organizes each verse into a separate dataset row. Results include book identifiers, book names, chapter and verse numbers, scripture text, passage references, and translation information.

Duplicate verses are avoided using their book, chapter, and verse combination.

### Supported Mode

- **List Verses:** Collect verses from the supplied passage references. Individual references and verse ranges are supported, such as `john 3:16` and `john 3:1-5`.

### Input Example

```json
{
  "mode": "list",
  "references": ["john 3:16"],
  "maxItems": 50,
  "requestDelaySecs": 1
}
```

### Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `list` | Collection mode. Only `list` is supported. |
| `references` | array | `john 3:16` | Bible passage references. Supports individual verses and ranges such as `john 3:1-5`. |
| `maxItems` | integer | `100` | Maximum number of successful verse records to collect. |
| `requestDelaySecs` | number | `1` | Delay between requests in seconds. |
| `userAgent` | string | `ActorResearch/1.0` | User-Agent value used for requests. |
| `timeoutSecs` | integer | `300` | Overall run timeout in seconds. |
| `requestTimeoutSecs` | integer | `30` | Individual request timeout in seconds. |
| `proxyConfiguration` | object | Proxy disabled | Optional proxy configuration. |

### Output Example

```json
{
  "book_id": "JHN",
  "book_name": "John",
  "chapter": 3,
  "verse": 16,
  "text": "\nFor God so loved the world, that he gave his one and only Son, that whoever believes in him should not perish, but have eternal life.\n\n",
  "reference": "John 3:16",
  "translation_id": "web",
  "translation_name": "World English Bible",
  "scrapedAt": "2026-10-26T00:00:00+00:00"
}
```

### Output Fields

| Field | Description |
|---|---|
| `book_id` | Identifier of the Bible book. |
| `book_name` | Name of the Bible book. |
| `chapter` | Chapter number. |
| `verse` | Verse number. |
| `text` | Scripture text for the verse. |
| `reference` | Formatted Bible passage reference. |
| `translation_id` | Identifier of the Bible translation. |
| `translation_name` | Name of the Bible translation. |
| `scrapedAt` | Date and time the record was collected. |

### Use Cases

- **Scripture Research:** Collect specific Bible verses for study notes and research.
- **Study Materials:** Gather complete verse ranges for lessons, reading plans, and educational resources.
- **Dataset Building:** Create structured Bible verse collections for offline reference.
- **Content Monitoring:** Recollect selected passages on a schedule to maintain an updated dataset.
- **Educational Dashboards:** Integrate organized verse records into research and learning projects.

### FAQ

**Which Bible passages can I collect?**

You can provide individual references or verse ranges, such as `john 3:16` or `john 3:1-16`.

**Does the actor return one record per verse?**

Yes. Each collected verse is stored as a separate dataset record with its book, chapter, verse number, and text.

**Which translation is included?**

The output includes `translation_id` and `translation_name` fields to identify the translation returned for each passage.

**Can I export the results to spreadsheets?**

Yes. Export the collected dataset in JSON, CSV, Excel, and other supported Apify formats.

**Can I schedule recurring collections?**

Yes. Use Apify Schedules to collect the same Bible references automatically at your preferred intervals.

### Related Tools

Explore other BigiByte tools for collecting and organizing structured information:

- **Hreflang Tag Auditor** – Collect website language and regional targeting information for technical website analysis.
- **UK Police Crime by Location Scraper** – Retrieve publicly available location-based crime records.
- **New Jersey Construction Permits Scraper** – Collect structured public records for research and data analysis.

BigiByte builds custom web scrapers, data extraction tools, and automation solutions tailored to your requirements.

Visit [BigiByte](https://bigibyte.com) to explore our services or discuss a custom project.

### Trademark Notice

bible-api and related names belong to their respective owners. They are referenced only to identify the data source. This actor is independently developed and is not affiliated with, sponsored by, or endorsed by the source provider.

### Is Web Scraping Legal?

This actor collects publicly accessible Bible passage data without bypassing login screens, paywalls, or technical security measures. How collected information can be used depends on applicable laws and the source website's policies.

- **Personal Data:** Bible passages generally contain religious text rather than personal information. If collected records include identifiable names or other personal information, applicable privacy laws, including GDPR and CCPA where relevant, may apply.
- **Copyright and Licensing:** Bible translations may have different copyright and licensing conditions. Check the licence for the specific translation before reproducing or redistributing its text, and follow applicable attribution requirements.
- **Platform Terms and Rate Limits:** Respect the source provider's policies, terms, and reasonable request practices when collecting or using results.
- **Disclaimer:** This information is general guidance, not legal advice. Consult a qualified legal professional if you have questions about your intended use.

For more information, read [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

What to fetch. list loads bible-api.com for each reference and maps each verse to one dataset row.

## `references` (type: `array`):

Passage references to fetch, one per line (tested value: john 3:16). Ranges such as john 3:1-5 are supported by the source.

## `maxItems` (type: `integer`):

Stop after this many successful verse rows. Hard max is 1000.

## `requestDelaySecs` (type: `number`):

Seconds to wait between requests. Default 1 keeps pacing near 1 request per second.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

## `proxyConfiguration` (type: `object`):

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "list",
  "references": [
    "john 11"
  ],
  "maxItems": 50,
  "requestDelaySecs": 1,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "references": [
        "john 11"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bigibyte/bible-api-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "references": ["john 11"] }

# Run the Actor and wait for it to finish
run = client.actor("bigibyte/bible-api-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "references": [
    "john 11"
  ]
}' |
apify call bigibyte/bible-api-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bigibyte/bible-api-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/MtYbzegLIarw2E4Qf/builds/rgScwucEu8XbV0t3L/openapi.json
