{"uid":"cap_6hDpFvn7qMnXDYlSZpJLZ","slug":"agenttools-url-reader-9e1041be","name":"AgentTools URL Reader","description":"Fetch a web page server-side and convert it to clean markdown — headings, links, lists, tables and text, with scripts, styles and boilerplate stripped. The 'reader' pattern agents use to actually understand web pages. SSRF-guarded with redirects re-validated, 10s timeout, 1MB cap. Use this when an agent needs to fetch any page and get clean markdown an LLM can read.","url":"https://agenttools-hub.vercel.app/api/v1/dev/url-reader?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":"URL"},"maxChars":{"type":"number","description":"Max markdown length"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZTpitCL7Ir6uXXuEMX4Qj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 server-side and converts it to clean, LLM-readable markdown, stripping scripts, styles, and boilerplate","exampleAgentPrompt":"Can you fetch the content of https://en.wikipedia.org/wiki/Large_language_model and give me the clean readable text, keeping it under 5000 characters?","exampleUseCases":[{"title":"Reading a news article for summarization","prompt":"Fetch the article at https://www.bbc.com/news/technology-68123456 and give me the clean text so I can summarize what it says."},{"title":"Checking a competitor's pricing page","prompt":"Pull the content from https://openai.com/pricing and convert it to readable markdown so I can see what plans and prices they're currently listing."},{"title":"Ingesting documentation for a coding task","prompt":"Grab the content at https://docs.stripe.com/api/charges and give me the clean markdown — I need to understand the Charges API parameters."}],"resultDescription":"Clean markdown representation of the fetched web page, with headings, links, lists, and tables preserved, and scripts, styles, navigation, and boilerplate stripped. Optionally truncated to a specified character limit. The result is directly readable by an LLM without further HTML parsing.","failureModes":["URL is unreachable or returns a non-200 status — endpoint returns an error","Page exceeds 1MB cap — content is truncated or rejected","Request times out after 10 seconds for slow-loading pages","SSRF guard blocks internal/private IP addresses or localhost URLs","Redirect chain is blocked by re-validation guard","Heavily JavaScript-rendered pages may return sparse content since server-side fetching doesn't execute JS","maxChars set too low, resulting in truncated or incomplete output"],"whenToPreferThis":"Use this endpoint when an agent needs to fetch any publicly accessible web page and get clean, LLM-readable markdown without writing custom scraping logic. It is ideal for reading articles, documentation pages, pricing pages, or any text-heavy URL. Prefer it over raw HTTP fetches when you need boilerplate stripped and markdown structure preserved. It is not suitable for JavaScript-heavy SPAs where content is rendered client-side, or for pages behind authentication.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:42:56.810Z","isFirstParty":false,"canonicalSlug":"agenttools-url-reader-9e1041be"}