{"uid":"cap_NydK38Qmy63eth83AuV7_","slug":"weblens-basic-fetch-8c2889c1","name":"WebLens Basic Fetch","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/fetch/basic?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"URL of the webpage to fetch"},"cache":{"type":"boolean","description":"Enable caching (default: true)"},"timeout":{"type":"number","description":"Request timeout in milliseconds (default: 10000)"},"cacheTtl":{"type":"number","maximum":86400,"minimum":60,"description":"Cache TTL in seconds, 60-86400 (default: 3600)"}}},"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.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_H6OLpvzeCjwity70JhwTz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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-10-01T12:44:40.967Z","isFirstParty":false,"canonicalSlug":"weblens-basic-fetch-8c2889c1"}