{"uid":"cap_ggpy6-8pdE2RG5tgxhwwk","slug":"level-two-headings-distinct-attribute-values-extractor-3eae4e7e","name":"Level-two Headings — Distinct Attribute Values Extractor","description":"Level-two headings — Distinct attribute values: Distinct attribute values 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 distinct attribute values result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-h2-attribute-values?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_bXkIuw4k6cBfeE-6JQyHJ","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 distinct values of a specified HTML attribute from all H2 heading elements on a given web page or HTML snippet.","exampleAgentPrompt":"Can you pull all the distinct values of the 'data-kind' attribute from H2 headings on https://example.com/docs — I want to see every unique value used, filtering for headings related to 'guide'?","exampleUseCases":[{"title":"SEO audit for heading IDs","prompt":"Go to https://myblog.com/articles and extract all the distinct 'id' attribute values from every H2 heading — I want to check for duplicates or inconsistent naming, focusing on headings that mention 'product'."},{"title":"Accessibility audit for aria-labels","prompt":"Parse this HTML I'm pasting and list all the distinct 'aria-label' values on H2 heading elements so I can see if they're all unique and meaningful. The headings are about 'setup'."},{"title":"CMS content tagging review","prompt":"Fetch https://shop.example.com/catalog and extract all distinct 'data-section' attribute values from H2 headings — I'm checking whether our content team is using consistent tags for headings related to 'category'."}],"resultDescription":"A bounded set of distinct values for the specified HTML attribute found across all H2 heading elements on the page, deduplicated and filtered according to the provided term and attribute value constraints.","failureModes":["URL is inaccessible or returns non-200 status — no data returned","Page requires JavaScript rendering — static parser cannot execute JS, headings may be missing","No H2 elements found on the page — empty result set","Attribute specified does not exist on any H2 element — empty distinct values list","HTML input exceeds 100,000 character limit — request rejected","Attribute name fails regex pattern validation — request rejected","Term or attribute value filter yields no matching headings — empty result"],"whenToPreferThis":"Choose this endpoint when you need to enumerate distinct values of a specific HTML attribute (e.g. id, class, data-*) exclusively from H2 heading elements on a static page. It is ideal for SEO audits, accessibility checks, CMS consistency reviews, or any workflow requiring structured extraction of heading metadata without JavaScript rendering. Prefer this over generic scrapers when you only care about H2-level attribute data and want a cheap, fast, bounded result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:52:30.392Z","isFirstParty":false,"canonicalSlug":"level-two-headings-distinct-attribute-values-extractor-3eae4e7e"}