[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [bible-api.com random Bible verse](https://spiral.ai/integrations/opencode/bible-api-com-random-bible-verse)

# How to Use bible-api.com random Bible verse in opencode

Get one randomly selected verse with its book, chapter, verse number, text, and translation details. Use it for scripture quizzes, memorization exercises, or reading suggestions.

|  |  |
| --- | --- |
| Model | bible-api.com random Bible verse |
| Available through | Alexandria |
| Category | Industry Data |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with bible-api.com random Bible verse in opencode

- Use bible-api.com random Bible verse to draw a World English Bible verse from Psalms, then build a quiz card in this project that reveals its reference after an answer.
- Use bible-api.com random Bible verse to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from bible-api.com random Bible verse and tell me what changed since last week.
- Check bible-api.com random Bible verse and summarize what you find in three bullet points.
- Pull the newest data from bible-api.com random Bible verse and give me the result as a table.

## How to set up bible-api.com random Bible verse in opencode

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run bible-api.com random Bible verse**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "bible-api-com/bible/random_verse",
    "input": {
      "scope": "<scope>"
    }
  }'
```

Then paste one of the prompts above: opencode finds bible-api.com random Bible verse on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## bible-api.com random Bible verse tools and prices

- [bible-api.com: Open English Bible, Cherokee and Romanian Bible verses, random verses · Random verse](https://spiral.ai/tools/alexandria/bible-api-com/bible/random_verse) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| scope |  | — | Limit the draw: OT, NT, or English book names separated by commas ("Psalms, Proverbs", "John"). Omit for the whole translation. |
| translation |  | — | bible-api.com translation id: web (default), kjv, asv, bbe, darby, dra, ylt, webbe, oeb-us, oeb-cw, cherokee, rccv, cuv, bkr, clementine or synodal. Case-insensitive. |

## What can you do with bible-api.com random Bible verse in opencode?

Build a scripture reader with an edition selector, cited passages, and a random-verse exercise. Use bible-api.com translation metadata and verse records to populate those features in the project.

### Bible reading app

Build an edition selector from translation metadata, display assigned passages, and offer a random verse as an optional reading suggestion.

### Church bulletin preparation

Check translation licenses, retrieve the service's assigned reading, and draw a separate verse for an editor to consider for the bulletin.

### Multilingual study sheets

Identify English and Romanian editions, retrieve John 3:16-18 for a parallel reading, and draw a Romanian verse for an additional translation exercise.

### Scripture memorization cards

Choose an edition using its language and license information, create cards for assigned passages, and add randomly selected verses for practice.

### Bible reference quizzes

Select a translation, draw a verse, and hide its reference to create a quiz question. Retrieve a specified passage for the answer explanation.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## bible-api.com random Bible verse in other agents

- [Amp](https://spiral.ai/integrations/amp/bible-api-com-random-bible-verse)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/bible-api-com-random-bible-verse)
- [Claude](https://spiral.ai/integrations/claude-desktop/bible-api-com-random-bible-verse)
- [Claude Code](https://spiral.ai/integrations/claude-code/bible-api-com-random-bible-verse)
- [Cline](https://spiral.ai/integrations/cline/bible-api-com-random-bible-verse)
- [Codex](https://spiral.ai/integrations/codex/bible-api-com-random-bible-verse)
- [Cursor](https://spiral.ai/integrations/cursor/bible-api-com-random-bible-verse)
- [Devin](https://spiral.ai/integrations/devin/bible-api-com-random-bible-verse)
- [dots](https://spiral.ai/integrations/dots/bible-api-com-random-bible-verse)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/bible-api-com-random-bible-verse)
- [Gemini](https://spiral.ai/integrations/gemini/bible-api-com-random-bible-verse)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/bible-api-com-random-bible-verse)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/bible-api-com-random-bible-verse)
- [goose](https://spiral.ai/integrations/goose/bible-api-com-random-bible-verse)
- [Grok](https://spiral.ai/integrations/grok/bible-api-com-random-bible-verse)
- [Grok Build](https://spiral.ai/integrations/grok-build/bible-api-com-random-bible-verse)
- [Hermes](https://spiral.ai/integrations/hermes/bible-api-com-random-bible-verse)
- [Instinct](https://spiral.ai/integrations/instinct/bible-api-com-random-bible-verse)
- [Manus](https://spiral.ai/integrations/manus/bible-api-com-random-bible-verse)
- [Muse](https://spiral.ai/integrations/muse/bible-api-com-random-bible-verse)
- [Muse Code](https://spiral.ai/integrations/muse-code/bible-api-com-random-bible-verse)
- [n8n](https://spiral.ai/integrations/n8n/bible-api-com-random-bible-verse)
- [Notion](https://spiral.ai/integrations/notion/bible-api-com-random-bible-verse)
- [OpenClaw](https://spiral.ai/integrations/openclaw/bible-api-com-random-bible-verse)
- [Perplexity](https://spiral.ai/integrations/perplexity/bible-api-com-random-bible-verse)
- [Raycast](https://spiral.ai/integrations/raycast/bible-api-com-random-bible-verse)
- [VS Code](https://spiral.ai/integrations/vscode/bible-api-com-random-bible-verse)
- [Windsurf](https://spiral.ai/integrations/windsurf/bible-api-com-random-bible-verse)
- [Zapier](https://spiral.ai/integrations/zapier/bible-api-com-random-bible-verse)

## More opencode guides

- [bible-api.com Bible translations](https://spiral.ai/integrations/opencode/bible-api-com-bible-translations)
- [Aion 2.0](https://spiral.ai/integrations/opencode/aion-2-0)
- [bible-api.com Bible passage](https://spiral.ai/integrations/opencode/bible-api-com-bible-passage)
- [Aion 3.0](https://spiral.ai/integrations/opencode/aion-3-0)
- [Where the ISS at satellite list](https://spiral.ai/integrations/opencode/where-the-iss-at-satellite-list)
- [Aion 3.0 Mini](https://spiral.ai/integrations/opencode/aion-3-0-mini)

## Questions about bible-api.com random Bible verse in opencode

**Can opencode use bible-api.com random Bible verse?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run bible-api.com random Bible verse like any built-in tool.

**How much does bible-api.com random Bible verse cost in opencode?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need an Alexandria account to use bible-api.com random Bible verse in opencode?**

No. Spiral runs bible-api.com random Bible verse on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up bible-api.com random Bible verse in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while bible-api.com random Bible verse runs?**

bible-api.com random Bible verse runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does the Cherokee translation include the Old Testament?**

No. The source identifies it as the Cherokee New Testament, so it cannot supply Cherokee Old Testament readings.

**Is Open English Bible a complete Bible?**

The publisher labels release 2025.6 as the New Testament, Psalms, and some Old Testament books. Do not assume every Old Testament book is available in OEB.

**Can I republish Open English Bible text?**

Yes. OEB uses CC0, a copyright waiver that allows reuse, including publication and adaptation.

**How much scripture can one passage request return?**

The source rejects multiple whole chapters in one request. A verse range can cross one chapter boundary, such as John 3:16-4:1, but cannot cross two.

**Does a new publisher edition mean the API text is updated?**

The importer skips existing translations unless overwrite is requested. A new publisher edition therefore does not establish that bible-api.com has updated its copy.

