# Algorand x402 Rail Purchase Decision Procedure

> Algorand x402 Rail Purchase 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 deterministic pay/do-not-pay/needs-review decision for an AI agent considering buying an x402 service on the Algorand rail, with supporting evidence on facilitator credentials, price honesty, fees, and fallback rules.

## Facts

- Endpoint: GET https://k2so-8080.on.ascii.dev/api/services/agent-purchase-decision-procedure-for-the-algora
- 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/algorand-x402-rail-purchase-decision-procedure-e1197823
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ph2B_vt9kJo8oGaUCSwrG

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

Example prompt: Before we pay this x402 endpoint on the Algorand rail, run the Algorand purchase decision procedure on it — the facilitator claims to be verified and is quoting 0.05 USDCa; tell me whether to pay, skip, or flag for review.

## When to prefer this

Choose this endpoint when your agent is specifically about to execute an x402 payment on the Algorand rail (USDCa) and needs a deterministic, evidence-backed go/no-go decision before committing funds. It is distinctly valuable over generic x402 scam triage because it is Algorand-specific (facilitator credential checks, USDCa finality, Algorand address verification) and includes structured fallback logic to Base rails. Prefer sibling endpoints for Base-rail decisions or cross-rail adjudication.

## Known failure modes

- Facilitator address not found on Algorand — returns do-not-pay with evidence
- USDCa settlement finality cannot be confirmed — returns needs-review
- Quote price exceeds budget threshold — returns do-not-pay
- Timeout budget exceeded — triggers fallback ladder evaluation
- Critical check failure — triggers no-trust abort rule
- Invalid or missing input parameters — returns error with detail field
- Metadata endpoint (meta=1) returns free JSON without payment

## 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 structured JSON response containing an ok boolean, a paid flag, a decision result (pay / do-not-pay / needs-review), a prose brief explaining the reasoning, facilitator verification status, USDCa settlement finality evidence, quote-price honesty assessment, fee and timeout budget evaluation, MCP/Agent Skills Kit routing eligibility, and any fallback ladder recommendation including a no-trust abort rule if critical checks fail.

## 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)
```

## More

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