# x402 Agentic Precheck — Payment Policy Validator

> x402 Agentic Precheck — Payment Policy Validator is a paid API for AI agents from api.x402agentic.ai, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-18).

Validates and pre-checks a 402 payment challenge or payment parameters before an autonomous agent commits funds, enabling policy-gated spend decisions.

## Facts

- Endpoint: GET https://api.x402agentic.ai/precheck?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agentic-precheck-payment-policy-validator-ebe06e72
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oK8UXzGiRDXj_D_SaW8Vx

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-agentic-precheck-payment-policy-validator-ebe06e72
```

Example prompt: Before my agent pays that 402-gated API, run a precheck on the challenge — it's asking for 0.10 USDC on the Base network, payTo 0xAbC...123, for a 'data' category resource at https://api.example.com/data, and my policy caps single payments at 0.25 USDC.

## When to prefer this

Use this endpoint when an autonomous AI agent receives a 402 Payment Required response and needs to validate the payment challenge against a spend policy before committing funds. Prefer this over directly paying when you need policy enforcement, price-band sanity checks, or trust verification of the facilitator and destination address. It is a read-only gate — no funds move — making it safe to call before any payment execution.

## Known failure modes

- Amount exceeds caller spend policy limit — returns policy violation
- Invalid or unrecognized asset symbol — returns validation error
- Malformed 402 challenge envelope — returns parse error
- Unknown or untrusted facilitator host — returns facilitator warning
- Network mismatch between policy and challenge — returns network error
- Missing required fields when challenge object is not provided — returns parameter error

## How this service works

Pre-pay risk verdict (allow / warn / block) before an agent settles any x402 payment — checks payee validity, OFAC sanctions, price gouging, asset/network, and spend policy. Part of x402 Agentic, the payment-trust suite for AI agents on Base USDC.

## Output

Returns a precheck result object indicating whether the payment request passes policy, is within acceptable price bands for the service category, and whether the agent should proceed with payment — without actually executing any transaction.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "payTo",
      "amount",
      "network"
     ],
     "properties": {
      "payTo": {
       "type": "string",
       "description": "Destination address from the 402 envelope"
      },
      "amount": {
       "type": "number",
       "description": "Price in USD the endpoint is asking for"
      },
      "network": {
       "type": "string",
       "description": "Settlement network"
      },
      "category": {
       "enum": [
        "llm-compact",
        "llm",
        "market-data",
        "crypto-data",
        "rpc",
        "scrape",
        "web-search",
        "social-data",
        "data-enrichment",
        "image-gen",
        "video-gen",
        "prediction",
        "identity",
        "generic"
       ],
       "type": "string",
       "description": "Service category for price-band comparison"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "flags": [],
  "verdict": "allow",
  "riskScore": 0,
  "recommendation": "proceed"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agentic-precheck-payment-policy-validator-ebe06e72/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402agentic.ai](https://www.zero.xyz/host/api.x402agentic.ai/llms.txt)
