{"uid":"cap_Z9hutYnxxVvWnfc9JFdL6","slug":"level-two-headings-html-fragment-extractor-e1923afd","name":"Level-Two Headings HTML Fragment Extractor","description":"Level-two headings — HTML fragment extraction: HTML fragment extraction for Level-two headings. 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-h2-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><h2 id=\"sample\" data-kind=\"example\">Example product guide</h2></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_pGI2TXhUEGFbukbqn_YXP","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 H2 heading elements and their HTML fragments from a given public webpage URL or supplied HTML string, filtered by search term and optional attribute matching.","exampleAgentPrompt":"Pull all H2 headings from https://example.com/product-guide that contain the word 'installation', and show me the ones where the id attribute equals 'install-steps'.","exampleUseCases":[{"title":"Extract documentation section headings","prompt":"Go to https://docs.myproject.io/api-reference and extract all H2 headings that contain the word 'authentication', especially any with a data-kind attribute set to 'guide'."},{"title":"Audit H2 headings in pasted HTML","prompt":"I have this HTML snippet — can you extract all the H2 headings from it that mention 'pricing', and tell me their id attributes? Here's the HTML: <html><body><h2 id='pricing-intro'>Pricing Overview</h2><h2 id='faq'>FAQ</h2></body></html>"},{"title":"Find repeated headings across page versions","prompt":"Check https://store.example.com/catalog for H2 headings containing the word 'sale', and compare against these headings I saw last week: ['Summer Sale', 'Flash Sale Events'] — tell me which ones are new."}],"resultDescription":"Returns the matched H2 heading HTML fragments from the parsed page or supplied HTML, including the element's text content and attributes, filtered by the specified search term and optionally by a specific attribute name and value. Results are bounded to one extraction result per call.","failureModes":["URL is inaccessible or returns a non-200 status — no content parsed","Page requires JavaScript rendering — static parser returns empty or incomplete results","No H2 headings match the provided term or attribute filters — empty result","HTML input exceeds 100,000 character limit — request rejected","Attribute pattern does not match allowed format — validation error","URL exceeds 2048 character limit — request rejected"],"whenToPreferThis":"Choose this endpoint when you need to extract H2-level headings specifically from a static public webpage or a supplied HTML string, with optional keyword and attribute filtering. It is ideal for document structure analysis, content audits, or feeding heading data into downstream pipelines. Prefer it over generic scrapers when you need heading-scoped extraction with attribute-level precision and per-call cost control at $0.01 USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T18:45:31.077Z","isFirstParty":false,"canonicalSlug":"level-two-headings-html-fragment-extractor-e1923afd"}