# html-fetch

> html-fetch is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches the raw HTML source of a URL (up to 500 KB), returning page status, final URL after redirects, content type, byte size, and response headers.

## Facts

- Endpoint: GET https://intel.rallylive.ca/page/html
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/html-fetch-abf88621
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t8w7z6-bTQ0j2Vhwmgv6R

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 html-fetch-abf88621
```

Example prompt: Grab the raw HTML source of https://example.com/blog/post-1 for me — I want the full page source, response headers, and the final URL after any redirects so I can parse it myself.

## When to prefer this

Choose this endpoint when you need the raw HTML source of a page and want to run your own parser, without the overhead of managing HTTP redirects, timeouts, or connection pooling. It is ideal when you need response metadata (status code, headers, final URL) alongside the page source. Prefer it over higher-level scraping APIs when you want full control over parsing logic rather than pre-extracted structured data.

## Known failure modes

- URL is unreachable or times out — returns an error or non-200 status
- Page exceeds 500 KB — content is truncated
- URL returns a non-HTML content type (e.g. PDF, binary) — still returns bytes but may not be useful HTML
- Invalid or malformed URL — returns an error response
- DNS resolution failure for the target domain

## How this service works

Raw HTML fetch: the page source (up to 500 KB) with status, final URL after redirects, content type, byte size and response headers. For agents that want to run their own parser without managing fetch, redirects and timeouts. $0.01 per URL.

## Output

Returns the raw HTML page source (up to 500 KB), the HTTP status code, the final URL after redirects, the content type header, byte size of the response, and the full set of response headers — ready for the caller to parse however they choose.

## 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": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/html-fetch-abf88621/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
