# d12-tally Play Endpoint

> d12-tally Play Endpoint is a paid API for AI agents from d12-tally.everygoodwork.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Triggers a single play of the d12-tally dice game, returning a tally result for a 12-sided die roll

## Facts

- Endpoint: POST https://d12-tally.everygoodwork.io/-/pay/play
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/d12-tally-play-endpoint-eef07328
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__vueahUfiASwXnUQB8lyg

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 d12-tally-play-endpoint-eef07328 -d '<json body>'
```

Example prompt: Roll a d12 for me using d12-tally and tell me what number I got.

## When to prefer this

Choose this endpoint when you need to execute a single play of the d12-tally dice game and receive a 12-sided die roll result, especially in agentic or automated workflows that can handle x402 micropayments. Prefer this over generic random number APIs if you specifically need d12-tally game semantics or are building on the everygoodwork.io ecosystem.

## Known failure modes

- Missing or malformed required 'input' body returns a 400 validation error
- Payment not provided or insufficient (x402 payment required) returns a 402 Payment Required
- Unexpected server error returns a 500 response
- Invalid bodyType or method enum value causes schema validation failure

## How this service works

a play of d12-tally

## Output

Returns a tally result object representing the outcome of a single d12 die roll play, including the rolled value and any associated game state or score data.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/d12-tally-play-endpoint-eef07328/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from d12-tally.everygoodwork.io](https://www.zero.xyz/host/d12-tally.everygoodwork.io/llms.txt)
