{"uid":"cap_9xkNXmDXzXAsK59fcXwFe","slug":"weblens-batch-fetch-api-bed2e7a1","name":"WebLens Batch 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/batch/fetch?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tier":{"type":"string","description":"Fetch tier: basic or pro (default: basic)"},"urls":{"type":"array","description":"Array of URLs to fetch (2-20)"},"timeout":{"type":"number","description":"Per-URL timeout in ms (default: 10000)"}}},"responseSchema":{"type":"json","example":{"results":[{"url":"https://example.com/1","title":"Page 1","status":"success","content":"Content 1..."},{"url":"https://example.com/2","title":"Page 2","status":"success","content":"Content 2..."}],"summary":{"total":2,"failed":0,"successful":2},"requestId":"req_batch123","totalPrice":"$0.006"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_W3Q4GyWz5foYs9ITx-nDy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and extracts content from multiple URLs in a single batch request using AI-powered web scraping","exampleAgentPrompt":"Can you fetch and extract the content from these three URLs all at once: https://example.com/article1, https://example.com/article2, and https://example.com/article3? I need the full page text from each.","exampleUseCases":[{"title":"Competitive research across multiple sites","prompt":"Pull the content from these five competitor product pages all in one go: [url1, url2, url3, url4, url5] — I want to compare what they're saying about their pricing and features."},{"title":"News aggregation from multiple sources","prompt":"Fetch the latest articles from these news URLs simultaneously so I can summarize today's top stories across all of them at once."},{"title":"Batch data extraction for lead enrichment","prompt":"Grab the content from each of these 10 company websites in one batch request so I can extract their contact info and business descriptions."}],"resultDescription":"Returns a JSON object with a results array where each entry contains the URL, page title, content text, and status (success or failure). Also includes a summary with total/successful/failed counts, a requestId for tracking, and the totalPrice charged for the batch.","failureModes":["Individual URLs in the batch may fail (status: failed) while others succeed — partial success is possible","Payment failure via x402 protocol if insufficient USDC balance","Rate limiting or timeout on very large batches","URLs behind authentication walls or bot-detection may return incomplete or blocked content","Invalid or malformed URLs in the batch will result in failed status for those entries"],"whenToPreferThis":"Choose this endpoint when you need to scrape or extract content from multiple URLs in a single API call rather than making individual fetch requests. It is more efficient than calling a single-URL endpoint repeatedly, and the $0.006 flat rate per batch call (with 70% discount for cached responses) makes it cost-effective for bulk research, competitive analysis, or content aggregation workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:30:26.186Z","isFirstParty":false,"canonicalSlug":"weblens-batch-fetch-api-bed2e7a1"}