# Stride Gateway Web Extract API

> Stride Gateway Web Extract API is a paid API for AI agents from gateway.stride20k.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Fetches any public web page and returns its readable content as clean markdown, stripping boilerplate and preserving title, author, and canonical URL

## Facts

- Endpoint: GET https://gateway.stride20k.com/web/extract
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stride-gateway-web-extract-api-2637f52a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MYwpQIYok_sffRVxGzj-L

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 stride-gateway-web-extract-api-2637f52a
```

Example prompt: Fetch the article at https://www.theverge.com/2024/1/15/example-story and give me the full readable content as clean markdown, without any nav bars or ads.

## When to prefer this

Use this endpoint when you need to fetch and read the human-readable content of a specific public web page — ideal for research agents, summarization pipelines, and RAG ingestion workflows. It respects robots.txt, caps output size, and returns cached results within 5 minutes, making it well-suited for repeated or high-frequency page reads. Prefer it over raw HTTP fetching when you want boilerplate-stripped markdown with metadata like title, author, and canonical URL already extracted.

## Known failure modes

- URL is disallowed by robots.txt — returns a 403 error
- URL points to a private or internal target — refused with an error
- Page is not HTML (e.g. PDF, image) — not supported
- Redirect chain exceeds 3 hops — request fails
- Input URL exceeds 1MB — rejected
- Output truncated at 100k characters (truncated flag set to true)
- Upstream page is unavailable or times out — fetch error returned
- Malformed or non-absolute URL — validation error

## How this service works

Web scraping API: fetch any public web page and get its readable content as clean markdown — title, author, canonical URL, boilerplate stripped. Honest User-Agent, robots.txt honored (explicit Disallow returns an unpaid 403), private/internal targets refused, at most 3 safety-revalidated redirects, 1MB input / 100k character output caps. HTML pages only. Use for research agents, content extraction, summarization pipelines, and RAG ingestion. Cached up to 5 minutes per URL.

## Output

A JSON object containing: the requested URL, the final URL after redirects, the page title (or null), the author (or null), the canonical URL (or null), the full readable page content as a markdown string, a character count, a truncated flag (true if content exceeded 100k chars), a cached flag, and the ISO 8601 timestamp of when the page was fetched.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "url": "https://example.com/",
   "title": "Example Domain",
   "author": null,
   "finalUrl": "https://example.com/",
   "markdown": "# Example Domain\n\nThis domain is for use in documentation examples without needing permission.",
   "charCount": 131,
   "truncated": false,
   "canonicalUrl": null
  },
  "meta": {
   "cached": false,
   "source": "direct fetch (buyer-directed)",
   "fetchedAt": "2026-07-04T00:00:00.000Z",
   "attribution": null
  },
  "endpoint": "/web/extract"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stride-gateway-web-extract-api-2637f52a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.stride20k.com](https://www.zero.xyz/host/gateway.stride20k.com/llms.txt)
