{"uid":"cap_NydK38Qmy63eth83AuV7_","slug":"weblens-basic-fetch-8c2889c1","name":"WebLens Basic Fetch","description":"Fetch and convert any webpage to clean markdown. Fast, no JavaScript rendering. Perfect for static content, articles, and documentation.","url":"https://api.weblens.dev/fetch/basic?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","example":"https://example.com","description":"The URL to process"},"cache":{"type":"boolean","default":true,"example":true,"description":"Serve a cached copy when one exists (cached responses are 70% off)"},"timeout":{"type":"number","default":10000,"example":10000,"maximum":30000,"minimum":5000,"description":"Request timeout in milliseconds"},"waitFor":{"type":"string","description":"CSS selector to wait for (Pro tier only)"},"cacheTtl":{"type":"number","default":3600,"example":3600,"maximum":86400,"minimum":60,"description":"How long to cache this response, in seconds"}}},"responseSchema":{"type":"json","example":{"url":"https://example.com/article","tier":"basic","title":"Example Article Title","content":"# Article Heading\\n\\nClean markdown content...","fetchedAt":"2026-01-26T12:00:00.000Z","requestId":"req_abc123"}},"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_H6OLpvzeCjwity70JhwTz","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 a web page and returns its content as clean, readable markdown with title and metadata","exampleAgentPrompt":"Can you fetch the content of https://techcrunch.com/2026/01/26/openai-news/ and give me the article text in a readable format?","exampleUseCases":[{"title":"Research article content extraction","prompt":"Grab the full text of this Wikipedia article for me — https://en.wikipedia.org/wiki/Large_language_model — I want the clean readable content, not the raw HTML."},{"title":"Competitor pricing page monitoring","prompt":"Fetch the content of https://stripe.com/pricing so I can see what their current pricing looks like — give me the readable text."},{"title":"News article summarization prep","prompt":"Pull the article at https://www.bbc.com/news/technology-12345678 and return the text so I can summarize it for my newsletter."}],"resultDescription":"A JSON object containing the page title, full page content converted to clean markdown, the URL that was fetched, the tier used ('basic'), a fetch timestamp in ISO 8601 format, and a unique request ID for tracking.","failureModes":["URL is unreachable or returns a non-200 status — endpoint may return an error with the HTTP status code","Paywalled or login-required pages may return incomplete or empty content","Dynamic JavaScript-heavy pages may not render fully in basic tier","Invalid or malformed URL input causes a validation error","Payment failure via x402 protocol results in 402 response before fetch occurs"],"whenToPreferThis":"Choose this endpoint when you need quick, affordable web page content extraction at $0.005 per call, especially when the page is a standard HTML article or content page. It is ideal for AI agents that need to read live web content as clean markdown for summarization, research, or analysis tasks. The basic tier is best for simple pages; use a higher tier if you need JavaScript rendering or structured data extraction. Take advantage of caching for repeated fetches of the same URL to reduce cost by 70%.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T00:33:40.534Z","isFirstParty":false,"canonicalSlug":"weblens-basic-fetch-8c2889c1"}