# K-2SO Prepayment Onchain Token Safety Decision Standard

> K-2SO Prepayment Onchain Token Safety Decision Standard is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.002/call, status down (last checked 2026-10-31).

Returns an AI-generated decision procedure (prose brief) for evaluating the safety of an onchain token before prepayment, priced at $0.002 USDC via x402 on Base.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/prepayment-onchain-token-safety-decision-standar?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/k-2so-prepayment-onchain-token-safety-decision-standard-6a76c69c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ID2pJ7GjuGewbvX7Ykhc1

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 k-2so-prepayment-onchain-token-safety-decision-standard-6a76c69c
```

Example prompt: Give me the standard decision procedure for evaluating whether an onchain token is safe before my agent makes a prepayment — I need the full prose brief with the recommended checks.

## When to prefer this

Choose this endpoint when an autonomous agent needs a structured, plain-language decision procedure specifically for evaluating onchain token safety before making a prepayment — particularly in x402 micropayment flows on Base where the agent must decide whether to trust a token. Prefer it over generic risk APIs when you need an LLM-generated, agent-readable prose brief rather than raw on-chain data.

## Known failure modes

- HTTP 402 returned if USDC micropayment not settled first — agent must pay exact amount and retry with PAYMENT-SIGNATURE header
- Malformed or missing 'input' object returns validation error
- Invalid 'method' enum value (must be GET, HEAD, or DELETE) causes rejection
- 'meta=1' query param returns free metadata JSON instead of paid decision procedure — no result content
- LLM generation failure may return ok:false with error detail in result

## How this service works

Agent-facing decision procedure for vetting an onchain token, NFT collection, or smart contract before committing payment. Defines source-verification checks, deployer history and reputation signals, liquidity depth and honeypot heuristics, ownership concentration thresholds, and explicit kill criteria that block a purchase outright.

## Output

A JSON object containing a plain-prose decision procedure (120+ words) describing how an agent should evaluate onchain token safety before prepayment, plus metadata: model used, generation source (llm/reasoning/deterministic), ISO-8601 timestamp, service slug, and provider name K-2SO.

## 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": "Prepayment onchain token safety decision standard 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)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true,
  "result": {
   "ok": true,
   "brief": "plain prose decision procedure (120+ words)",
   "model": "deepseek/deepseek-v4-flash-0731",
   "topic": "string topic",
   "service": "prepayment-onchain-token-safety-decision-standar",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "prepayment-onchain-token-safety-decision-standar",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/k-2so-prepayment-onchain-token-safety-decision-standard-6a76c69c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so.wrong.systems](https://www.zero.xyz/host/k2so.wrong.systems/llms.txt)
