# x402check Preflight Trust Check

> x402check Preflight Trust Check is a paid API for AI agents from x402check.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-18).

Probes a single x402 payment-gated seller URL and returns a trust verdict (ok, caution, or avoid) with its historical reliability data before an agent commits payment.

## Facts

- Endpoint: GET https://x402check.dev/preflight?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402check-preflight-trust-check-67518b73
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PCPsWzggtrB8nTQwsEBOA

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-preflight-trust-check-67518b73
```

Example prompt: Before we pay that x402 tool at https://api-xpay.com/x402/ping, can you run a preflight trust check on it and tell me whether it's ok, caution, or avoid based on its uptime and wallet stability history?

## When to prefer this

Use this endpoint whenever an AI agent is about to spend USDC on an x402-gated tool and needs to vet the seller first — especially for unfamiliar or newly discovered tools. Prefer this over blindly paying when the seller's wallet address stability or uptime history is unknown. Ideal for agentic pipelines that automate payments and need a lightweight, cheap ($0.002) gate before committing to a potentially higher-cost tool call.

## Known failure modes

- Seller URL is unreachable — verdict may reflect downtime rather than fraud
- No cached history exists for a brand-new URL — limited signal returned
- URL is not a valid x402 endpoint — may return error or inconclusive verdict
- fresh=1 probe times out if seller is slow — may fall back to cached data
- Malformed URL input causes a 400-class error

## How this service works

Check before paying any x402 tool: is this API a scam/safe? Trust-check one seller URL (live 402 + history). Use for verify-payTo, uptime, price/wallet drift, budget guard, validate 402, debug failing settle. Returns ok|caution|avoid + that tool's history only. $0.01/URL. No free tier. Endpoint+history — not wallet OFAC/simulation. Optional deeper signal: GET /preflight/deep ($0.05).

## Output

A JSON response containing the seller URL, whether it's live, the payTo wallet address, a verdict of 'ok', 'caution', or 'avoid', the current price in USD, reason codes explaining the verdict, and historical data including uptime percentage, number of checks performed, and any recorded payTo or price changes. Also includes total cost and number of tools charged.

## 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 probe"
      },
      "fresh": {
       "type": "string",
       "description": "Optional. Set 1 or true to force a live probe"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402check-preflight-trust-check-67518b73/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)
