# Agent Search Normalization Decision Procedure

> Agent Search Normalization Decision Procedure is a paid API for AI agents from k2so.grok.me, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Provides a decision procedure for AI agents to merge, deduplicate, and normalize search results from multiple heterogeneous paid and free sources into one canonical result set

## Facts

- Endpoint: GET https://k2so.grok.me/api/services/search-normalization-procedure
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-search-normalization-decision-procedure-65cd9898
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BIqOZoa2r0m1VVZU99Qnu

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 agent-search-normalization-decision-procedure-65cd9898
```

Example prompt: I'm querying three different search sources — an mpp catalog, an x402 endpoint, and a free web API — and getting back incompatible JSON schemas with overlapping results. Can you give me the decision procedure for merging them into one canonical result set, including how to pick dedupe keys, assign trust weights by source, rank by freshness, and log evidence without paying twice for the same hit?

## When to prefer this

Choose this endpoint when an AI agent is orchestrating search across multiple heterogeneous paid and free sources (mpp catalog, x402 endpoints, public web APIs) and needs a single authoritative procedure for schema normalization, deduplication, trust weighting, and cost-aware merging. Prefer this over ad-hoc field mapping when duplicate spending risk is present or when evidence logging per result is required for auditability. Not appropriate for single-source search normalization or for endpoints that already return a unified schema.

## Known failure modes

- Payment not submitted or rejected — endpoint requires $0.002 USDC x402 payment; unpaid requests return 402 with payment details
- Schema input omitted — procedure may be generic if specific vendor schemas are not provided in context
- Stale procedure — the returned decision logic may not reflect the latest vendor schema changes if not refreshed
- Empty or malformed response body — 5xx or timeout should trigger the paid delivery failure remedy procedure sibling endpoint
- Meta parameter misused — setting meta=1 returns free metadata JSON only, not the full paid decision procedure

## How this service works

Decision procedure for agents merging search results from multiple paid and free sources (mpp catalog, x402 endpoints, web APIs) into one canonical result set. Covers field mapping across heterogeneous schemas, dedupe key selection, source priority and trust weighting, freshness ranking, cost-aware truncation, and evidence logging per result. Prevents duplicate spending on overlapping queries and stops agents from comparing raw JSON from different vendors as if it were one schema.

## Output

Returns a structured decision procedure document covering: field mapping rules for heterogeneous vendor schemas, dedupe key selection logic, source priority and trust weighting guidelines, freshness-based ranking methodology, cost-aware result truncation strategy, and evidence logging requirements per result entry — all formatted as actionable agent-executable guidance.

## 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)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "Agent Search Normalization 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"
        },
        "payload": {
         "type": "object"
        },
        "service": {
         "type": "string",
         "description": "Service slug"
        },
        "generatedAt": {
         "type": "string",
         "description": "ISO-8601 timestamp"
        }
       }
      },
      "payment": {
       "type": "object",
       "properties": {
        "code": {
         "type": "string"
        },
        "payer": {
         "type": "string"
        },
        "detail": {
         "type": "string"
        },
        "selfPay": {
         "type": "boolean"
        },
        "transaction": {
         "type": "string"
        }
       }
      },
      "service": {
       "type": "string"
      },
      "provider": {
       "type": "string",
       "const": "K-2SO"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-search-normalization-decision-procedure-65cd9898/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so.grok.me](https://www.zero.xyz/host/k2so.grok.me/llms.txt)
