{"uid":"cap_QkzgX-fWjv4B1tG6R78xW","slug":"url-to-text-extractor-ac950fc0","name":"URL to Text Extractor","description":"Pass a URL and get the page as clean text — furniture (nav, scripts, ads, footers) stripped, paragraphs preserved — plus its title, description and site name. The step every agent needs before it can reason about a page, and the one most agents can't do themselves: serverless runtimes and MCP clients have no browser and no HTML parser. Follows redirects safely, refuses non-text content, caps at 2 MB. Nothing crypto about it.","url":"https://402.com.tr/api/x402/url-extract","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Page URL"},"maxChars":{"type":"string","description":"Max characters (optional)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_0SqEcWpRPP5lv4bjJ10kf","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 from a URL and returns clean, furniture-stripped text along with its title, description, and site name","exampleAgentPrompt":"Can you fetch the content of https://example.com/article and give me the clean readable text from the page, stripping out all the navigation, ads, and scripts?","exampleUseCases":[{"title":"Summarize a news article","prompt":"Grab the text from this news article at https://reuters.com/technology/ai-regulation-2025 and summarize what it's saying — strip out all the junk like nav menus and footers."},{"title":"Research a competitor's product page","prompt":"Pull the clean text from https://competitor.com/pricing so I can understand their offer — I need just the readable content, none of the HTML or ads."},{"title":"Fact-check a blog post before sharing","prompt":"Fetch the content of https://techblog.io/claims-about-ai and give me the plain text so I can check whether the claims hold up."}],"resultDescription":"Returns the page's readable text with navigation, scripts, ads, and footers removed, along with the page title, meta description, and site name. Content is capped at 2 MB and non-text content types are refused. Redirects are followed automatically.","failureModes":["Non-text content type (e.g. PDF, image, binary) — endpoint refuses and returns an error","URL exceeds redirect chain or times out — network error returned","Page content exceeds 2 MB cap — truncated or rejected","Malformed or non-HTTP URL — validation error","Target server returns 4xx/5xx — propagated error response"],"whenToPreferThis":"Choose this endpoint when your agent is running in a serverless or MCP environment with no browser access or HTML parser, and you need clean, reasoning-ready text from a web page URL. It is especially well-suited for agents that need to summarize, analyze, or fact-check web content without dealing with raw HTML, JavaScript rendering, or content noise like ads and navigation bars.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:43:31.758Z","isFirstParty":false}