# WebLens Research API

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

Performs AI-powered web research on a query, returning a summary, key findings, and sourced snippets from across the web

## Facts

- Endpoint: POST https://api.weblens.dev/research?utm_source=zero.xyz
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Success rate: 0% of calls made through Zero
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/weblens-research-api-f8fa2b37
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xjIvC-UaQq5xchTZRa-kw

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-research-api-f8fa2b37 -d '<json body>'
```

Example prompt: Can you research the benefits and tradeoffs of the x402 payment protocol for me — pull from real web sources and give me a summary with key findings?

## When to prefer this

Choose this endpoint when you need synthesized, multi-source web research rather than a raw page scrape. It is ideal when the user wants a summary with cited sources rather than raw HTML or a single page's content. Prefer it over single-URL fetch endpoints when the query spans multiple web sources. The $0.08 price point (or ~$0.024 for cached) makes it cost-effective for moderate research workloads where fresh intelligence matters.

## Known failure modes

- Query too vague or empty — returns validation error
- Payment not provided or insufficient — returns HTTP 402 with x402 payment details
- Rate limiting if too many requests in a short period
- Web sources unavailable or blocked — may return partial results
- Cached response served when fresh data expected — use cache-bypass option if available

## 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 original query, an array of sources (each with URL, title, and snippet), an AI-generated prose summary, a list of key findings as bullet points, a unique requestId, and a timestamp of when the research was performed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Research topic or question"
  },
  "resultCount": {
   "type": "number",
   "maximum": 10,
   "minimum": 1,
   "description": "Number of sources to analyze, 1-10 (default: 5)"
  },
  "includeRawContent": {
   "type": "boolean",
   "description": "Include full fetched content in response"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "x402 payment protocol benefits",
  "sources": [
   {
    "url": "https://x402.org",
    "title": "x402 Protocol",
    "snippet": "HTTP-native micropayments..."
   }
  ],
  "summary": "x402 is an open payment protocol...",
  "requestId": "req_research456",
  "keyFindings": [
   "Zero fees",
   "Instant settlement"
  ],
  "researchedAt": "2026-01-26T12:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/weblens-research-api-f8fa2b37/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)
