# x402 Seller Doctor – API Health Audit

> x402 Seller Doctor – API Health Audit is a paid API for AI agents from eu-tender-x402-v2-production.up.railway.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Audits a URL endpoint for seller/API readiness and returns a scored verdict with detailed findings on what passes, fails, or is broken.

## Facts

- Endpoint: POST https://eu-tender-x402-v2-production.up.railway.app/api/x402-seller-doctor?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-seller-doctor-api-health-audit-73b4ab94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iEB6EPSG04TFSpm9MA1dS

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-seller-doctor-api-health-audit-73b4ab94 -d '<json body>'
```

Example prompt: Can you run a seller doctor audit on my API endpoint at https://myapi.example.com/data using a GET request and tell me if it's ready, needs fixes, or is broken — with a full breakdown of what passed and failed?

## When to prefer this

Choose this endpoint when you need a structured, scored audit of an API endpoint for x402/seller marketplace readiness — especially before listing an API for sale or diagnosing why an existing listing is underperforming. It is distinct from general uptime monitors or EU tender search endpoints on the same host.

## Known failure modes

- Invalid or unreachable URL returns an error or broken verdict
- Missing required 'url' field causes a 400-level validation error
- Payment failure via x402 USDC prevents the call from completing
- Target endpoint timeout causes incomplete audit results
- Malformed body parameter may cause unexpected audit behavior

## How this service works

Pay-per-call B2B sales lead and procurement intelligence plus Base wallet data for agents. Search EU tenders/RFPs or inspect a Base wallet. Payments use x402 USDC on Base.

## Output

Returns a JSON object with: a numeric readiness score, a verdict enum (ready/needs-fixes/broken), a summary of total checks run and how many passed/failed/critically failed, an array of individual findings each with an ID, severity, pass/fail status, message, evidence, and suggested fix, plus the audited URL, HTTP method, product name, and timestamp of the audit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Public x402 endpoint to audit"
  },
  "body": {
   "description": "Optional JSON body for non-GET probes"
  },
  "method": {
   "type": "string",
   "default": "GET",
   "description": "HTTP method"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "score": 100,
  "method": "GET",
  "product": "x402 Seller Doctor",
  "summary": {
   "checks": 10,
   "failed": 0,
   "passed": 10,
   "critical_failed": 0
  },
  "verdict": "ready",
  "findings": [],
  "observed": {
   "http_status": 402,
   "x402_version": 2,
   "accepts_count": 1
  },
  "audited_url": "https://api.example.com/paid"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-seller-doctor-api-health-audit-73b4ab94/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eu-tender-x402-v2-production.up.railway.app](https://www.zero.xyz/host/eu-tender-x402-v2-production.up.railway.app/llms.txt)
