{"uid":"cap_Aqz0gMfMyYVEKpxiV3jjM","slug":"web-scraper-api-text-extraction-56d356f2","name":"Web Scraper API – Text Extraction","description":"HTML scraping (text, links, metadata, structured) with x402 payments and MCP server.","url":"https://scrape.payapi.market/scrape/text?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Absolute http(s) URL of the page to scrape, e.g. 'https://example.com'."}}},"responseSchema":{"type":"json","example":{"url":"https://example.com","text":"Example Domain\n\nThis domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.","title":"Example Domain","final_url":"https://example.com/","char_count":172,"word_count":28,"description":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_Cep6-NShck6mh5o-wXEV6","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 by URL and returns its visible text content, title, description, and metadata as structured JSON","exampleAgentPrompt":"Can you pull the visible text content from https://en.wikipedia.org/wiki/Artificial_intelligence and give me the title and main text?","exampleUseCases":[{"title":"Research article content extraction","prompt":"Grab the full readable text from this news article at https://www.bbc.com/news/technology-68123456 so I can summarize what it says."},{"title":"Competitor pricing page monitoring","prompt":"Fetch the text content from https://www.competitor.com/pricing so I can see what their current plan names and prices are."},{"title":"Fact-checking a specific webpage","prompt":"Can you scrape the text from https://www.who.int/news/item/some-health-article and tell me the title, description, and main content so I can verify what it actually says?"}],"resultDescription":"Returns a JSON object containing the page URL, extracted plain text body, page title, meta description (if present), the final URL after any redirects, and character and word counts of the extracted text.","failureModes":["URL is unreachable or returns a non-200 HTTP status — endpoint may return an error or empty text","JavaScript-rendered pages (SPAs) may return little or no visible text since the scraper fetches raw HTML","Paywalled or login-protected pages will return only what is visible to an unauthenticated request","Malformed or non-HTTP URLs will be rejected at input validation","Very large pages may be slow to process or may be truncated"],"whenToPreferThis":"Choose this endpoint when you need the clean readable text, title, and metadata from a single web page URL quickly and cheaply ($0.002 per call). It is ideal for agents that need to read and process web content without running a full headless browser or crawling multiple pages. Prefer it over general browser-automation tools when you just need plain text output and do not need JavaScript rendering or interaction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T08:05:22.890Z","isFirstParty":false,"canonicalSlug":"web-scraper-api-text-extraction-56d356f2"}