{"uid":"cap_3j-GpbkX69acX23XEgeEV","slug":"code-snippets-duplicate-value-report-d73c57bb","name":"Code Snippets Duplicate Value Report","description":"Code snippets — Duplicate value report: Duplicate value report 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 value report result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-code-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_jY88LfdiIBAUV_ibQiL4z","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":"Scans a webpage or supplied HTML to detect duplicate values for a specified attribute within code snippet elements, returning a bounded duplicate value report.","exampleAgentPrompt":"Scan this HTML page for duplicate `id` attribute values across all code snippet elements — here's the HTML: `<!doctype html><html><body><code id=\"sample\">A</code><code id=\"sample\">B</code></body></html>` — and tell me which values appear more than once.","exampleUseCases":[{"title":"Audit webpage for duplicate snippet IDs","prompt":"Check this page at https://docs.example.com/api-guide for any duplicate `id` attribute values among code snippet elements — I want to make sure every code block has a unique ID."},{"title":"Validate HTML template before publishing","prompt":"I have this HTML template and I need to verify that no two code elements share the same `data-kind` attribute value — can you scan it and give me a duplicate value report? Here's the HTML: `<!doctype html><html><body><code data-kind=\"request\">GET /items</code><code data-kind=\"request\">POST /items</code></body></html>`"},{"title":"Cross-check new snippets against existing ones","prompt":"I'm adding new code snippets to my docs page and I want to check whether any of them reuse an `id` value that already exists — the existing IDs are 'intro', 'setup', 'usage'. Can you scan https://mysite.com/docs and flag any duplicates against that list?"}],"resultDescription":"A bounded duplicate value report identifying which attribute values appear more than once across code snippet elements on the scanned page or HTML, along with occurrence details for each duplicate found.","failureModes":["URL is unreachable or returns a non-200 status — report will be empty or error returned","Provided HTML exceeds 100,000 character limit — request rejected","JavaScript-rendered content not parsed — dynamic code snippets may be missed","No code snippet elements found matching the term — empty report returned","Attribute name does not match pattern requirements — validation error returned","previous_texts list exceeds 200 items — request rejected"],"whenToPreferThis":"Choose this endpoint when you need to detect duplicate attribute values specifically within code snippet elements on a static HTML page, without JavaScript rendering. It is ideal for documentation quality checks, pre-publish HTML validation, or auditing code block uniqueness constraints. Prefer this over general duplicate-detection tools when the scope is limited to code elements and a specific HTML attribute.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:57:20.752Z","isFirstParty":false,"canonicalSlug":"code-snippets-duplicate-value-report-d73c57bb"}