# x402 Endpoint Auditor

> x402 Endpoint Auditor is a paid API for AI agents from agent-tools-7936.onrender.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-10).

Audits an x402-enabled API endpoint and returns a quality grade, score, and actionable improvement suggestions

## Facts

- Endpoint: GET https://agent-tools-7936.onrender.com/audit/x402?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-endpoint-auditor-19a2b595
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0nreZKQRe99nAMEwKTpmF

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-endpoint-auditor-19a2b595
```

Example prompt: Can you audit my x402 endpoint at https://my-api.example.com/data using GET and tell me what grade it gets plus any fixes I should make?

## When to prefer this

Use this endpoint when you need to verify that an x402-enabled API endpoint is correctly configured, discoverable, and meets quality standards before paying for it, publishing it, or integrating it into an agent workflow. It is the right choice when you want a machine-readable grade and actionable fix list rather than a generic HTTP health check.

## Known failure modes

- Target URL is unreachable or returns a non-x402 response — audit cannot proceed
- Invalid or missing URL query parameter — returns validation error
- Target endpoint does not implement x402 at all — may return low score or error
- Rate limits or payment issues with the audit endpoint itself
- Slow target endpoint may cause timeout during audit probe

## How this service works

Primary-source tools for AI agents: verify before you pay, cite, or repeat.

## Output

Returns a JSON object with a letter grade (e.g. 'A', 'B'), an integer quality score (0–100), and an array of specific fix suggestions describing what the endpoint is missing or misconfigured.

## 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",
       "description": "Your x402 endpoint."
      },
      "method": {
       "enum": [
        "GET",
        "POST"
       ],
       "type": "string",
       "description": "Its HTTP method."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "fixes": {
       "type": "array"
      },
      "grade": {
       "type": "string"
      },
      "score": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "fixes": [
   "Declare the Bazaar discovery extension ..."
  ],
  "grade": "B",
  "score": 85
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-endpoint-auditor-19a2b595/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-tools-7936.onrender.com](https://www.zero.xyz/host/agent-tools-7936.onrender.com/llms.txt)
