# x402 Quote-Window Liquidity Readiness Decision Procedure

> x402 Quote-Window Liquidity Readiness Decision Procedure is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-28).

Returns a decision procedure brief for sizing an x402 agent's instantly-spendable USDC reserve against the narrow payment-required response window, including minimum liquid floor, safe yield-asset share, and failure modes.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/x402-quote-window-liquidity-readiness?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-quote-window-liquidity-readiness-decision-procedure-ceaef3ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9i5DAYeLQXhgHiiCGZ_AG

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 x402-quote-window-liquidity-readiness-decision-procedure-ceaef3ce
```

Example prompt: I have an x402 agent wallet with a mix of instant USDC and OUSG yield positions — can you give me the decision procedure for how much should stay liquid, when to pre-fund, and what decline thresholds to set so I never miss a payment window?

## When to prefer this

Choose this endpoint when an x402 agent must balance yield-bearing asset holdings against the strict latency of payment-required windows, and needs a concrete, actionable reserve-sizing procedure rather than generic DeFi liquidity advice. Especially useful when the agent holds OUSG or similar yield assets alongside USDC and needs quantified triggers and thresholds.

## Known failure modes

- Quote hash expires mid-unwind of yield-bearing assets, causing payment failure
- Insufficient USDC liquidity if yield-asset redemption latency exceeds quote window
- Misconfigured sweep path leads to failed settlement
- API returns error if required query params are malformed
- Payment not made results in 402 response with no decision content

## How this service works

Decision procedure for sizing an x402 agent's instantly-spendable USDC reserve against the seconds-wide PAYMENT-REQUIRED window. Inputs: reserve composition (instant USDC vs yield-bearing assets such as OUSG), expected quote rate, redemption latency of parked assets, sweep path. Outputs: minimum liquid-USDC floor, safe yield-asset share, pre-funding trigger conditions, decline thresholds, and failure modes including the quote hash dying mid-unwind. If free docs already solve reserve composition

## Output

A paid decision-procedure brief (prose and structured fields) covering: minimum liquid USDC floor, recommended safe yield-asset share, pre-funding trigger conditions, decline thresholds, failure modes (including quote hash expiry during asset unwind), generation timestamp, and the model/source used to produce the procedure.

## 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": "x402 quote-window liquidity readiness 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": "x402-quote-window-liquidity-readiness",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "x402-quote-window-liquidity-readiness",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-quote-window-liquidity-readiness-decision-procedure-ceaef3ce/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)
