# x402 Endpoint Preflight Trust Check

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

Performs a composite trust assessment of an x402 payment endpoint before an agent commits funds, returning a 0-100 trust score, category label, and per-dimension signals.

## Facts

- Endpoint: GET https://api.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/x402-endpoint-preflight-trust-check-e4d61a70
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XT8JjU3i910SqtDWiXJGh

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-endpoint-preflight-trust-check-e4d61a70
```

Example prompt: Before my agent pays it, run a preflight trust check on the x402 endpoint at https://api.example.com/data using a GET request and tell me the trust score, category, and any red flags.

## When to prefer this

Use this endpoint whenever an AI agent is about to pay an unfamiliar x402 endpoint and needs a pre-payment risk signal. It is specifically designed for x402 protocol trust assessment combining on-chain, discovery, and live-probe signals — prefer it over generic URL scanners or reputation APIs when the target is a pay-per-call API using the x402 standard.

## Known failure modes

- Target URL is unreachable or returns non-402 response — probe dimension marked failed
- URL is not listed in CDP x402 Bazaar — results in 'unknown' category with low score
- Invalid or unsupported HTTP method provided — request validation error
- Target network not supported — network dimension skipped or errored
- Score is indicative only — endpoint may still be fraudulent despite high score

## 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 from 0 to 100, a categorical label (trusted, caution, untrusted, or unknown), per-dimension boolean flags, human-readable reasons, and weighted signals derived from CDP x402 Bazaar discovery data, on-chain USDC payment diversity sampling, and a live 402 probe confirming the payTo address matches the listing.

## 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/x402-endpoint-preflight-trust-check-e4d61a70/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
