# WebLens Pro Fetch

> WebLens Pro Fetch is a paid API for AI agents from api.weblens.dev, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-02).

Fetches and extracts content from JavaScript-rendered web pages using AI-powered scraping with full browser execution

## Facts

- Endpoint: POST https://api.weblens.dev/fetch/pro?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/weblens-pro-fetch-40bbe88e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1i0X4JG2g4UGUeQzJLaTe

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 weblens-pro-fetch-40bbe88e -d '<json body>'
```

Example prompt: Can you fetch the full rendered content of https://app.example.com using WebLens Pro — I need the JavaScript-executed version since it's a dynamic app, and a cached response is fine to save cost.

## When to prefer this

Choose this endpoint when the target URL is a JavaScript-rendered single-page application, React/Angular/Vue app, or any dynamic page where raw HTML fetching would return empty or incomplete content. Prefer it over basic HTTP fetchers or simple scraping tools when content is loaded asynchronously via JS. The 70% cache discount makes repeated fetches of the same URL very cost-effective. Use the Pro tier when you need higher reliability, more complete rendering, or access to content that basic scraping tiers miss.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint returns an error with the HTTP status encountered
- Page requires authentication or login — content may be partial or a redirect to a login page
- JavaScript execution timeout — complex or slow SPAs may fail to fully render within the time limit
- Payment failure via x402 protocol — request rejected if micropayment cannot be processed
- Rate limiting — too many requests in a short window may be throttled
- Invalid URL format — request rejected with validation error

## How this service works

# WebLens - Web Intelligence API, pay per call

Scrape, crawl, map and extract the web. No account, no API key, no monthly
minimum — you pay for the calls you make and nothing else.

## Pricing
Page fetching starts at **$0.002**, whole-site crawling at
**$0.0015/page**, and sitemap discovery at **$0.004**.
Comparable services bill $0.007-0.008 per request, or reach a lower per-page
rate only on a $99/month commitment. WebLens has no commitment to reach.

## Payment Protocol
All paid endpoints use the [x402 protocol](https://x402.org) for HTTP-native
micropayments (USDC on Base).

## Cache Discount
Cached responses are **70% cheaper** than fresh fetches.

## Output

Returns a JSON object containing the target URL, tier used (pro), the page title as rendered, the full page content in markdown format after JavaScript execution, the timestamp of when it was fetched, and a unique request ID for tracking.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "URL of the webpage to fetch"
  },
  "cache": {
   "type": "boolean",
   "description": "Enable caching (default: true)"
  },
  "timeout": {
   "type": "number",
   "description": "Request timeout in milliseconds (default: 15000)"
  },
  "waitFor": {
   "type": "string",
   "description": "CSS selector to wait for before capturing content"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://app.example.com",
  "tier": "pro",
  "title": "Dynamic App Title",
  "content": "# App Content\\n\\nRendered after JavaScript execution...",
  "fetchedAt": "2026-01-26T12:00:00.000Z",
  "requestId": "req_xyz789"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/weblens-pro-fetch-40bbe88e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.weblens.dev](https://www.zero.xyz/host/api.weblens.dev/llms.txt)
