{"uid":"cap_WmYTmPajHbwsgKrXBsvJW","slug":"operation-402-html-text-extractor-cea1992d","name":"Operation 402 HTML Text Extractor","description":"Five paid data-processing APIs for AI agents. Payments use x402 v2 with USDC on Base mainnet.","url":"https://operation-402-live.aeroworks.workers.dev/api/extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"html":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":{},"service":"HTML Text Extractor"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_k7vSYnjU8oRJaV4vjeTsb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts plain text content from raw HTML input, stripping tags and returning structured text data","exampleAgentPrompt":"I scraped a webpage and got back a big blob of HTML — can you extract just the readable text from it, stripping out all the tags and markup?","exampleUseCases":[{"title":"Clean scraped article content","prompt":"I fetched this article's HTML from a news site and it's full of tags and scripts — can you pull out just the readable article text so I can summarize it?"},{"title":"Preprocess HTML for LLM input","prompt":"I have raw HTML from a product page I scraped. Strip out all the markup and give me just the plain text so I can send it to a language model for analysis."},{"title":"Extract job listing details from HTML","prompt":"Here's the raw HTML from a job listing page I crawled — can you extract the plain text content so I can parse out the job title, requirements, and salary?"}],"resultDescription":"A JSON object with a 'result' field containing the extracted plain text from the provided HTML, and a 'service' field confirming 'HTML Text Extractor'. The result object holds the cleaned, tag-free text content derived from the input HTML.","failureModes":["Missing or empty 'html' field returns an error or empty result","Malformed/non-HTML input may produce garbled or empty text output","Very large HTML payloads may time out or exceed processing limits","Payment failure via x402 (insufficient USDC balance or wrong network) blocks the request","Invalid JSON request body returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you have raw HTML strings — from web scraping, fetching page source, or scraper outputs — and need clean plain text for downstream NLP, summarization, or search indexing. It is ideal for agentic pipelines that crawl the web and need to strip markup before passing content to an LLM. Prefer this over custom regex or DOM parsing when you want a hosted, pay-per-use solution with no infrastructure overhead, especially when working within an x402-enabled payment flow on Base mainnet.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T08:22:31.723Z","isFirstParty":false,"canonicalSlug":"operation-402-html-text-extractor-cea1992d"}