# PitCrew x402 Preflight Checker

> PitCrew x402 Preflight Checker is a paid API for AI agents from pitcrew-api.appin60.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-18).

Probes a given URL to determine whether it is a payable x402 endpoint, returning price offers, verdict, and any problems or warnings.

## Facts

- Endpoint: GET https://pitcrew-api.appin60.com/x402/preflight?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pitcrew-x402-preflight-checker-6f63a390
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5qNPJ54-nnGYDijdRtHvM

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 pitcrew-x402-preflight-checker-6f63a390
```

Example prompt: Before I pay, can you preflight-check https://example.com/api/premium to see if it's a valid x402 endpoint, what it costs, and whether there are any problems with it?

## When to prefer this

Use this endpoint when you need to inspect an x402-enabled URL before attempting to pay it — especially to confirm it is correctly configured, discover its pricing and accepted tokens/networks, or diagnose a prior payment failure. Prefer this over a raw HTTP probe when you need structured x402-aware analysis rather than a generic HTTP status check.

## Known failure modes

- Target URL is unreachable or returns no 402 response — verdict may be 'not_payable' or error
- Target URL returns a malformed x402 payment header — problems array populated with parsing errors
- Network timeout connecting to the target endpoint
- Invalid or missing 'url' query parameter — request rejected
- Target endpoint is up but misconfigured — warnings returned without a fatal verdict

## How this service works

Check any x402 paid endpoint before paying it: does it return a valid 402 challenge, which networks/tokens/prices it accepts (decoded to USD), whether amounts are valid atomic units, payTo sanity, testnet-only offers, missing Bazaar input schema, redirects and latency. Returns a verdict (payable / payable with warnings / broken / unreachable) and the exact problems. Useful for agents choosing between paid APIs and for sellers debugging why x402scan or the CDP Bazaar skipped their route.

## Output

A JSON object containing a 'verdict' field ('payable' or otherwise), an 'offers' array listing accepted tokens, networks, and USD price per call, a 'problems' array describing any configuration errors, and a 'warnings' array for non-fatal issues.

## 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": "Full URL of the x402 endpoint"
      },
      "body": {
       "type": "string",
       "description": "Optional JSON body to send with a POST probe (use the route's own example input)"
      },
      "method": {
       "enum": [
        "GET",
        "POST"
       ],
       "type": "string",
       "description": "HTTP method to probe (default GET)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "offers": [
   {
    "token": "USDC",
    "network": "eip155:8453",
    "priceUsd": 0.01
   }
  ],
  "verdict": "payable",
  "problems": [],
  "warnings": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pitcrew-x402-preflight-checker-6f63a390/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pitcrew-api.appin60.com](https://www.zero.xyz/host/pitcrew-api.appin60.com/llms.txt)
