Bible
List Bible Books
Returns metadata for every book in the World English Bible (eng-web), including chapter and verse counts. Books are returned in canonical ecumenical order: 39 Old Testament, 15 deuterocanonical, 27 New Testament. With lang=es the book names are Spanish (an AI translation, CC0), with a catalogTranslation label.
GET
/
bible
/
books
List all 81 Bible books
curl --request GET \
--url https://api.urantia.dev/bible/booksimport requests
url = "https://api.urantia.dev/bible/books"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.urantia.dev/bible/books', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.urantia.dev/bible/books",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.urantia.dev/bible/books"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.urantia.dev/bible/books")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.urantia.dev/bible/books")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"bookCode": "Gen",
"bookName": "Genesis",
"fullName": "The First Book of Moses, Commonly Called Genesis",
"abbr": "Gen",
"bookOrder": 1,
"canon": "ot",
"chapterCount": 50,
"verseCount": 1533
},
{
"bookCode": "Exod",
"bookName": "Exodus",
"fullName": "The Second Book of Moses, Commonly Called Exodus",
"abbr": "Exod",
"bookOrder": 2,
"canon": "ot",
"chapterCount": 40,
"verseCount": 1213
}
]
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}Query Parameters
Language of the catalog words: titles, traditions, summaries, unit and division labels, chapter titles, and Bible book names. es gives them in Spanish: an AI translation, released as CC0, with a catalogTranslation label. The text of each work stays English (textLanguage). A word with no Spanish stays English, and the other languages give English.
Available options:
eng, es, fr, pt, de, ko ⌘I
List all 81 Bible books
curl --request GET \
--url https://api.urantia.dev/bible/booksimport requests
url = "https://api.urantia.dev/bible/books"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.urantia.dev/bible/books', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.urantia.dev/bible/books",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.urantia.dev/bible/books"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.urantia.dev/bible/books")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.urantia.dev/bible/books")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"bookCode": "Gen",
"bookName": "Genesis",
"fullName": "The First Book of Moses, Commonly Called Genesis",
"abbr": "Gen",
"bookOrder": 1,
"canon": "ot",
"chapterCount": 50,
"verseCount": 1533
},
{
"bookCode": "Exod",
"bookName": "Exodus",
"fullName": "The Second Book of Moses, Commonly Called Exodus",
"abbr": "Exod",
"bookOrder": 2,
"canon": "ot",
"chapterCount": 40,
"verseCount": 1213
}
]
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}
