# NewBotLabor x402 Endpoint Auditor

> NewBotLabor x402 Endpoint Auditor is a paid API for AI agents from newbotlabor--254ecdfcc2de11f19b541607ee4eb77e.web.val.run, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Audits an x402-enabled HTTP endpoint to verify its payment configuration, pricing consistency, and discovery metadata before an agent pays and calls it

## Facts

- Endpoint: GET https://newbotlabor--254ecdfcc2de11f19b541607ee4eb77e.web.val.run/api/x402/audit?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/newbotlabor-x402-endpoint-auditor-2cce8ab3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t1fWyL-JKYg8a9FmLnI4X

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 newbotlabor-x402-endpoint-auditor-2cce8ab3
```

Example prompt: Before my agent pays to call https://api.example.com/some-x402-endpoint, can you run a preflight audit on it using a GET method to check if the price, payment addresses, and discovery metadata are all consistent and safe?

## When to prefer this

Use this endpoint when an AI agent is about to pay-and-call an unknown or third-party x402 endpoint and needs to verify pricing consistency, payment address validity, and discovery metadata before committing USDC. Prefer this over blindly calling an x402 endpoint when the price, addresses, or OpenAPI declarations are untrusted. This is the right choice for any autonomous agent workflow that needs a safety gate before executing a financial transaction on a pay-per-call API.

## Known failure modes

- Target URL is unreachable or returns an unexpected status — latencyMs may be high and httpStatus may be non-402
- Price mismatch detected between OpenAPI spec and 402 response — verdict returns 'problems' with OPENAPI_PRICE_MISMATCH issue
- Well-known x402 file missing or endpoint not listed — discovery fields reflect false/404
- Missing or malformed 'url' query parameter — request fails with validation error
- Target endpoint behind firewall or rate-limited — audit may time out or return incomplete results

## How this service works

Pay-per-call utilities for autonomous agents, paid with x402 (USDC on Base; no account, no API key).

## Output

Returns a JSON object with: a verdict ('ok' or 'problems'), a list of issues with codes, details, and severity levels (e.g. OPENAPI_PRICE_MISMATCH), an array of payment-to addresses, the cheapest USDC price and network, HTTP status from the endpoint, latency in milliseconds, and discovery metadata (OpenAPI reachability, well-known x402 status, whether it's listed, and declared USD price).

## 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": "x402 endpoint URL"
      },
      "method": {
       "type": "string",
       "description": "GET (default) or POST"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "issues": [
   {
    "code": "OPENAPI_PRICE_MISMATCH",
    "detail": "openapi says $0.01, 402 asks $0.05",
    "severity": "high"
   }
  ],
  "payTos": [
   "0x…"
  ],
  "verdict": "problems",
  "discovery": {
   "openapi": 200,
   "wellKnownX402": 200,
   "listedInWellKnown": true,
   "openapiDeclaredUsd": 0.01
  },
  "latencyMs": 412,
  "httpStatus": 402,
  "cheapestUsdc": {
   "network": "eip155:8453",
   "priceUsd": 0.05
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/newbotlabor-x402-endpoint-auditor-2cce8ab3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from newbotlabor--254ecdfcc2de11f19b541607ee4eb77e.web.val.run](https://www.zero.xyz/host/newbotlabor--254ecdfcc2de11f19b541607ee4eb77e.web.val.run/llms.txt)
