# AgentGate Clean Markdown Web Scraper

> AgentGate Clean Markdown Web Scraper is a paid API for AI agents from x402.agentsea.vn, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Fetches a public web page and returns its content as clean, reader-friendly Markdown with word count and token estimate, settled via x402 micropayment.

## Facts

- Endpoint: GET https://x402.agentsea.vn/v1/scrape/clean-markdown
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentgate-clean-markdown-web-scraper-1b650417
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mbhJ2wdmJaSq0JmnhknNP

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 agentgate-clean-markdown-web-scraper-1b650417
```

Example prompt: Can you grab the content of https://example.com/article and give it to me as clean markdown so I can feed it into my prompt?

## When to prefer this

Choose this endpoint when an AI agent needs to read and process the human-readable content of a public web page — especially when the goal is to pass that content to an LLM. The clean Markdown output with token estimates makes it ideal for context-window management. At $0.001 USDC per call settled on-chain via x402, it suits pay-per-use agentic workflows where no subscription is desired.

## Known failure modes

- Invalid or inaccessible URL returns a failure response or HTTP error
- Paywalled or login-gated pages may return minimal or no content
- Very large pages may have truncated output
- x402 payment failure if USDC balance or wallet authorization is insufficient
- Rate limiting or bot-detection on target site may return empty or partial content

## How this service works

Dual-stack x402 & MPP autonomous payment gateway. Per-request micro-utilities for AI agents: clean web scraping ($0.001), prompt injection defense, and Solana token audit settled in USDC on Base L2 & Solana.

## Output

A JSON object with a 'success' boolean and a 'data' object containing: 'title' (the page title), 'markdown' (the cleaned full-page content in Markdown format), 'word_count' (integer word count), and 'estimated_tokens' (integer token estimate for LLM use).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "url"
   ],
   "properties": {
    "url": {
     "type": "string",
     "description": "Public URL of the web page to scrape"
    }
   }
  },
  "output": {
   "data": {
    "title": "Example Page",
    "markdown": "# Header\nClean content...",
    "word_count": 120,
    "estimated_tokens": 150
   },
   "success": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "title": "Example Page",
   "markdown": "# Header\nClean content...",
   "word_count": 120,
   "estimated_tokens": 150
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentgate-clean-markdown-web-scraper-1b650417/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentsea.vn](https://www.zero.xyz/host/x402.agentsea.vn/llms.txt)
