{"uid":"cap_A-xyXDR7Dhr31KL5Gpifg","slug":"weblens-content-fetch-api-9632f572","name":"WebLens Content Fetch API","description":"Cheap bulk page text: fetch 1-20 URLs and get clean markdown, truncated to a per-page cap. $0.0015 per URL.","url":"https://api.weblens.dev/contents?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string","format":"uri","description":"The URL to process"},"example":["https://example.com"],"maxItems":20,"minItems":1,"description":"Pages to fetch"},"timeout":{"type":"number","default":10000,"maximum":30000,"minimum":5000,"description":"Request timeout in milliseconds"},"maxChars":{"type":"number","default":20000,"example":20000,"maximum":50000,"minimum":500,"description":"Per-page content character cap"}}},"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.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oVDLDKdakzKt9PuBhc7s0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","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-11-16T12:35:21.434Z","isFirstParty":false,"canonicalSlug":"weblens-content-fetch-api-9632f572"}