Weblens
api.weblens.dev
API Endpoints
/memory/listList all stored keys for the current wallet. Returns all active keys in your persistent storage namespace.
/compareCompare 2-3 webpages with AI-generated analysis. Identifies similarities, differences, and provides a comprehensive summary. Great for product comparisons, article analysis, etc.
/extract/smartAI-powered data extraction using natural language. No schema needed - just describe what you want to extract in plain English.
/batch/fetchFetch multiple URLs in parallel with a single request. Efficient for bulk operations. Supports 2-20 URLs per request at $0.003/URL.
/searchReal-time web search powered by Google. Returns ranked results with titles, URLs, and snippets. Perfect for AI agents needing current information.
/fetch/proFetch webpage with full JavaScript rendering using headless browser. Perfect for SPAs, React/Vue apps, and dynamic content that requires JS execution.
/pdfExtract text and metadata from PDF documents. Supports page-specific extraction and returns structured content.
/researchOne-stop research assistant: searches the web, fetches top results, and generates an AI-powered summary with key findings. Perfect for quick research tasks.
/extractExtract structured data from any webpage using JSON schema. AI-powered extraction that understands page context. Great for scraping product info, articles, contacts, etc.
/screenshotCapture high-quality screenshots of any webpage using headless browser. Supports custom viewport sizes, full-page capture, and element-specific screenshots.
/fetch/basicFetch and convert any webpage to clean markdown. Fast, no JavaScript rendering. Perfect for static content, articles, and documentation.
/memory/setStore a value in persistent key-value storage. Perfect for AI agents to remember context across sessions. Supports JSON values up to 100KB with configurable TTL.