# x402 Fun - Random Bible Verse

> x402 Fun - Random Bible Verse is a paid API for AI agents from fun.kagurazaka.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-31).

Returns a random Bible verse from a pool of popular or all verses, optionally filtered by testament and translation, in public-domain text.

## Facts

- Endpoint: GET https://fun.kagurazaka.dev/v1/verse/random?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-fun-random-bible-verse-18963005
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YfktRvyha_pVAPCfENyJw

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-fun-random-bible-verse-18963005
```

Example prompt: Give me a random encouraging Bible verse from the popular pool using the King James Version — New Testament only.

## When to prefer this

Choose this endpoint when you need a randomly selected Bible verse, especially from a curated pool of popular encouraging scriptures or the full 31,000-verse canon, with control over testament and public-domain translation. Prefer this over Bible search endpoints when you want serendipitous discovery rather than a specific verse lookup.

## Known failure modes

- Invalid enum value for pool, testament, or translation returns an error
- No verse found for the given filters (unlikely but possible edge case)
- Service unavailable or network timeout

## How this service works

A random Bible verse: from about 320 often quoted, encouraging verses (pool=popular, default), or from all 31,000 (pool=all), optionally only the Old or New Testament. Public-domain translations: BSB, WEB, KJV.

## Output

A JSON object containing the full text of the Bible verse, its reference (e.g. 'Romans 8:28'), the testament it belongs to ('old' or 'new'), and the translation ID used (e.g. 'bsb').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "pool": {
       "enum": [
        "popular",
        "all"
       ],
       "type": "string",
       "description": "popular (default) or all verses"
      },
      "testament": {
       "enum": [
        "old",
        "new"
       ],
       "type": "string",
       "description": "only this testament"
      },
      "translation": {
       "enum": [
        "bsb",
        "web",
        "kjv"
       ],
       "type": "string",
       "description": "bsb (Berean Standard Bible, default), web (World English Bible) or kjv (King James Version); all public domain"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "text": {},
      "reference": {},
      "testament": {},
      "translation": {}
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "And we know that God works all things together for the good of those who love Him, who are called according to His purpose.",
  "reference": "Romans 8:28",
  "testament": "new",
  "translation": {
   "id": "bsb"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-fun-random-bible-verse-18963005/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fun.kagurazaka.dev](https://www.zero.xyz/host/fun.kagurazaka.dev/llms.txt)
