Ufreverse Bible API
A free, read-only JSON API for Bible text. No key required. CORS is open, responses are cacheable, and an OpenAPI 3.1 spec is available for tools and AI agents.
Base URL: https://ufreverse.com/wp-json/ufreverse/v1
| Endpoint | What it does | Try it |
|---|---|---|
GET /versions | List installed versions with language and license. | example |
GET /books | List the 66 books (number, name, slug, chapter count, testament). | example |
GET /passage?ref=John 3:16&version=kjv | Any reference: John 3:16, Rom 8:28-30, 1 Cor 13, Jude 3. | example |
GET /chapter/{version}/{book}/{chapter} | A whole chapter. {book} may be a number, slug or abbreviation. | example |
GET /verse/{version}/{book}/{chapter}/{verse} | One verse. | example |
GET /search?q=...&version=...&page=1&per_page=25 | Keyword search. Words are ANDed; quote a phrase for an exact match. per_page max 50. | example |
GET /votd?version=kjv | Verse of the day. | example |
GET /random?version=kjv | A random verse. | example |
Example
curl "https://ufreverse.com/wp-json/ufreverse/v1/passage?ref=John%203%3A16&version=kjv"Response shape
{
"reference": "John 3:16",
"version": { "code": "kjv", "name": "...", "language": "en", "license": "..." },
"book": { "number": 43, "name": "John", "slug": "john", "chapters": 21 },
"chapter": 3,
"verses": [ { "verse": 16, "text": "..." } ],
"text": "...",
"url": "https://ufreverse.com/bible/kjv/john/3/16/"
}Other machine-readable pages
- Every chapter page links to
/bible/{version}/{book}/{chapter}.txtand.json. - llms.txt for language-model crawlers, sitemap.xml for search engines.
Fair use and licensing
Each version carries its own license, returned in the license field. Please keep attribution to the version and link back when you display passages. Be kind to the server: cache responses and avoid bulk downloading chapter by chapter.