{"uid":"cap_A-xyXDR7Dhr31KL5Gpifg","slug":"weblens-content-fetch-api-9632f572","name":"WebLens Content Fetch 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/contents?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"urls":{"type":"array","description":"1-20 URLs to fetch"},"timeout":{"type":"number","description":"Per-URL timeout in ms"},"maxChars":{"type":"number","description":"Per-page content character cap (default 20000)"}}},"responseSchema":{"type":"json","example":{"results":[{"url":"https://example.com/article","title":"Example Article","status":"success","content":"# Article...","truncated":false}],"summary":{"total":1,"failed":0,"successful":1},"fetchedAt":"2026-07-25T12:00:00.000Z","requestId":"req_contents123"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0015","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.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oVDLDKdakzKt9PuBhc7s0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and extracts web page content from one or more URLs, returning clean text and metadata via AI-powered scraping","exampleAgentPrompt":"Can you fetch the full text content from https://techcrunch.com/2024/01/15/openai-raises-funding/ and return it as clean readable text?","exampleUseCases":[{"title":"Research article summarization pipeline","prompt":"Grab the full content from this article URL — https://www.wired.com/story/ai-regulation-europe/ — so I can summarize the key points for my newsletter."},{"title":"Competitor pricing page monitor","prompt":"Fetch the content of https://competitor.com/pricing so I can see what their current plans and prices look like."},{"title":"AI training data collection","prompt":"Pull the text content from https://en.wikipedia.org/wiki/Large_language_model and give me the clean markdown so I can use it as a reference document."}],"resultDescription":"Returns a JSON object with a results array where each entry contains the URL, title, full extracted content as markdown, success status, and a truncated flag. Also includes a summary with total/successful/failed counts, a fetchedAt timestamp, and a unique requestId.","failureModes":["URL is unreachable or returns HTTP error — status field will reflect failure","Page requires JavaScript rendering and content is not available in static HTML","Website blocks scraping via robots.txt or anti-bot measures — returns failed status","URL is malformed or missing — request validation error","Rate limiting or server timeout on the target domain"],"whenToPreferThis":"Choose this endpoint when you need to fetch and read raw web page content from arbitrary URLs without setting up a browser environment. It is especially useful for AI agents that need to ingest, summarize, or analyze content from specific web pages, and offers a cache discount (70% cheaper) when the same URL has been recently fetched by another user.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:40:14.710Z","isFirstParty":false,"canonicalSlug":"weblens-content-fetch-api-9632f572"}