# WebLens Basic Fetch

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

Fetches a web page and returns its content as clean, readable markdown with title and metadata

## Facts

- Endpoint: POST https://api.weblens.dev/fetch/basic?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/weblens-basic-fetch-8c2889c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NydK38Qmy63eth83AuV7_

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-basic-fetch-8c2889c1 -d '<json body>'
```

Example prompt: Can you fetch the content of https://techcrunch.com/2026/01/26/openai-news/ and give me the article text in a readable format?

## When to prefer this

Choose this endpoint when you need quick, affordable web page content extraction at $0.005 per call, especially when the page is a standard HTML article or content page. It is ideal for AI agents that need to read live web content as clean markdown for summarization, research, or analysis tasks. The basic tier is best for simple pages; use a higher tier if you need JavaScript rendering or structured data extraction. Take advantage of caching for repeated fetches of the same URL to reduce cost by 70%.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint may return an error with the HTTP status code
- Paywalled or login-required pages may return incomplete or empty content
- Dynamic JavaScript-heavy pages may not render fully in basic tier
- Invalid or malformed URL input causes a validation error
- Payment failure via x402 protocol results in 402 response before fetch occurs

## 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

A JSON object containing the page title, full page content converted to clean markdown, the URL that was fetched, the tier used ('basic'), a fetch timestamp in ISO 8601 format, 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: 10000)"
  },
  "cacheTtl": {
   "type": "number",
   "maximum": 86400,
   "minimum": 60,
   "description": "Cache TTL in seconds, 60-86400 (default: 3600)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/article",
  "tier": "basic",
  "title": "Example Article Title",
  "content": "# Article Heading\\n\\nClean markdown content...",
  "fetchedAt": "2026-01-26T12:00:00.000Z",
  "requestId": "req_abc123"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/weblens-basic-fetch-8c2889c1/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)
