8000 GitHub - HelloAOLab/bible-api: The Bible as an easy-to-use API. · GitHub
[go: up one dir, main page]

Skip to content
HelloAOLabPublic

About

The Bible as an easy-to-use API.

Resources

Stars

189 stars

Watchers

8 watching

Forks

Latest commit

 

History

864 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Free Use Bible API

A static JSON Scripture API with 1,500+ Bible translations across 1,100+ languages, 26 commentaries, and 6 study datasets. No accounts, no API keys, and no usage limits.

npm npm Maven Central npm License: MIT

Documentation · API Reference · SDKs & MCP · Compare Bible APIs · llms.txt

Quick start

Send a plain HTTP GET request from a browser, mobile app, server, or AI tool (Access-Control-Allow-Origin: *, no signup, no key):

curl https://bible.helloao.org/api/BSB/GEN/1.json

Or install the TypeScript and JavaScript client:

npm install free-use-bible-api
import { FreeUseBibleApi } from 'free-use-bible-api';

const api = new FreeUseBibleApi();

const 
9C8E
available = await api.getAvailableTranslations();
console.log('Total translations:', available.translations.length);

const chapter = await api.getTranslationBookChapter('BSB', 'GEN', 1);
console.log('Verses in Genesis 1:', chapter.numberOfVerses);

To connect an AI assistant or coding agent over MCP, point it at https://free-use-bible-mcp.ao-lab.workers.dev/mcp (open https://free-use-bible-mcp.ao-lab.workers.dev/ in a browser for setup commands).

Why builders start here

Static files on a global CDN

Every endpoint is a pre-generated JSON file served with open CORS headers. Call the API straight from client-side code with no backend proxy, cache responses indefinitely, or download the whole dataset to run offline with zero lock-in.

Honest, machine-readable licensing

AO Lab's code is MIT-licensed and AO Lab adds no accounts, usage quotas, or contractual restrictions. Over 120 translations in the catalog (including the Berean Standard Bible, BSB, and Accessible Ancients Bible, AAB) are in the public domain with zero restrictions. Partner translations carry their own terms in each entry's license object (publicDomain, attribution, commercialUse, derivatives, copyleft) inside available_translations.json, so you can filter programmatically for commercial, derivative, or AI workflows. If you modify the words of a translation, give your version a distinct name so readers know what they are reading.

What is in the API

Resource Endpoint Description
Translations /api/{translation}/{book}/{chapter}.json 1,500+ Bible translations across 1,100+ languages in structured and .simple.json formats, plus Strong's .words.json and chapter .audioTimings.json
Commentaries /api/c/{commentary}/{book}/{chapter}.json 26 Bible commentaries, including Tyndale Open Study Notes, Matthew Henry, John Gill, Keil & Delitzsch, and Treasury of Scripture Knowledge
Datasets /api/d/{dataset}/... 6 structured study datasets: bsb-interlinear (443,625 Hebrew, Aramaic, and Greek words), stepbible-lexicon (18,085 Strong's entries), open-cross-ref (344,799 cross-references), theographic (people, places, events, groups), history-globe (places), and verse-of-the-day (750 categorized passages)

See the API Reference and openapi.json for every endpoint and schema.

Bulk downloads

Download the entire API for offline apps, local search, or data analysis:

  • api.zip (1.5 GB): every static JSON file in the API.
  • bible.db (11 GB): every translation, commentary, and dataset in one SQLite database.
  • bible.eng.db (1.5 GB): English translations in one SQLite database.

Packages and integrations

Package Description
free-use-bible-api TypeScript and JavaScript client for all 30 API operations
free-use-bible-api-react React <BibleReader />, verse ribbon highlights, and signal-based reading state from Seed Bible
org.helloao:free-use-bible-api Kotlin client (suspend functions + kotlinx.serialization) for JVM and Android
FreeUseBibleAPI Swift Package Manager client for iOS, macOS, and Linux
packages/seed-bible-mcp Streamable HTTP MCP server (hosted instance) for Claude, ChatGPT, Cursor, VS Code, Claude Code, and Codex
@helloao/cli CLI for importing translations, aligning audio timings, generating static API files, and syncing to S3, zip, SQLite, and Typesense
@helloao/tools Parsers and static API generators for USFM, USX, OSIS, Codex, and SWORD formats

Why we built this

"Freely you have received; freely give." (Matthew 10:8)

Read the case for open Scripture on bible.helloao.org and a Biblical model for licensing the Bible.

License

This repository's source code is available under the MIT license. The Accessible Ancients Bible (AAB), Berean Standard Bible (BSB), and Majority Bible texts are dedicated to the public domain (CC0 1.0). Individual translations, commentaries, and datasets carry their respective licenses in the API metadata.

About AO Lab

Built by AO Lab, a 501(c)(3) nonprofit building open Scripture infrastructure and Seed Bible.

About

The Bible as an easy-to-use API.

Resources

Stars

189 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0