{"uid":"cap_hdl7jfNNEJ4f0H3LyOozn","slug":"table-captions-distinct-attribute-values-4fcc6d31","name":"Table Captions — Distinct Attribute Values","description":"Table captions — Distinct attribute values: Distinct attribute values for Table captions. 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-captions-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><table><caption id=\"sample\">Example product guide</caption><tr><td>value</td></tr></table></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_ZP5Ifeh8hBF_oEAFHY0dn","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 all distinct values of a specified HTML attribute from <caption> elements on a web page or supplied HTML snippet.","exampleAgentPrompt":"Look at https://example.com/products and pull out all the distinct values of the 'id' attribute from any table caption elements that mention 'product', skipping any you've already seen like 'Older example'.","exampleUseCases":[{"title":"Audit caption IDs on data tables","prompt":"Can you fetch https://docs.example.com/data-tables and list all the distinct 'id' attribute values on the table caption elements that contain the term 'report'?"},{"title":"Extract data category labels from captions","prompt":"Here's some HTML — can you find all the unique 'data-category' attribute values from the table captions that mention 'inventory'? Here's the HTML: <!doctype html><html><body><table><caption data-category='electronics'>Electronics inventory</caption></table></body></html>"},{"title":"Deduplicate caption class names across crawl","prompt":"I've already seen class names like 'summary-table' and 'overview'. Can you check https://reports.example.com/annual and get any new distinct 'class' attribute values from table captions mentioning 'annual' that I haven't collected yet?"}],"resultDescription":"Returns a bounded set of distinct values for the specified HTML attribute found across all matching <caption> elements on the target page or HTML, filtered to those related to the provided term, and excluding any values already seen in previous_texts.","failureModes":["URL is unreachable or returns non-2xx status — no results returned","HTML content exceeds 100,000 character limit — request rejected","No table caption elements found matching the term — empty result set","Attribute pattern validation failure (must start with a letter, alphanumeric/colon/underscore/hyphen) — request rejected","JavaScript-rendered content not accessible — only static HTML parsed","Malformed or missing URL and no HTML provided — error response"],"whenToPreferThis":"Use this endpoint when you need to enumerate distinct HTML attribute values specifically from <caption> elements in tables, either from a live URL or supplied HTML, without needing JavaScript rendering. Prefer this over generic scraping tools when your use case is narrowly scoped to table caption attributes, you want deduplication against a known list, and you only need static HTML parsing at low cost per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:12.062Z","isFirstParty":false,"canonicalSlug":"table-captions-distinct-attribute-values-4fcc6d31"}