# WebLens Competitive Intelligence API

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

Performs AI-powered competitive analysis on a company, returning a SWOT breakdown, competitor list, feature matrix, pricing comparison, and positioning summary.

## Facts

- Endpoint: POST https://api.weblens.dev/intel/competitive?utm_source=zero.xyz
- Price: $8/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/weblens-competitive-intelligence-api-1c567377
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SShBmxb7FFSq57vs2ui_F

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-competitive-intelligence-api-1c567377 -d '<json body>'
```

Example prompt: Can you pull a full competitive intelligence report on Example Corp — I want to see their SWOT, how they stack up against Acme Inc and Globex on features and pricing, and where they're positioned in the market?

## When to prefer this

Choose this endpoint when you need a structured, AI-synthesized competitive intelligence report — including SWOT, feature matrix, pricing table, and positioning — rather than raw web scraping of individual pages. It is ideal for product strategy, sales enablement, and investor preparation workflows where structured JSON output is required and you want AI to aggregate and interpret web data automatically.

## Known failure modes

- Company or domain not found — API may return empty competitors array or null fields
- Insufficient public data available for a full SWOT — partial results returned
- Rate limit or payment failure via x402 — 402 Payment Required response
- Timeout if web scraping targets are slow to respond
- Stale cached data returned at 70% discount if fresh fetch not requested

## 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 company name, a SWOT analysis (strengths, weaknesses, opportunities, threats), an array of identified competitors, a feature matrix mapping each competitor to their features, a pricing table per competitor, a positioning narrative, and a unique request ID for tracking.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "focus": {
   "type": "string",
   "description": "Optional focus area"
  },
  "company": {
   "type": "string",
   "description": "Company to analyze"
  },
  "maxCompetitors": {
   "type": "number",
   "description": "Max competitors to include (default: 5)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "swot": {
   "threats": [
    "Open source alternatives"
   ],
   "strengths": [
    "Brand"
   ],
   "weaknesses": [
    "Pricing"
   ],
   "opportunities": [
    "AI integration"
   ]
  },
  "company": "Example Corp",
  "pricing": {
   "Acme Inc": "$79/mo",
   "Example Corp": "$99/mo"
  },
  "requestId": "req_compet123",
  "competitors": [
   "Acme Inc",
   "Globex",
   "Initech"
  ],
  "positioning": "Example Corp leads in enterprise but lags on developer experience.",
  "featureMatrix": {
   "Acme Inc": [
    "Feature A"
   ],
   "Example Corp": [
    "Feature A",
    "Feature B"
   ]
  }
 }
}
```

## More

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