{"uid":"cap_A35bZ1FksI3CDQBeSpLY6","slug":"web-page-to-plain-text-fetcher-c9c808b4","name":"Web Page to Plain Text Fetcher","description":"Fetch a public page and return plain text (HTML stripped) for research, RAG, and summarization agents","url":"https://vending-machine-seven.vercel.app/api/v/fetch-text","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":"Public https:// page URL"},"max_chars":{"type":"string","description":"Max text chars default 12000"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"text":{"type":"string"},"chars":{"type":"number"},"title":{"type":"string"},"service":{"type":"string"},"truncated":{"type":"boolean"}}}}}}},"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_x4Ts1IIljmiQsEykXBycU","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 public web page and returns its content as plain text with HTML stripped, suitable for research, RAG pipelines, and summarization","exampleAgentPrompt":"Can you fetch the text content from https://en.wikipedia.org/wiki/Artificial_intelligence and give me the plain readable text — no HTML — up to 8000 characters so I can summarize it?","exampleUseCases":null,"resultDescription":"Returns a JSON object with: ok (boolean success flag), text (plain text with HTML stripped), chars (character count), title (page title), service (identifier), and truncated (boolean indicating if content was cut off at max_chars limit)","failureModes":["Non-public or private URLs return an error","Pages behind authentication or paywalls cannot be fetched","Very large pages may be truncated if max_chars is exceeded","Non-HTTPS URLs are rejected","Timeout errors for slow-loading pages","Dynamic JavaScript-rendered content may be incomplete since only static HTML is fetched"],"whenToPreferThis":"Use this endpoint when you need to retrieve human-readable text from a public web page for downstream tasks like summarization, RAG ingestion, or research — especially when you want clean plain text without needing to parse HTML yourself. Prefer it over full HTML scrapers when only the text body matters and over LLM browsing tools when cost and latency matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:13:41.848Z","isFirstParty":false}