# BountyWorth x402 Preflight Auditor

> BountyWorth x402 Preflight Auditor is a paid API for AI agents from bountyworth.amber-panda-3101.chatgpt.site, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Audits an x402 payment-gated endpoint to verify its crypto bounty is funded, structurally valid, and safe to pay before an agent commits funds.

## Facts

- Endpoint: GET https://bountyworth.amber-panda-3101.chatgpt.site/api/preflight
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bountyworth-x402-preflight-auditor-26e2fcd6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gNoGaYHnmK7SNbibvzPQu

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 bountyworth-x402-preflight-auditor-26e2fcd6
```

Example prompt: Before my agent pays for that x402 weather endpoint at https://example.com/api/weather, can you run a BountyWorth preflight audit on it using a GET probe and tell me if the bounty is funded, structurally valid, and safe to settle?

## When to prefer this

Use this endpoint when an AI agent needs to evaluate whether an x402 payment-gated API is safe and worth paying before committing USDC. It is the right choice when you want to inspect payment offer structure, verify the bounty is funded, check for safety red flags, and get a readiness verdict — all without actually settling a payment. Prefer this over blindly calling a 402 endpoint when agent funds are at stake or when onboarding a new x402 API into an automated workflow.

## Known failure modes

- Target URL is not an x402 endpoint — returns 402 check failure and likely 'invalid' verdict
- Endpoint is unreachable or times out — latency recorded, checks fail
- Payment offer is structurally malformed — structurallyValid false, verdict 'caution' or 'invalid'
- payTo address is zero address or unverifiable — flagged in checks
- URL parameter missing or malformed — input validation error
- Non-HTTPS URL provided — rejected by schema format validation

## How this service works

Verify Base USDC transaction evidence or check an x402 endpoint’s payment challenge, resource binding, CORS exposure, and Bazaar readiness.

## Output

Returns a JSON object with a readiness score (0–100), a verdict of 'ready', 'caution', or 'invalid', a list of named checks with pass/fail status, one or more payment offer objects including asset address, payTo address, scheme, network, and USDC amount, safety flags (e.g. whether payment was sent, redirects followed, response body limit), and target metadata including URL, HTTP status, and latency in milliseconds.

## 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",
       "format": "uri",
       "description": "Public HTTPS x402 endpoint to inspect without settling a payment."
      },
      "method": {
       "enum": [
        "GET",
        "POST"
       ],
       "type": "string",
       "description": "HTTP method used for the unpaid probe. Defaults to GET."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "product",
      "paid",
      "target",
      "verdict",
      "readinessScore",
      "checks",
      "offers",
      "discovery",
      "safety"
     ],
     "properties": {
      "paid": {
       "type": "boolean"
      },
      "checks": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "offers": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "safety": {
       "type": "object"
      },
      "target": {
       "type": "object"
      },
      "product": {
       "type": "string"
      },
      "verdict": {
       "enum": [
        "ready",
        "caution",
        "invalid"
       ],
       "type": "string"
      },
      "protocol": {
       "type": "object"
      },
      "discovery": {
       "type": "object"
      },
      "scannedAt": {
       "type": "string",
       "format": "date-time"
      },
      "readinessScore": {
       "type": "integer",
       "maximum": 100,
       "minimum": 0
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "paid": true,
  "checks": [
   {
    "id": "payment-required-status",
    "detail": "Endpoint returned HTTP 402.",
    "status": "pass"
   }
  ],
  "offers": [
   {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "payTo": "0x0000000000000000000000000000000000000000",
    "scheme": "exact",
    "network": "eip155:8453",
    "amountUsdc": "0.002",
    "amountAtomic": "2000",
    "maxTimeoutSeconds": 300,
    "structurallyValid": true
   }
  ],
  "safety": {
   "paymentSent": false,
   "redirectsFollowed": false,
   "responseBodyLimitBytes": 65536
  },
  "target": {
   "url": "https://example.com/api/weather",
   "method": "GET",
   "status": 402,
   "latencyMs": 184
  },
  "product": "BountyWorth x402 preflight",
  "verdict": "ready",
  "discovery": {
   "resourceUrl": "https://example.com/api/weather",
   "extensionKeys": [
    "bazaar"
   ],
   "bazaarDeclared": true
  },
  "readinessScore": 95
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bountyworth-x402-preflight-auditor-26e2fcd6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bountyworth.amber-panda-3101.chatgpt.site](https://www.zero.xyz/host/bountyworth.amber-panda-3101.chatgpt.site/llms.txt)
