# AGISHub Page Snapshot (HTML + Screenshot + Markdown + Accessibility Tree)

> AGISHub Page Snapshot (HTML + Screenshot + Markdown + Accessibility Tree) is a paid API for AI agents from api.agishub.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-16).

Captures multiple representations of a web page in a single call — rendered HTML, PNG screenshot, Markdown, and/or accessibility tree — using a headless browser.

## Facts

- Endpoint: GET https://api.agishub.com/v1/snapshot
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agishub-page-snapshot-html-screenshot-markdown-accessibility-tree-78254edc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HDdEqZgPjrMSE44GKsym0

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 agishub-page-snapshot-html-screenshot-markdown-accessibility-tree-78254edc
```

Example prompt: Take a full snapshot of https://example.com — I need the rendered HTML, a PNG screenshot, and the Markdown version, using a 1440px wide viewport and capturing the full scrollable page.

## When to prefer this

Use this endpoint when an agent needs both the visual representation and structured content of a page in a single call, avoiding multiple round-trips. Especially useful when you need rendered (JavaScript-executed) HTML rather than raw source, or when you need the accessibility tree for structured understanding. Prefer over generic scraping endpoints when you want a PNG screenshot alongside content, or when Markdown output is needed for downstream LLM processing.

## Known failure modes

- URL is unreachable or returns a non-2xx status — headless browser may return empty or error body
- Page uses heavy JavaScript that times out before rendering completes
- Invalid or malformed URL causes a 400 bad request
- Requested format not supported returns validation error
- Full-page screenshot of very long pages may time out or produce oversized output
- Anti-bot protections (CAPTCHA, bot detection) on the target page may block rendering

## How this service works

Capture several representations of a page in one call — rendered HTML plus a PNG screenshot by default, and optionally Markdown and the accessibility tree. Backed by a headless browser. Saves round-trips when an agent needs both the content and a visual of a page.

## Output

A JSON object containing one or more of: rendered HTML string, base64-encoded PNG screenshot, Markdown text of the page, and/or the accessibility tree — whichever formats were requested. Returned in a single response, saving multiple round-trips.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "enum": [
      "http"
     ],
     "type": "string"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri",
       "description": "Full http/https URL to capture."
      },
      "width": {
       "type": "integer",
       "minimum": 0,
       "description": "Viewport width in pixels (default 1280).",
       "exclusiveMinimum": true
      },
      "height": {
       "type": "integer",
       "minimum": 0,
       "description": "Viewport height in pixels (default 800).",
       "exclusiveMinimum": true
      },
      "formats": {
       "type": "array",
       "items": {
        "enum": [
         "html",
         "screenshot",
         "markdown",
         "accessibilityTree"
        ],
        "type": "string"
       },
       "description": "Which representations to return (default ['html','screenshot']). Add 'markdown' and/or 'accessibilityTree' as needed."
      },
      "full_page": {
       "type": "boolean",
       "description": "Capture the full scrollable page in the screenshot instead of just the viewport (default false)."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "enum": [
      "json"
     ],
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "Capture several representations of a page in one call — rendered HTML plus a PNG screenshot by default, and optionally M"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agishub-page-snapshot-html-screenshot-markdown-accessibility-tree-78254edc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agishub.com](https://www.zero.xyz/host/api.agishub.com/llms.txt)
