# Johto Data API – Web Page Reader (/v1/read)

> Johto Data API – Web Page Reader (/v1/read) is a paid API for AI agents from johto-x402-api.johtodata.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-28).

Fetches a single HTTP/HTTPS URL and returns its content as clean Markdown text, with metadata like title, status code, content hash, and token estimates.

## Facts

- Endpoint: GET https://johto-x402-api.johtodata.workers.dev/v1/read?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/johto-data-api-web-page-reader-v1-read-1d74a314
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ynfMk1JtzkJAgaOb9oimP

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 johto-data-api-web-page-reader-v1-read-1d74a314
```

Example prompt: Can you fetch the content of https://techcrunch.com/2024/01/15/openai-news/ and give me the full article text as markdown, up to 50000 characters?

## When to prefer this

Choose this endpoint when you need to fetch and read the readable text content of a single web page as Markdown, especially when you want clean, LLM-friendly output with token estimates and a content hash. Preferred over general crawlers when you want pay-per-success pricing (no charge on failure), micropayment via USDC on Base (x402), and don't need multi-page or recursive crawling (use /v1/crawl for that). Ideal for research agents, content pipelines, and monitoring workflows that need ad-hoc page reads.

## Known failure modes

- URL is unreachable or returns a non-200 status — not charged, no content returned
- Invalid or malformed URL — request rejected
- Page requires JavaScript rendering — content may be incomplete or missing
- max_chars out of range (must be 1–100000) — validation error
- Rate limiting or bot detection by the target site — fetch fails, no charge
- Providing multiple URLs or a comma-separated list — only one URL is accepted per call

## How this service works

Valuable data. Quality leads. Paid per call in USDC on Base via x402. Not charged if the fetch fails or nothing matches. Prices per call (USDC): /v1/jp-invoice-check $0.002; /v1/sec-13f $0.003; /v1/sec-8k $0.003; /v1/sanctions-screen $0.0025; /v1/tenders $0.011; /v1/uk-tenders $0.003; /v1/fr-tenders $0.006; /v1/au-contracts $0.0035; /v1/wallet-risk $0.0025; /v1/kyb $0.0029; /v1/read $0.0019; /v1/crawl $0.0045; /v1/jobs $0.01; /v1/domain-profile $0.003.

## Output

Returns a JSON object with: the fetched URL, page title, HTTP status code (e.g. 200), full page content converted to Markdown (up to max_chars), a content hash for deduplication/caching, and estimated token counts (for the returned content and the full original). Row count is 1 on success.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "description": "One http(s) page URL (required). No commas or lists."
      },
      "max_chars": {
       "type": "string",
       "description": "Max characters of Markdown to return, 1-100000 (default 20000)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "data",
      "rows"
     ],
     "properties": {
      "data": {
       "type": "object",
       "properties": {
        "url": {
         "type": "string"
        },
        "title": {
         "type": "string"
        },
        "status": {
         "type": "integer"
        },
        "markdown": {
         "type": "string"
        },
        "contentHash": {
         "type": "string"
        },
        "tokensEstimate": {
         "type": "integer"
        },
        "tokensEstimateFull": {
         "type": "integer"
        }
       }
      },
      "rows": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "url": "https://example.com/",
   "title": "Example Domain",
   "status": 200,
   "markdown": "This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.",
   "contentHash": "0a080719be9fbb82",
   "tokensEstimate": 39,
   "tokensEstimateFull": 39
  },
  "rows": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/johto-data-api-web-page-reader-v1-read-1d74a314/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from johto-x402-api.johtodata.workers.dev](https://www.zero.xyz/host/johto-x402-api.johtodata.workers.dev/llms.txt)
