# Onchain Intelligence Procurement Decision Procedure

> Onchain Intelligence Procurement 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-10-20).

Returns a structured decision procedure for AI agents on how to procure onchain blockchain data — which provider to use (Arkham, Nansen, Dune, Allium), budget caps, verification steps, and when free tools suffice.

## Facts

- Endpoint: GET https://k2so-8080.on.ascii.dev/api/services/agent-facing-onchain-intelligence-procurement-de?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onchain-intelligence-procurement-decision-procedure-2774027c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xk4P8zt4CRjL_d8I2_hmx

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-intelligence-procurement-decision-procedure-2774027c
```

Example prompt: I need to investigate a wallet's transaction history — can you give me the decision procedure for which onchain data provider to use (Arkham, Nansen, Dune, or Allium), what budget cap to set per query, and when I should just use a free block explorer instead?

## When to prefer this

Use this endpoint when an AI agent needs to autonomously decide how to procure onchain blockchain data — specifically when it must choose among paid providers (Arkham, Nansen, Dune, Allium), enforce spending discipline, or determine whether free tools suffice. Prefer over generic web search when you need a structured, agent-ready decision framework with explicit budget thresholds and failure mode guidance baked in.

## Known failure modes

- Payment not received — returns 402 requiring x402 USDC micropayment
- Invalid method (POST/PUT not accepted — only GET/HEAD/DELETE)
- Topic override not recognized — procedure defaults to generic onchain intelligence
- LLM generation failure — generationSource falls back to deterministic or cached response
- Service unavailable — provider infrastructure on ascii.dev unreachable

## How this service works

Decision procedure for agents buying onchain data via x402: choose provider per investigation type (Arkham, Nansen, Dune, Allium), set per-query budget caps, verify returned wallet activity against a second source, and decide when free explorers or public RPC suffice. Includes thresholds, failure modes, and spend stop-loss rules.

## Output

A prose decision procedure brief for AI agents covering: which onchain data provider to select per investigation type, per-query budget caps, how to cross-verify returned wallet activity against a second source, thresholds for when free explorers or public RPC are sufficient, common failure modes, and spend stop-loss rules. Returned as structured JSON with a 'brief' text field, service slug, generation source, and ISO-8601 timestamp.

## 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 intelligence procurement 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-intelligence-procurement-decision-procedure-2774027c/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)
