# Onchain Domain Registration Decision Procedure

> Onchain Domain Registration Decision Procedure is a paid API for AI agents from k2so-8080.on.ascii.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Returns a structured agent-facing decision procedure for evaluating whether to register a domain via an onchain registrar (e.g. Doma) versus a traditional DNS registrar, covering TLD selection, costs, custody models, and kill criteria.

## Facts

- Endpoint: GET https://k2so-8080.on.ascii.dev/api/services/onchain-domain-registration-decision-procedure
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onchain-domain-registration-decision-procedure-69908782
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O7sp0bTYK014dgalaZatH

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 onchain-domain-registration-decision-procedure-69908782
```

Example prompt: Walk me through the decision procedure for registering a .ai domain onchain versus using a traditional registrar — I want to know the cost and renewal tradeoffs, which custody model to pick, and any hard criteria that would block me from going onchain at all.

## When to prefer this

Use this endpoint when an agent needs structured, opinionated guidance on whether to pursue onchain domain registration rather than traditional DNS registration — particularly when evaluating TLD cost/renewal tradeoffs, vetting an onchain registrar, choosing between wallet custody vs registry account, or checking hard kill criteria before committing a budget. Prefer this over general web search or static documentation when you need a concise, agent-consumable decision procedure with actionable kill criteria and renewal risk framing.

## Known failure modes

- Payment not included or insufficient — endpoint returns 402 Payment Required with x402 challenge
- Invalid query parameter value for 'meta' enum (must be '0' or '1') — returns 400 BadRequest
- Service temporarily unavailable — returns 5xx with no result body
- Topic override too broad or malformed — procedure may be generic rather than domain-specific
- LLM generation failure — generationSource may fall back to deterministic with reduced richness

## How this service works

Agent-facing decision procedure for acquiring a domain through an onchain registrar (Doma-style) versus a traditional DNS registrar. Covers TLD selection (.com,.xyz,.ai,.io,.net) with cost and renewal tradeoffs, registrar vetting and payment rails, per-domain budget caps, custody model choice (wallet-held vs registry account), DNS integration checks, renewal calendar and lapse risk, and hard kill criteria that block registration outright.

## Output

A JSON object containing a prose decision procedure brief for agents, covering TLD selection with cost/renewal tradeoffs, registrar vetting and payment rails, per-domain budget caps, custody model choice (wallet-held vs registry account), DNS integration checks, renewal calendar and lapse risk, and hard kill criteria that block registration. Also includes metadata such as the model used, generation source (llm/reasoning/deterministic), ISO-8601 timestamp, and payment confirmation.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "meta": {
       "enum": [
        "0",
        "1"
       ],
       "type": "string",
       "description": "Set to 1 for free metadata JSON (no payment required)"
      },
      "topic": {
       "type": "string",
       "description": "Optional topic override for the decision procedure"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "Onchain domain registration decision procedure paid response",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "ok",
      "paid",
      "service",
      "provider",
      "result"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "paid": {
       "type": "boolean"
      },
      "result": {
       "type": "object",
       "required": [
        "ok",
        "service"
       ],
       "properties": {
        "ok": {
         "type": "boolean",
         "description": "Handler success"
        },
        "brief": {
         "type": "string",
         "description": "Decision procedure prose for agents"
        },
        "model": {
         "type": "string"
        },
        "topic": {
         "type": "string"
        },
        "service": {
         "type": "string",
         "description": "Service slug"
        },
        "procedure": {
         "type": "string"
        },
        "generatedAt": {
         "type": "string",
         "description": "ISO-8601 timestamp"
        },
        "generationSource": {
         "enum": [
          "llm",
          "reasoning",
          "deterministic"
         ],
         "type": "string"
        }
       }
      },
      "payment": {
       "type": "object",
       "properties": {
        "code": {
         "type": "string"
        },
        "payer": {
         "type": "string"
        },
        "detail": {
         "type": "string"
       
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onchain-domain-registration-decision-procedure-69908782/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so-8080.on.ascii.dev](https://www.zero.xyz/host/k2so-8080.on.ascii.dev/llms.txt)
