{"uid":"cap_oE7ejpl0sCg7UQoWtCPo6","slug":"baselens-web-page-to-markdown-fetcher-6c5a007c","name":"BaseLens Web Page to Markdown Fetcher","description":"Honeypot check and rug pull check for Base tokens (is this token safe?), new token launches feed for snipers, cheapest cloud GPU prices, web page to markdown scraper. Also tx explainer, wallet balances, x402 checker. No API key: pay USDC on Base per call via x402.","url":"https://baselens.imac2014ville.workers.dev/fetch?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"http(s) URL to fetch"},"maxChars":{"type":"number","description":"Truncate markdown to this many characters (default 50000)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"title":"Example Domain","markdown":"# Example Domain\n\nThis domain is for use in illustrative examples...","truncated":false,"wordCount":30}},"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_9H7I28iSqsBR-wLJkwH5D","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 by URL and converts its content to clean markdown text, with optional character truncation.","exampleAgentPrompt":"Can you fetch the webpage at https://example.com/article and give me its content as clean markdown? Truncate it to 10000 characters if it's really long.","exampleUseCases":[{"title":"Research article summarization","prompt":"Grab the content of https://www.wired.com/story/ai-agents-future-2025 and convert it to markdown so I can read through it — cap it at 20000 characters."},{"title":"Competitor landing page analysis","prompt":"Fetch https://www.competitor.com and turn the page into markdown so I can see what they're saying about their product, keep it under 15000 characters."},{"title":"Documentation page extraction","prompt":"Pull the content from https://docs.someproject.io/getting-started and give it to me as markdown text so I can reference it while coding."}],"resultDescription":"A JSON object with 'ok' (boolean success flag), 'title' (the page title), 'markdown' (the full or truncated page content as markdown), 'truncated' (boolean indicating if content was cut), and 'wordCount' (integer word count of the extracted text).","failureModes":["Invalid or unreachable URL returns an error response with ok:false","Payment not received or insufficient USDC results in 402 Payment Required","Very large pages may be truncated even without a maxChars param (default 50000 char limit)","Pages with bot protection (Cloudflare, CAPTCHAs) may return empty or partial content","Paywalled pages will only return publicly visible content"],"whenToPreferThis":"Choose this endpoint when you need to fetch and read a web page's content as clean markdown without setting up API keys or subscriptions — ideal for AI agents that need to read arbitrary URLs on a pay-per-call basis via x402/USDC on Base. Prefer it over traditional scraping APIs when operating in a Web3-native or x402-payment context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:40:57.336Z","isFirstParty":false,"canonicalSlug":"baselens-web-page-to-markdown-fetcher-6c5a007c"}