{"name":"WebLens","version":"2.0.0","tagline":"Give your AI agents web superpowers","description":"Premium Web Intelligence API - Give your AI agents web superpowers with x402 micropayments. No API keys, no accounts, just pay per request with USDC on Base.","baseUrl":"https://api.weblens.dev","protocol":{"name":"x402","version":2,"network":"base","token":"USDC","facilitator":"payai+cdp","bazaarListed":false},"documentation":{"interactive":"https://api.weblens.dev/docs","openapi":"https://api.weblens.dev/openapi.json","llms":"https://api.weblens.dev/llms.txt","mcp":"https://api.weblens.dev/mcp/info"},"whyChooseUs":["Zero friction - No accounts, API keys, or subscriptions","AI-optimized - Structured outputs designed for autonomous agents","Instant settlement - Payments settle in ~1-2 seconds on Base","No fees - x402 protocol has 0 platform fees","Bazaar listed - Discoverable via Coinbase Bazaar","MCP support - Native Model Context Protocol integration","Cache discount - 70% off for cached responses"],"capabilities":["web-scraping","javascript-rendering","screenshot-capture","web-search","data-extraction","ai-powered-analysis","pdf-extraction","url-monitoring","persistent-memory","batch-operations","url-comparison","autonomous-context-verification","truth-oracle","web-intelligence","cryptographic-proofs","reputation-aware"],"useCases":["AI agent web browsing and research","Automated fact-checking and verification","Content aggregation and monitoring","Competitive intelligence gathering","Lead generation and data mining","Visual testing and archiving","Document processing and extraction","Multi-source comparison analysis","Persistent agent memory across sessions"],"services":[{"endpoint":"/fetch/basic","method":"POST","name":"Fetch Webpage (Basic)","description":"Fast webpage to markdown conversion without JavaScript rendering","price":"$0.005","tags":["web-scraping","markdown","fast","static-content"],"latency":"1-3 seconds","rateLimit":"100/minute"},{"endpoint":"/fetch/pro","method":"POST","name":"Fetch Webpage (Pro)","description":"Full JavaScript rendering with headless Chromium for SPAs and dynamic content","price":"$0.015","tags":["web-scraping","javascript","spa","dynamic-content"],"latency":"3-8 seconds","rateLimit":"50/minute"},{"endpoint":"/fetch/resilient","method":"POST","name":"Resilient Fetch (Agent Prime)","description":"Multi-provider fetch with automatic fallback (WebLens → Firecrawl → Zyte). Guarantees best-effort retrieval.","price":"$0.025","tags":["web-scraping","resilient","fallback","premium"],"latency":"2-10 seconds","rateLimit":"50/minute"},{"endpoint":"/screenshot","method":"POST","name":"Screenshot Capture","description":"High-quality PNG screenshots with custom viewports and element targeting","price":"$0.02","tags":["screenshot","visual","image","archiving"],"latency":"2-5 seconds","rateLimit":"50/minute"},{"endpoint":"/search","method":"POST","name":"Web Search","description":"Real-time web search with ranked results via SerpAPI","price":"$0.005","tags":["search","google","real-time","information-retrieval"],"latency":"1-2 seconds","rateLimit":"100/minute"},{"endpoint":"/extract","method":"POST","name":"Structured Data Extraction","description":"Extract data using JSON schema with AI-powered understanding","price":"$0.03","tags":["extraction","structured-data","json-schema","ai-powered"],"latency":"3-6 seconds","rateLimit":"50/minute"},{"endpoint":"/extract/smart","method":"POST","name":"Smart Extraction","description":"Natural language data extraction - just describe what you want","price":"$0.035","tags":["extraction","natural-language","ai-powered","flexible"],"latency":"4-8 seconds","rateLimit":"30/minute"},{"endpoint":"/research","method":"POST","name":"AI Research Assistant","description":"One-stop research: search + fetch + AI summary with key findings","price":"$0.08","tags":["research","ai-summary","analysis","comprehensive"],"latency":"10-30 seconds","rateLimit":"20/minute"},{"endpoint":"/batch/fetch","method":"POST","name":"Batch Fetch","description":"Fetch 2-20 URLs in parallel for efficient bulk operations","price":"$0.003/URL","tags":["batch","parallel","bulk","efficient"],"latency":"5-15 seconds","rateLimit":"20/minute"},{"endpoint":"/pdf","method":"POST","name":"PDF Extraction","description":"Extract text and metadata from PDF documents","price":"$0.01","tags":["pdf","document","text-extraction","metadata"],"latency":"2-10 seconds","rateLimit":"30/minute"},{"endpoint":"/compare","method":"POST","name":"URL Comparison","description":"AI-powered comparison of 2-3 webpages with similarity analysis","price":"$0.05","tags":["comparison","analysis","ai-powered","diff"],"latency":"10-20 seconds","rateLimit":"20/minute"},{"endpoint":"/monitor/create","method":"POST","name":"URL Monitor","description":"Create change detection monitors with webhook notifications","price":"$0.01","tags":["monitoring","change-detection","webhook","alerts"],"latency":"1-2 seconds","rateLimit":"50/minute"},{"endpoint":"/memory/set","method":"POST","name":"Memory Storage","description":"Persistent key-value storage for AI agent context","price":"$0.001","tags":["memory","storage","persistence","agent-context"],"latency":"<1 second","rateLimit":"100/minute"},{"endpoint":"/intel/company","method":"POST","name":"Company Intelligence","description":"Comprehensive company deep dive: tech stack, funding, team size, competitors, news. Chains search + batch fetch + AI extraction.","price":"$1.00","tags":["intelligence","company-research","ai-powered","premium"],"latency":"10-30 seconds","rateLimit":"20/minute"},{"endpoint":"/intel/market","method":"POST","name":"Market Research Report","description":"AI-powered market research: executive summary, key findings, trends, key players, data points, and recommended actions.","price":"$5.00","tags":["intelligence","market-research","ai-powered","premium"],"latency":"15-45 seconds","rateLimit":"10/minute"},{"endpoint":"/intel/competitive","method":"POST","name":"Competitive Analysis","description":"Full competitive analysis: feature matrix, pricing comparison, SWOT analysis, positioning summary.","price":"$8.00","tags":["intelligence","competitive-analysis","ai-powered","premium"],"latency":"15-45 seconds","rateLimit":"10/minute"},{"endpoint":"/intel/site-audit","method":"POST","name":"Site Audit","description":"Comprehensive SEO, performance, and security audit with actionable recommendations and scoring.","price":"$0.75","tags":["intelligence","seo","audit","ai-powered","premium"],"latency":"5-15 seconds","rateLimit":"30/minute"}],"pricing":{"currency":"USDC","network":"base","cacheDiscount":"70% off for cached responses","noFees":"x402 protocol has 0 fees","instantSettlement":"~1-2 seconds on Base","priceRange":"$0.0005 - $8.00 per request"},"integration":{"mcp":{"remote":"https://api.weblens.dev/mcp","local":"npx -y @weblens/mcp","description":"Model Context Protocol for AI agents (Claude, Kiro, etc.)"},"http":{"baseUrl":"https://api.weblens.dev","auth":"x402 v2 payment via Payment-Signature header"},"paymentMethods":[{"name":"x402 (USDC on Base)","path":"POST <any paid endpoint>","description":"Pay per request with on-chain USDC. No account needed."},{"name":"Credit account (prepaid USDC)","path":"POST /credits/buy","description":"Deposit USDC once, sign subsequent requests with X-CREDIT-WALLET. 20–40% bonus at $10/$50/$100."}]},"agentQuickStart":{"step0":"Try it instantly! GET /r/https://example.com — zero friction, no wallet, no POST body needed","step1":"Call any paid endpoint (e.g., POST /fetch/basic with {url: 'https://example.com'})","step2":"Receive 402 Payment Required — read the PAYMENT-REQUIRED response header (base64-encoded JSON) for amount, asset, payTo, accepts","step3":"Sign USDC payment using your wallet (Base network)","step4":"Retry with the Payment-Signature header containing the signed payload","step5":"Receive data; settlement receipt is in the PAYMENT-RESPONSE response header"},"freeTier":{"description":"Try WebLens free — no wallet or payment needed","endpoints":[{"endpoint":"/r/{url}","method":"GET","name":"Reader Mode","description":"Zero-friction: just GET /r/ + any URL → markdown. No auth, no POST body.","price":"FREE","rateLimit":"10/hour","tags":["free","reader","zero-friction","viral"]},{"endpoint":"/s/{query}","method":"GET","name":"Search Reader","description":"Zero-friction: just GET /s/ + query → search results. No auth, no POST body.","price":"FREE","rateLimit":"10/hour","tags":["free","search","zero-friction","viral"]},{"endpoint":"/free/fetch","method":"POST","name":"Free Fetch","description":"Fetch any webpage (content truncated to 2000 chars)","price":"FREE","rateLimit":"10/hour","tags":["free","web-scraping","trial"]},{"endpoint":"/free/search","method":"POST","name":"Free Search","description":"Web search (max 3 results)","price":"FREE","rateLimit":"10/hour","tags":["free","search","trial"]}],"limits":{"requestsPerHour":10,"fetchContentLength":2000,"searchMaxResults":3},"upgrade":"Use paid endpoints for full content, unlimited access, and premium features"},"_links":{"self":"https://api.weblens.dev/discovery","docs":"https://api.weblens.dev/docs","openapi":"https://api.weblens.dev/openapi.json","health":"https://api.weblens.dev/health","mcp":"https://api.weblens.dev/mcp"}}