# Quant Agent Shop – Page Fetch

> Quant Agent Shop – Page Fetch is a paid API for AI agents from quantagentshop.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-23).

Fetches a public web page URL and returns its main content as clean Markdown or plain text, stripping navigation, ads, and scripts.

## Facts

- Endpoint: POST https://quantagentshop.com/v1/fetch-page?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quant-agent-shop-page-fetch-fac87a0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5t54Emn8pMcxO_1UyrlhS

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 quant-agent-shop-page-fetch-fac87a0b -d '<json body>'
```

Example prompt: Can you fetch the content of https://www.x402.org/ and give it to me as clean markdown, keeping up to 20000 characters?

## When to prefer this

Choose this endpoint when you need to read the human-readable content of a public static web page — articles, documentation, blog posts, or product listings — and want a clean Markdown or plain-text representation without HTML noise. It is ideal for feeding web content into LLMs for summarization, Q&A, or analysis. Prefer alternatives if the page requires JavaScript rendering, authentication, is a PDF, or if you need full HTML structure. Use the sibling PDF endpoint for PDF URLs and the web search endpoint to discover URLs first.

## Known failure modes

- URL is behind a login or paywall — content cannot be retrieved
- URL points to a PDF or image — not supported (use a PDF-specific endpoint instead)
- Page requires JavaScript rendering — static fetch returns incomplete content
- URL returns a non-200 HTTP status — fetch fails with an error response
- Page exceeds 1 MB — only the first 1 MB is read, content may be cut off
- Invalid or malformed URL — validation error returned
- Network timeout or unreachable host — error response returned (not charged)

## How this service works

Page fetch. Send a public URL; returns the page title and its main content as clean Markdown or plain text, with navigation, scripts and ads removed. Use to read an article, docs page or listing. Not for pages behind logins, PDFs or images; no JavaScript rendering. Reads the first 1 MB of a page. Typical response under 2 s. Failed calls are not charged.

## Output

A JSON object containing the page title, the main body content as Markdown or plain text (with nav/ads/scripts removed), the final URL after any redirects, total character count, a boolean indicating whether the content was truncated, the requested format, and a UTC timestamp of when the page was fetched.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "title": "Url",
       "format": "uri",
       "maxLength": 2083,
       "minLength": 1,
       "description": "Public http or https page to read."
      },
      "format": {
       "enum": [
        "markdown",
        "text"
       ],
       "type": "string",
       "title": "Format",
       "default": "markdown",
       "description": "markdown keeps headings, links and lists; text is plain."
      },
      "max_chars": {
       "type": "integer",
       "title": "Max Chars",
       "default": 20000,
       "maximum": 100000,
       "minimum": 500,
       "description": "Cut the returned content at this many characters."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://www.x402.org/",
  "chars": 1830,
  "title": "x402",
  "format": "markdown",
  "content": "# x402\n\nAn open protocol for internet-native payments...",
  "final_url": "https://www.x402.org/",
  "truncated": false,
  "fetched_at": "2026-10-22T09:00:00+00:00"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quant-agent-shop-page-fetch-fac87a0b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from quantagentshop.com](https://www.zero.xyz/host/quantagentshop.com/llms.txt)
