# x402serps.com Page Extractor

> x402serps.com Page Extractor is a paid API for AI agents from x402serps.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-16).

Fetches one or more URLs and returns the page content as clean markdown, title, and metadata — billed per URL in USDC via x402

## Facts

- Endpoint: POST https://x402serps.com/api/v1/extract?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402serps-com-page-extractor-51a8fc61
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0IiwVSce2dUi94EM4NtPq

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 x402serps-com-page-extractor-51a8fc61 -d '<json body>'
```

Example prompt: Fetch the content of https://example.com/article and give me the full text as markdown — cap it at 20000 characters.

## When to prefer this

Use this endpoint when an AI agent needs to retrieve and read the full text of one or more specific URLs without setting up API keys or accounts. It is ideal for pay-as-you-go agent workflows where the agent already knows the target URLs and needs clean markdown output. Prefer this over search endpoints when you have URLs in hand and want page content rather than a list of search results.

## Known failure modes

- URL is unreachable or returns a non-200 HTTP status — the response will indicate the fetch failure
- Page is behind a login wall or CAPTCHA — content may be empty or partial
- Requested URL returns non-HTML content (e.g. PDF) — contentType will reflect this and markdown may be incomplete
- Payment failure on Base/x402 — request is rejected before execution
- maxChars exceeded silently — truncated flag will be true in the response
- Too many URLs in a single call (more than 20) — request rejected

## How this service works

x402serps: fetch public http(s) URLs and return clean readable markdown text; one url or up to 20 urls in parallel, priced per URL (max 2MB page, 10s, output up to 100k chars)

## Output

Returns a JSON object per URL containing: the original URL, page title, final (redirected) URL, full page content as markdown, character length, content type, and a flag indicating whether the output was truncated due to the maxChars limit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "http(s) URL to fetch (or pass urls[] instead)"
  },
  "urls": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Up to 20 URLs, fetched in parallel; charged per URL"
  },
  "maxChars": {
   "type": "number",
   "description": "Max output chars, default 50000, max 100000"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://www.x402.org/",
  "title": "x402",
  "length": 5210,
  "finalUrl": "https://www.x402.org/",
  "markdown": "# x402\n\nAn open standard for internet-native payments...",
  "truncated": false,
  "contentType": "text/html"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402serps-com-page-extractor-51a8fc61/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402serps.com](https://www.zero.xyz/host/x402serps.com/llms.txt)
