# Dice Notation Roller (dice.openverbs.com)

> Dice Notation Roller (dice.openverbs.com) is a paid API for AI agents from dice.openverbs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Rolls any standard dice notation (e.g. 4d6kh3) using a cryptographically secure RNG, returning per-die results, kept dice, and totals for one or more independent rolls.

## Facts

- Endpoint: POST https://dice.openverbs.com/v1/roll
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dice-notation-roller-dice-openverbs-com-a24b38e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_19IlMyBX5r5qpfDOKrFHz

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 dice-notation-roller-dice-openverbs-com-a24b38e4 -d '<json body>'
```

Example prompt: Roll 4d6kh3 six times for me — I'm generating D&D character stats and need the top 3 dice kept from each roll.

## When to prefer this

Choose this endpoint when you need actual dice roll results with cryptographically secure randomness and support for advanced notation (keep highest, drop lowest, modifiers). Prefer it over simple random number generators when tabletop RPG notation compliance matters, or when you need auditable, fair randomness rather than pseudo-random outputs. Use sibling endpoints for probability distribution analysis or notation parsing without rolling.

## Known failure modes

- Invalid dice notation string returns a parse error
- Rolls parameter exceeding 1000 returns a validation error
- Missing required 'notation' field returns a 400 bad request
- Malformed JSON body returns an error
- Payment not included or insufficient returns a 402 Payment Required

## How this service works

Roll dice notation with a cryptographically secure RNG, optionally repeated. Returns per-die rolls, the kept dice and the total for each roll.

## Output

Returns per-die individual roll values, which dice were kept (after any keep-highest or drop-lowest rules), and the final total for each independent roll requested. Results are generated with a cryptographically secure RNG.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "notation": {
       "type": "string",
       "minLength": 1,
       "description": "Dice notation to roll."
      },
      "rolls": {
       "type": "integer",
       "minimum": 1,
       "maximum": 1000,
       "description": "Number of independent rolls. Default 1."
      }
     },
     "required": [
      "notation"
     ],
     "additionalProperties": false
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dice-notation-roller-dice-openverbs-com-a24b38e4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dice.openverbs.com](https://www.zero.xyz/host/dice.openverbs.com/llms.txt)
