# payai.agentstools.dev x402 Preflight Trust Check

> payai.agentstools.dev x402 Preflight Trust Check is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Runs a composite trust assessment on an x402 payment endpoint before an agent pays it, returning a 0–100 score, category label, and per-dimension signals.

## Facts

- Endpoint: GET https://payai.agentstools.dev/preflight
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payai-agentstools-dev-x402-preflight-trust-check-f5f64cea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tfVlgrLEJwA1znctUWAwo

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 payai-agentstools-dev-x402-preflight-trust-check-f5f64cea
```

Example prompt: Before my agent pays it, can you run a preflight trust check on this x402 endpoint — https://some-paid-api.example.com/data — and tell me its trust score and category so I know if it's safe to send USDC to?

## When to prefer this

Use this endpoint any time an AI agent is about to pay an x402-gated resource and needs a pre-payment trust signal. It is uniquely suited for x402 payment safety checks because it fuses three orthogonal signals: CDP Bazaar discovery, on-chain USDC payment diversity, and a live 402 probe. Prefer it over generic domain phishing checks (see sibling endpoint) when the target is specifically an x402/402-gated API rather than a merchant website.

## Known failure modes

- Target URL is not an x402 endpoint — unknown category returned with low score
- Live 402 probe fails or times out — probe dimension flagged as unavailable
- Endpoint not found in CDP Bazaar — bazaar dimension returns no signal
- Invalid or malformed URL input — request rejected with validation error
- Network not supported — defaults to any-network scoring if hint not recognized

## How this service works

Preflight trust check of another x402 endpoint before an agent pays it. From the target resource URL: a composite trust score 0-100, a category (trusted / caution / untrusted / unknown), per-dimension flags, reasons and weighted signals. Scored from CDP x402 Bazaar discovery, an on-chain USDC payment-diversity sample, and a live 402 probe that the served payTo matches the listing. Trust indicators, not a guarantee.

## Output

Returns a composite trust score (0–100), a category label (trusted / caution / untrusted / unknown), per-dimension flags and reasons (CDP Bazaar listing match, on-chain USDC payment diversity sample, live 402 probe result confirming payTo address consistency), and weighted signals — together forming a trust indicator profile for the target x402 endpoint.

## 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",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "The x402 resource/endpoint URL the buyer agent intends to pay"
      },
      "network": {
       "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon"
       ],
       "type": "string",
       "description": "Optional payment network hint for the target (default any)"
      },
      "resource": {
       "type": "string",
       "description": "Synonym for url (the target resource URL)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payai-agentstools-dev-x402-preflight-trust-check-f5f64cea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
