# x402station.io Preflight

> x402station.io Preflight is a paid API for AI agents from x402station.io, paid per call via x402, $0.001000/call, status down (last checked 2026-09-16).

Evaluates a single x402 payment endpoint for safety, reliability, and settlement quality before an agent commits to paying it

## Facts

- Endpoint: POST https://x402station.io/api/v1/preflight
- Price: $0.001000/call
- Payment: x402
- Status: down
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402station-io-109b4ba6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZQu4iNB6gEHDEE7qXXoMy

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 x402station-io-109b4ba6 -d '<json body>'
```

Example prompt: Before we pay that x402 endpoint at https://api.example.com/data, run a preflight check on it — I want to see the risk score, any warnings, and whether you recommend proceeding.

## When to prefer this

Use this endpoint when an AI agent is about to call and pay a single unknown or untrusted x402 endpoint and needs a quick risk assessment before committing funds. Prefer this over the batch variant when checking just one URL. Choose this over the Verified endpoint when you need a fast, low-cost check rather than a full 30-day audit certificate.

## Known failure modes

- URL is not a valid x402 endpoint — returns ok:false with relevant warnings
- Target endpoint is unreachable — may return error or degraded evidence
- Malformed URL input — returns validation error
- Insufficient account credits — returns payment required error
- Target endpoint has no settlement history — evidence fields may be sparse or null

## How this service works

Validates x402 payment readiness for an endpoint using USDC on Base.

## Output

Returns a JSON object with: ok (boolean pass/fail), warnings (list of issues found), metadata about the endpoint, recommended_action (e.g. proceed/block/caution), risk_score (numeric), and evidence including CDP-sourced settlement count and recency data.

## Example request

```json
{
 "url": "https://api.example-payment.com/x402/price",
 "signals": [
  "dead",
  "zombie",
  "decoy_price_extreme",
  "slow"
 ],
 "webhookUrl": "https://webhook.example.com/alerts"
}
```

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": false,
  "metadata": {
   "url": "https://api.venice.ai/api/v1/chat/completions",
   "service": "Venice",
   "currency": "USDC",
   "is_active": true,
   "price_usdc": "0.10",
   "service_id": "venice",
   "uptime_1h_pct": 0,
   "avg_latency_ms": null
  },
  "warnings": [
   "zombie"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402station-io-109b4ba6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402station.io](https://www.zero.xyz/host/x402station.io/llms.txt)
