# Agent Tools – Agent-Scan Endpoint

> Agent Tools – Agent-Scan Endpoint is a paid API for AI agents from agent-tools-x402.t6y11a.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Analyzes a webpage's HTML, headers, robots.txt, and llms.txt to assess how ready it is for AI agent access, returning a grade and score.

## Facts

- Endpoint: POST https://agent-tools-x402.t6y11a.workers.dev/api/agent-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-tools-agent-scan-endpoint-eabcd38f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bOzpK8AJ7w7vy16QZyFWG

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 agent-tools-agent-scan-endpoint-eabcd38f -d '<json body>'
```

Example prompt: Can you check how agent-ready this page is? Here's the raw HTML, the response headers, the robots.txt, and the llms.txt — give me a grade and score so I know if an AI agent can freely access it.

## When to prefer this

Use this endpoint when you need a structured, scored assessment of a webpage's AI-agent accessibility — especially when you already have the page's HTML, headers, robots.txt, or llms.txt locally and want a cheap ($0.01), keyless, pay-per-call evaluation without setting up an account. Prefer it over manual inspection when building agent pipelines that need to programmatically decide whether to crawl or interact with a site.

## Known failure modes

- Missing or malformed HTML input may result in low-quality or incomplete scoring
- If none of the optional fields (headers, llms.txt, robotsTxt) are supplied, checks relying on those signals will be skipped, potentially lowering the score
- Payment failure via x402 results in no charge and no response
- Overly large HTML payloads may be rejected or cause timeouts

## How this service works

Pay-per-call utilities for AI agents. Payments in USDC on Base via x402 v2; no accounts or API keys. Failed requests are never charged. No endpoint performs server-side fetching of caller-supplied URLs.

## Output

Returns a JSON object with a human-readable grade (e.g. 'partially agent-ready'), a numeric readiness score (0–100), and an array of individual checks that contributed to the assessment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "html": {
   "type": "string",
   "description": "raw HTML of the page to assess"
  },
  "headers": {
   "type": "object",
   "description": "response headers of the page"
  },
  "llmsTxt": {
   "type": "string",
   "description": "contents of the site's llms.txt, if any"
  },
  "robotsTxt": {
   "type": "string",
   "description": "contents of the site's robots.txt"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "grade": "partially agent-ready",
  "score": 78,
  "checks": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-tools-agent-scan-endpoint-eabcd38f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-tools-x402.t6y11a.workers.dev](https://www.zero.xyz/host/agent-tools-x402.t6y11a.workers.dev/llms.txt)
