{"uid":"cap_OZn8DluBWyzWfK7lObAjQ","slug":"textarea-defaults-html-fragment-extraction-6df09d6d","name":"Textarea Defaults — HTML Fragment Extraction","description":"Textarea defaults — HTML fragment extraction: HTML fragment extraction for Textarea defaults. One public HTTPS page or supplied HTML; static parsing, no JavaScript rendering, login or access bypass. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded html fragment extraction result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-textareas-html?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","default":"","maxLength":2048},"html":{"type":"string","default":"<!doctype html><html><head></head><body><textarea id=\"sample\" data-kind=\"example\">Example product guide</textarea></body></html>","maxLength":100000},"term":{"type":"string","default":"product","maxLength":100,"minLength":1},"attribute":{"type":"string","default":"id","pattern":"^[a-zA-Z][a-zA-Z0-9:_-]{0,49}$","maxLength":50},"previous_texts":{"type":"array","items":{"type":"string","default":"","maxLength":1000},"default":["Older example"],"maxItems":200,"minItems":0},"attribute_value":{"type":"string","default":"sample","maxLength":200}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_e-Tq9TEIr6h37XxH8xjFW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts textarea HTML fragments from a webpage or supplied HTML, filtering by a search term and attribute/value pair, and returns matched textarea elements with their default values.","exampleAgentPrompt":"Pull out the textarea element with id 'product-description' from https://example.com/product-page and give me its default text content — static page, no JavaScript needed.","exampleUseCases":[{"title":"Audit pre-filled form defaults on a product page","prompt":"Go to https://shop.example.com/edit-product and extract the textarea with id 'description' — I want to see what default text is already filled in there."},{"title":"Extract onboarding guide textarea from supplied HTML","prompt":"Here's some HTML I have locally: <textarea id='guide' data-kind='onboarding'>Welcome to the platform...</textarea> — can you extract the textarea with attribute id equal to 'guide' and return the fragment plus its default text?"},{"title":"Compare current textarea defaults against previous values","prompt":"Fetch https://cms.example.com/template-editor and extract the textarea with attribute data-kind equal to 'intro', then compare it against my previous known value 'Old intro text here' to see if it changed."}],"resultDescription":"Returns a bounded HTML fragment containing the matched textarea element(s), including the element's default text content, attributes, and surrounding HTML context. The response includes one extraction result scoped to the specified attribute/value filter and search term.","failureModes":["URL is inaccessible, behind a login, or requires JavaScript rendering — returns no result since only static parsing is performed","No textarea matching the specified attribute and attribute_value is found in the HTML — returns an empty or null fragment","HTML payload exceeds the 100,000 character limit — request is rejected","Attribute name does not match the allowed pattern (must start with a letter, max 50 chars) — validation error","URL exceeds 2048 characters — validation error","Page returns a non-200 HTTP status — extraction fails with an access error"],"whenToPreferThis":"Use this endpoint when you need to extract the default text content or HTML fragment of textarea elements from a static webpage or known HTML, particularly when you want to filter by a specific HTML attribute (such as id or data-* attributes). It is ideal for auditing pre-filled form fields, diffing textarea defaults over time using previous_texts, or parsing supplied HTML without needing JavaScript rendering or authentication. Prefer this over a general-purpose scraper when your target is specifically textarea elements and you want structured, bounded results with minimal cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:41:10.662Z","isFirstParty":false,"canonicalSlug":"textarea-defaults-html-fragment-extraction-6df09d6d"}