# forage.cash Web Scraper

> forage.cash Web Scraper is a paid API for AI agents from forage.cash, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Fetches any public URL and returns its main content as clean, LLM-ready markdown with boilerplate stripped, paid per-call via x402 USDC micropayment.

## Facts

- Endpoint: POST https://forage.cash/api/scrape?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forage-cash-web-scraper-f1a14d18
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PQesbesz92Wf54TZoykmL

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 forage-cash-web-scraper-f1a14d18 -d '<json body>'
```

Example prompt: Fetch the article at https://example.com/blog/my-post and give me the main content as clean markdown, capped at 50000 characters.

## When to prefer this

Choose forage.cash when you need a no-signup, pay-per-call web scraping solution that produces LLM-optimized markdown without boilerplate. It is ideal for one-off or low-volume page extractions where you don't want to manage API keys or rate limits, and when micropayment via x402/USDC is acceptable. Prefer it over full-site crawlers when you only need the main readable content of a single page rather than structured data or full HTML.

## Known failure modes

- URL is not publicly accessible or behind a paywall — returns error or empty content
- URL points to a non-HTML resource (PDF, image, binary) — may return raw or empty response
- maxChars below minimum of 1000 — request rejected
- Readability cannot identify main content on minimal/sparse pages — returns partial or empty markdown
- Network timeout fetching the target URL — returns timeout error
- URL uses an unsupported scheme (not http/https) — request rejected

## How this service works

Any URL to LLM-ready markdown — main content extracted (Readability), boilerplate stripped. $0.002 per page in USDC (x402), no signup, no API key, no rate limit.

## Output

Returns the main body content of the target webpage as clean markdown text, with navigation menus, ads, footers, and other boilerplate removed via Mozilla Readability. Output is truncated to the specified maxChars (default 200,000). The result is immediately usable as LLM context or for further processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Public http(s) URL to fetch"
  },
  "maxChars": {
   "type": "integer",
   "maximum": 500000,
   "minimum": 1000,
   "description": "Cap on returned markdown/text length (default 200000)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forage-cash-web-scraper-f1a14d18/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from forage.cash](https://www.zero.xyz/host/forage.cash/llms.txt)
