Libraries for JavaScript and Python.
Two small packages that read the API for you: sermons on a verse, a preacher's sermons, search, and audio that falls back by itself. Nothing to sign up for.
The API is plain files, and you can read them with nothing but a web request. These libraries are for when you would rather not: they know the few habits of this API that catch people out, so your code does not have to.
They follow the links
Long lists come a page at a time. The libraries walk them for you and stop asking the moment you stop reading.
They get the audio order right
The Archive.org copy first, our own copy if that fails. One call gives you the list to try.
They understand book names
“Romans”, “Rom” and ROM all mean the same thing, so you are not looking up codes.
They bring nothing with them
No dependencies in either language, no key, no account. A few kilobytes of code.
JavaScript
For browsers and for Node 18 or later. It is an ES module.
Python
For Python 3.9 or later. It uses only the standard library.
What both can do
| You want | JavaScript | Python |
|---|---|---|
| Sermons on a book, chapter or verse | scripture() | scripture() |
| A light summary of a chapter | cards() | cards() |
| Search by title, preacher and topic | search() | search() |
| One preacher, and all their sermons | speaker(), speakerSermons() | speaker(), speaker_sermons() |
| One sermon, with its transcript | sermon() | sermon() |
| Sermons under a subject | topic() | topic() |
| Something to listen to now | random() | random() |
| The audio addresses, in the order to try | audioSources() | audio_sources() |
Worth knowing
Search downloads one file of about 3 MB the first time you use it and then works from memory, so the second search costs nothing. Some files in the API are large: every sermon on John 3:16 is several megabytes, and the list of all topics is larger still. Reach for cards(), a single topic() or a search before you reach for those.
Text-only sermons have no audio; check hasAudio, or simply use the audio helper, which returns an empty list for them. The programming guide explains the reasoning behind all of this, and the reference lists every address the libraries read.
If you use an AI assistant rather than writing code, the MCP server gives it the same abilities.
