{"uid":"cap_0ne6bsHFlOzWri7EeiOx0","slug":"writerslogic-dom-skeleton-extractor-8daf1652","name":"WritersLogic DOM Skeleton Extractor","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/dom-skeleton?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"html":{"type":"string","maxLength":100000,"minLength":1,"description":"HTML source."},"dedupe":{"type":"boolean","description":"Collapse elements with identical tag, type, role, name and href. Default true."},"maxElements":{"type":"integer","maximum":300,"minimum":1,"description":"Maximum elements returned. Default 100."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YvObXZt11wShCHVumzvoV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reduces an HTML document to its actionable interactive elements (links, buttons, inputs, selects, textareas, roles) with stable CSS selectors and accessible names, filtered for agent interaction","exampleAgentPrompt":"Strip this HTML down to only the interactive elements I can click or fill in — give me each one with its tag, role, accessible name, and a stable CSS selector I can target, deduplicating any repeated controls and capping at 100 elements.","exampleUseCases":[{"title":"Login form field discovery","prompt":"Here's the raw HTML of a login page — can you pull out all the interactive elements like username fields, password inputs, and the submit button, with their CSS selectors so I know exactly what to target?"},{"title":"Navigation link extraction for site crawler","prompt":"I have the HTML source of a homepage and I need a list of every link and button an agent could click, with their accessible names and stable selectors — please deduplicate repeated nav items and limit to 150 elements."},{"title":"Form audit for accessibility testing","prompt":"Take this HTML form and give me a skeleton of every input, select, textarea, and button — including their labels and ARIA roles — so I can check that every control has a proper accessible name before we ship."}],"resultDescription":"A structured list of up to maxElements (default 100) interactive elements found in the HTML, each with: tag name, input type (if applicable), ARIA role, best-effort accessible name (from label associations, aria-label, etc.), and a stable CSS selector targeting exactly that element. Hidden elements (hidden, aria-hidden, inert, display:none, visibility:hidden, closed details, template/noscript) are omitted. Duplicate controls are collapsed when dedupe is enabled.","failureModes":["HTML exceeds 100,000 character limit — request rejected","maxElements out of range (must be 1–300) — validation error","Empty or missing html field — validation error","Malformed HTML may result in incomplete element extraction","CSS-class-based visibility cannot be detected — some visually hidden elements may appear in results","Dynamic content not present in static HTML will not be extracted"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to understand what interactive elements exist on a webpage before taking action — particularly for form filling, navigation, or click-based automation from raw HTML. It is preferable over full HTML parsing because it filters noise, provides stable CSS selectors, and includes accessibility metadata. Best suited for static HTML snapshots; not suitable when interactive elements are injected by JavaScript after page load.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:39:01.832Z","isFirstParty":false,"canonicalSlug":"writerslogic-dom-skeleton-extractor-8daf1652"}