# x402-tools Budget Preflight

> x402-tools Budget Preflight is a paid API for AI agents from openclawproductions.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-31).

Performs a budget preflight check for x402-gated HTTP requests, verifying whether a proposed API call would be approved before committing payment

## Facts

- Endpoint: GET https://openclawproductions.com/api/v1/budgetpreflight?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-tools-budget-preflight-b5ac68d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yxZPzuXCLkcUhNpplXQrE

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-tools-budget-preflight-b5ac68d1
```

Example prompt: Run a budget preflight check on a GET request to make sure it would pass x402 payment validation before I actually send any USDC — use OpenX402 as the facilitator.

## When to prefer this

Use this endpoint when you need to validate or diagnose x402 payment-gated API requests before committing actual USDC payments, or when debugging 402 responses from x402-protected endpoints. Prefer this over live calls when testing payment flow integrations to avoid burning funds on failed requests.

## Known failure modes

- HTTP 402 returned when request is not accompanied by valid payment — includes eip3009 payment extras in response body
- Invalid HTTP method submitted (must be GET, HEAD, DELETE, or POST)
- Missing required 'type' or 'method' fields in input object
- Facilitator mismatch — only OpenX402 is supported; other facilitators will not process the request
- Malformed input schema causes request rejection

## How this service works

Paid x402 diagnostics. Unpaid paid-SKU requests return HTTP 402 with eip3009 extras. Facilitator: OpenX402 only.

## Output

Returns a preflight validation result indicating whether the proposed HTTP request would be approved under x402 payment gating. On failure or unpaid requests, returns HTTP 402 with eip3009 payment extras including payment channel details required by the OpenX402 facilitator.

## 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": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  },
  "inputSchema": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-tools-budget-preflight-b5ac68d1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openclawproductions.com](https://www.zero.xyz/host/openclawproductions.com/llms.txt)
