{"uid":"cap_qBeMFVofNKb2ZERRB8d4j","slug":"definition-descriptions-html-fragment-extraction-b2aecfdb","name":"Definition Descriptions HTML Fragment Extraction","description":"Definition descriptions — HTML fragment extraction: HTML fragment extraction for Definition descriptions. 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-definition-text-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><dd id=\"sample\" data-kind=\"example\">Example product guide</dd></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_G3sWan7iqdTR95_qOgQyP","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 the text content of HTML definition description elements (<dd>) from a webpage or supplied HTML, matched by a search term and optional attribute filter.","exampleAgentPrompt":"Can you extract the definition description text for the term 'product' from this HTML — look for the dd element with id 'sample': <!doctype html><html><head></head><body><dd id=\"sample\" data-kind=\"example\">Example product guide</dd></body></html>","exampleUseCases":[{"title":"Glossary term extraction from docs page","prompt":"I have this URL for a documentation glossary page — can you extract the definition description for the term 'authentication' by finding the dd element with the id 'authentication-def'? The URL is https://docs.example.com/glossary."},{"title":"Definition scraping from supplied HTML snippet","prompt":"Here's some HTML I copied from a product page — please pull out the description text for the term 'warranty' from the dd element with attribute 'data-section' equal to 'warranty-info': <dd data-section=\"warranty-info\">12-month limited warranty coverage.</dd>"},{"title":"De-duplicate repeated definition extractions","prompt":"I'm running a loop over multiple pages and need to extract the 'overview' definition description from dd elements with id 'overview' on each page — here's the next URL: https://wiki.example.com/topics/payments. Skip it if the text matches any of these previously seen entries: ['General overview text', 'Intro to payments']."}],"resultDescription":"Returns the extracted text content of the matched HTML definition description (<dd>) element from the provided URL or HTML input, bounded to a single result per call.","failureModes":["No matching dd element found for the given term and attribute combination — returns empty or null result","URL is inaccessible, requires JavaScript rendering, or is behind a login — static parser cannot retrieve content","Attribute pattern does not match the schema regex, causing a validation error","HTML input exceeds 100,000 character limit — request rejected","Term is empty or missing — required field causes a schema validation error","Page returns non-HTML content (e.g. JSON or PDF) — parser finds no fragments"],"whenToPreferThis":"Choose this endpoint when you need to extract text from a specific HTML definition description (<dd>) element on a static, publicly accessible webpage or from a supplied HTML string, especially when you know the attribute (e.g. id) and value to target. It is purpose-built for definition list extraction with deduplication support via previous_texts, and operates without JavaScript rendering or authentication. Prefer alternatives if the page requires JS rendering, login, or if you need to extract non-definition-list HTML elements.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:57:20.949Z","isFirstParty":false,"canonicalSlug":"definition-descriptions-html-fragment-extraction-b2aecfdb"}