{"uid":"cap_ociaVWo2RY8T54GmgEG-d","slug":"weblens-smart-extraction-api-60596f9b","name":"WebLens Smart Extraction API","description":"# WebLens - Web Intelligence API, pay per call\n\nScrape, crawl, map and extract the web. No account, no API key, no monthly\nminimum — you pay for the calls you make and nothing else.\n\n## Pricing\nPage fetching starts at **$0.002**, whole-site crawling at\n**$0.0015/page**, and sitemap discovery at **$0.004**.\nComparable services bill $0.007-0.008 per request, or reach a lower per-page\nrate only on a $99/month commitment. WebLens has no commitment to reach.\n\n## Payment Protocol\nAll paid endpoints use the [x402 protocol](https://x402.org) for HTTP-native\nmicropayments (USDC on Base).\n\n## Cache Discount\nCached responses are **70% cheaper** than fresh fetches.","url":"https://api.weblens.dev/extract/smart?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"URL of the webpage to extract from"},"query":{"type":"string","description":"Natural language description of what to extract"},"format":{"type":"string","description":"Output format: json or text (default: json)"}}},"responseSchema":{"type":"json","example":{"url":"https://example.com/contact","data":[{"value":"contact@example.com","context":"Contact page footer","confidence":0.95}],"query":"find all email addresses","requestId":"req_smart789","explanation":"Found 1 email address","extractedAt":"2026-01-26T12:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.035","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.035/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zQDoYd18U_yr6NqwmC0KW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"AI-powered smart data extraction from a web page URL using a natural language query, returning matched values with confidence scores and context","exampleAgentPrompt":"Go to https://example.com/contact and find all email addresses on the page — I need their values, how confident you are in each one, and the surrounding context where they appear.","exampleUseCases":[{"title":"Extract emails from contact page","prompt":"Go to https://acmecorp.com/contact and pull out every email address you find — include each one's confidence score and where on the page it appeared."},{"title":"Scrape product pricing from listing","prompt":"Visit https://shop.example.com/products/widget-pro and extract the current price and any discount information you can find on the page."},{"title":"Find team member names from About page","prompt":"Look at https://startup.io/about and find all the names and job titles of people listed on the page — I want to know who's on their leadership team."}],"resultDescription":"A JSON object containing the queried URL, an array of extracted data items each with a value, surrounding context, and confidence score (0–1), plus a natural-language explanation of what was found, a unique request ID, and an ISO timestamp of when extraction occurred.","failureModes":["URL is inaccessible, behind a login wall, or returns a non-200 status — extraction returns empty results or an error","Page is JavaScript-rendered and content not available at fetch time — may return incomplete data","Query is too ambiguous — low confidence scores or no matches returned","Rate limiting or payment failure via x402 — request rejected before processing","Page content changes between cached and live fetch — stale cache may return outdated values"],"whenToPreferThis":"Use this endpoint when you need to extract specific, targeted information from a known URL using a natural language query rather than writing custom parsing logic. It is ideal when the target data type is semi-structured (emails, names, prices, links) and you want AI-interpreted results with confidence scoring. Prefer this over generic scrapers when you want query-guided extraction with contextual explanation rather than raw HTML dumps.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:39:57.613Z","isFirstParty":false,"canonicalSlug":"weblens-smart-extraction-api-60596f9b"}