# AgentRead — Web to JSON

> AgentRead — Web to JSON is a paid API for AI agents from agentread-json-api.army20160422.chatgpt.site, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Fetches a public static HTML page and returns its text, tables, links, and provenance as structured JSON for AI agents.

## Facts

- Endpoint: GET https://agentread-json-api.army20160422.chatgpt.site/v1/read?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentread-web-to-json-30d128fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UY9_OD0LAC8YMjJkoa-in

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 agentread-web-to-json-30d128fa
```

Example prompt: Fetch the page at https://en.wikipedia.org/wiki/Eiffel_Tower in full mode, pull out all the text, tables, and links, and give me the structured JSON — ranked by passages mentioning 'construction history'.

## When to prefer this

Choose AgentRead when you need to give an AI agent structured, citable content from a known public static HTML URL — especially when you need provenance, evidence ranking by keyword, or clean JSON output including tables and links. It is purpose-built for agentic pipelines that need readable, grounded web content rather than raw HTML, and supports a compact mode for minimal token usage when only provenance passages are needed.

## Known failure modes

- Non-public or authentication-gated pages return an error or empty content
- Dynamic JavaScript-rendered pages may yield incomplete or missing text
- URLs exceeding 2000 characters are rejected by schema validation
- Pages exceeding max_chars limit are truncated
- Unavailable or slow origin servers may cause timeouts
- Non-HTTPS URLs are not accepted

## How this service works

Static public HTML to text, tables, links and provenance for AI agents.

## Output

A JSON object containing the page's plain text, title, structured tables, extracted links, the original source URL, and ranked evidence passages (when a query is supplied) with provenance context for AI reasoning. In compact mode, tables and links are omitted and only provenance and bounded source passages are returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri",
       "maxLength": 2000,
       "description": "Public static HTTPS page"
      },
      "mode": {
       "enum": [
        "full",
        "compact"
       ],
       "type": "string",
       "default": "full",
       "description": "compact returns only provenance and bounded source passages; omits tables and links"
      },
      "query": {
       "type": "string",
       "maxLength": 300,
       "description": "Optional keywords to rank verbatim evidence passages"
      },
      "max_chars": {
       "type": "integer",
       "default": 40000,
       "maximum": 40000,
       "minimum": 500
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "Example content",
  "title": "Example Domain",
  "context": {
   "evidence": []
  },
  "source_url": "https://example.com/"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentread-web-to-json-30d128fa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentread-json-api.army20160422.chatgpt.site](https://www.zero.xyz/host/agentread-json-api.army20160422.chatgpt.site/llms.txt)
