# agent402.tools URL Inspector

> agent402.tools URL Inspector is a paid API for AI agents from agent402.tools, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Bundles URL parsing, HTTP reachability check, and page metadata extraction into a single x402-paid API call

## Facts

- Endpoint: POST https://agent402.tools/api/skill/url-inspector
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-tools-url-inspector-9a4ec7f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PvpzYiWK9JqQgGhhWWaOX

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 agent402-tools-url-inspector-9a4ec7f8 -d '<json body>'
```

Example prompt: Can you inspect https://openai.com — check if it's reachable, parse the URL structure, and pull the page metadata all at once?

## When to prefer this

Choose this endpoint when you need a quick, bundled health-and-metadata snapshot of a URL in a single call rather than calling url-parse, http-check, and meta tools individually. Ideal for link previews, pre-flight URL validation, or any workflow that needs to know both whether a URL is live and what it contains. Cost-efficient at $0.06 for three operations combined.

## Known failure modes

- URL is unreachable or returns a non-2xx status — reachability check returns failure with status code
- Malformed or non-HTTPS URL input — validation error or parse failure
- Target page blocks bots or returns empty metadata — metadata fields may be null or empty
- Payment failure — x402 payment not processed, call not executed
- Timeout if target URL responds slowly — may return partial results or timeout error

## How this service works

Bundled execution of the URL inspector workflow - Quick URL health and metadata check - parse the URL structure, verify reachability, and pull page metadata in one pass. One x402 payment runs 3 underlying tools (url-parse, http-check, meta); partial-success per step.

## Output

A combined result from three sub-tools: parsed URL components (scheme, host, path, etc.), HTTP reachability status (status code, redirect chain, latency), and page metadata (title, description, Open Graph tags, etc.) — all from a single API call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "URL to inspect (https://…)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "args": {
   "url": "https://stripe.com"
  },
  "pack": "url-inspector",
  "steps": [
   {
    "ok": true,
    "slug": "url-parse",
    "result": {}
   },
   {
    "ok": true,
    "slug": "http-check",
    "result": {}
   },
   {
    "ok": true,
    "slug": "meta",
    "result": {}
   }
  ],
  "summary": "3/3 steps succeeded"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-tools-url-inspector-9a4ec7f8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
