# x402helper.xyz Preflight Endpoint

> x402helper.xyz Preflight Endpoint is a paid API for AI agents from x402helper.xyz, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-31).

Returns payment requirements and preflight metadata for a target x402-protected resource before an AI agent commits payment.

## Facts

- Endpoint: GET https://x402helper.xyz/89e509/preflight?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402helper-xyz-preflight-endpoint-003d6b07
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yhpCBFHJu0GNXlECStgcR

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 x402helper-xyz-preflight-endpoint-003d6b07
```

Example prompt: Before paying for the x402-protected resource at https://api.example.com/data, check what the payment requirements are — how much USDC is needed and which network (like Base or Ethereum) it accepts.

## When to prefer this

Use this endpoint when an AI agent needs to inspect payment requirements for any x402-protected resource before committing USDC. It is the correct first step in an x402 payment flow — call preflight to discover price, network, and billing details, then proceed with the actual payment. Prefer this over guessing payment parameters or calling the protected resource directly without payment.

## Known failure modes

- Missing required 'url' query parameter returns an error or empty result
- Invalid or unreachable target URL may return an error or null result
- Unsupported network specified returns a validation error
- Target resource not x402-protected returns unexpected or empty payment requirements
- Network timeout if target endpoint is slow or unavailable

## How this service works

X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.

## Output

Returns a JSON object with success status and a result object containing payment requirements for the target x402 resource, including USDC price, accepted payment network(s), and billing verification metadata.

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402helper-xyz-preflight-endpoint-003d6b07/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402helper.xyz](https://www.zero.xyz/host/x402helper.xyz/llms.txt)
