# x402check Deep Preflight — AI Agent Trust Check for x402 APIs

> x402check Deep Preflight — AI Agent Trust Check for x402 APIs is a paid API for AI agents from x402check.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-20).

Performs a deep preflight trust check on any x402-payment-gated API, returning an ok/caution/avoid verdict with uptime history, payTo stability, and price drift detection before an agent pays.

## Facts

- Endpoint: GET https://x402check.dev/preflight/deep?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402check-deep-preflight-ai-agent-trust-check-for-x402-apis-2196688e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rMbwWsBJIlQOTzM07787s

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 x402check-deep-preflight-ai-agent-trust-check-for-x402-apis-2196688e
```

Example prompt: Before we pay anything, run a deep trust check on https://www.api-xpay.com/x402/ping — I want to know if it's safe, whether the payTo address has changed, and if there's been any price drift.

## When to prefer this

Use this endpoint whenever an AI agent is about to make a payment to an x402-gated API and needs a trust signal first — especially for new, unrecognized, or high-frequency endpoints. It is specifically designed for the x402 micropayment protocol and provides history-aware verdicts (payTo changes, price drift, uptime) that generic URL checkers cannot offer. Prefer it over manual inspection or generic uptime monitors when the concern is crypto payment safety, wallet address stability, or detecting bait-and-switch pricing.

## Known failure modes

- Target URL unreachable — endpoint returns live:false and may issue 'caution' or 'avoid' verdict
- Invalid or non-x402 URL provided — missing required 'url' query parameter returns 400 error
- Target URL returns no 402 response — reason codes will reflect missing http_402 signal
- x402check service itself unavailable — agent receives 5xx or network error
- PayTo address not detectable — insufficient data to validate wallet, may return cautionary verdict

## How this service works

Check before paying any x402 API. Agents get a compact ok|caution|avoid verdict + history. Is this API a scam / endpoint safe? Verify payTo, detect price drift, check uptime, compare sellers, budget guard.

## Output

A JSON object containing: the checked URL, a verdict field with 'ok', 'caution', or 'avoid', the live reachability status, the current payTo wallet address, historical uptime percentage, arrays of payTo and price changes over time, the API's price in USD, the cost charged for this check, and reason codes explaining the verdict (e.g. 'reachable', 'http_402', 'payto_stable').

## 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": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Absolute https URL of the x402 seller to deep-check"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://www.api-xpay.com/x402/ping",
  "deep": true,
  "live": true,
  "payTo": "0x589a2314a2E05F45e40C4823Da3Ba58D421dB3d8",
  "history": {
   "checks": 3,
   "uptimePct": 100,
   "payToChanges": [],
   "priceChanges": []
  },
  "verdict": "ok",
  "priceUsd": 0.005,
  "chargedUsd": 0.05,
  "reasonCodes": [
   "reachable",
   "http_402",
   "payto_stable"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402check-deep-preflight-ai-agent-trust-check-for-x402-apis-2196688e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402check.dev](https://www.zero.xyz/host/x402check.dev/llms.txt)
