{"uid":"cap_yL00Az_251zZ8hzMihMAB","slug":"code-snippets-duplicate-attribute-values-finder-25c170d3","name":"Code Snippets — Duplicate Attribute Values Finder","description":"Code snippets — Duplicate attribute values: Duplicate attribute values for Code snippets. 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 duplicate attribute values result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-code-attribute-duplicates?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><code id=\"sample\" data-kind=\"example\">Example product guide</code></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_s_5Ci-hnHYUwtbp_KPiax","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":"Parses an HTML page or supplied HTML string to find duplicate values for a specified attribute within code snippet elements.","exampleAgentPrompt":"Check this HTML page at https://docs.example.com/api-reference for any duplicate 'id' attribute values among code snippet elements where the value is 'sample' — I want to know if that attribute is reused in multiple places.","exampleUseCases":[{"title":"Audit documentation site for duplicate IDs","prompt":"Scan https://docs.myproject.com/reference for duplicate 'id' attribute values across all code snippet elements — flag anything where the same id like 'example' appears more than once."},{"title":"Validate supplied HTML for repeated data attributes","prompt":"I have some HTML I'm about to publish — can you check it for duplicate 'data-kind' attribute values across the code blocks? The attribute value I'm worried about is 'tutorial'."},{"title":"QA check for repeated class values in code examples","prompt":"Run a duplicate check on https://myblog.dev/code-samples and look for any code elements that share the same 'class' attribute value of 'highlight' — I want to catch any accidental repetitions before we go live."}],"resultDescription":"Returns a bounded result indicating which code snippet elements contain duplicate values for the specified attribute, including the matching attribute value and any occurrences found across the parsed HTML — based on static parsing with no JavaScript rendering.","failureModes":["URL unreachable or returns non-200 status — parsing cannot proceed","HTML payload exceeds 100,000 character limit — request rejected","Attribute name does not match required pattern (must start with letter, alphanumeric/colon/underscore/hyphen) — validation error","No code snippet elements found in the provided HTML — empty result","URL requires JavaScript rendering or login — content not accessible via static parse","Term or attribute_value not found in any code elements — empty duplicate set returned"],"whenToPreferThis":"Choose this endpoint when you need to statically audit HTML — either from a live public URL or a supplied HTML string — for duplicate attribute values specifically within code snippet elements. It is well-suited for documentation QA, pre-publish HTML validation, and accessibility or uniqueness audits on code blocks. Prefer it over generic HTML scrapers when you need a focused, preset-driven analysis of attribute duplication patterns without JavaScript execution overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:52:35.911Z","isFirstParty":false,"canonicalSlug":"code-snippets-duplicate-attribute-values-finder-25c170d3"}