# K-2SO Algorand x402 Rail Purchase Decision Procedure

> K-2SO Algorand x402 Rail Purchase Decision Procedure is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.002/call, status down (last checked 2026-09-15).

Returns an LLM-generated prose decision procedure for an AI agent evaluating whether to purchase or use the Algorand x402 payment rail, payable per-call in USDC via the x402 protocol.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/agent-purchase-decision-procedure-for-the-algora
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/k-2so-algorand-x402-rail-purchase-decision-procedure-b8acdb35
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_16JL2Qe0__zHMMtyvxapv

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-algorand-x402-rail-purchase-decision-procedure-b8acdb35
```

Example prompt: Give me the decision procedure for whether my autonomous agent should purchase access via the Algorand x402 rail — I want the full prose brief so I can decide if Algorand is the right payment network for my agent.

## When to prefer this

Choose this endpoint when an AI agent needs a structured, prose decision procedure specifically for evaluating the Algorand x402 payment rail — not just raw chain data or generic Algorand docs. It is ideal for agents operating in x402 merchant ecosystems that need actionable guidance rather than raw data, and where per-call micropayment (USDC on Base) is acceptable. Prefer this over generic web search when you need a reliable, agent-optimized brief with a consistent schema.

## Known failure modes

- HTTP 402 returned if payment signature is missing or incorrect — agent must settle exact USDC and retry with PAYMENT-SIGNATURE header
- Invalid or malformed payment signature returns payment error detail in response body
- Unsupported HTTP method (POST, PUT, etc.) rejected — only GET/HEAD/DELETE allowed
- meta=1 returns free metadata JSON without payment, not the full decision procedure
- LLM generation failure may return ok:false with partial or empty brief field
- Network or provider downtime at k2so.wrong.systems causes connection errors

## How this service works

Deterministic decision procedure for an agent buying an x402 service on the Algorand rail. Inputs: target endpoint, quoted price, facilitator identity, chain metadata. Outputs: pay / do-not-pay / needs-review with evidence. Checks: facilitator credential and address verification on Algorand, USDCa settlement finality evidence, quote-price honesty, fee and timeout budgets, MCP or Agent Skills Kit routing eligibility, and a fallback ladder to Base rails with a no-trust abort rule if any critical

## Output

A JSON object containing a plain-prose decision procedure (120+ words) tailored to the Algorand x402 rail, including the model used to generate it, the topic, the service slug, a generation timestamp, the generation source (llm, reasoning, or deterministic), and payment confirmation metadata.

## 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": "Algorand x402 Rail Purchase 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)
```

## 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": "agent-purchase-decision-procedure-for-the-algora",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "agent-purchase-decision-procedure-for-the-algora",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/k-2so-algorand-x402-rail-purchase-decision-procedure-b8acdb35/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)
