{"uid":"cap_cWj4TWyP0sLG41aZzIV5x","slug":"button-labels-literal-attribute-matches-13ffe8af","name":"Button Labels — Literal Attribute Matches","description":"Button labels — Literal attribute matches: Literal attribute matches for Button labels. 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 literal attribute matches result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-buttons-attribute-match?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><button id=\"sample\" data-kind=\"example\">Example product guide</button></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_EZCKewYUSC1rNk2P5U7VM","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":"Finds button elements on a webpage whose specified HTML attribute value literally matches a given search term, returning matched button labels.","exampleAgentPrompt":"Search this HTML page for buttons whose 'data-kind' attribute value is 'primary' and tell me all the button labels that match: <!doctype html><html><body><button data-kind='primary'>Buy Now</button><button data-kind='secondary'>Learn More</button></body></html>","exampleUseCases":[{"title":"Audit CTA buttons by CSS class","prompt":"Parse this URL https://example-store.com/checkout and find all button labels where the 'class' attribute value is 'btn-checkout' — I need to know what text those buttons display."},{"title":"Find buttons by data attribute on pasted HTML","prompt":"Here's some HTML I copied from a landing page — can you find all button labels where the 'data-role' attribute matches 'cta'? <!doctype html><html><body><button data-role='cta'>Get Started</button><button data-role='nav'>Home</button></body></html>"},{"title":"Deduplicate button discovery excluding known labels","prompt":"Scrape https://myapp.io/dashboard and find buttons whose 'id' attribute equals 'submit-btn', but skip any buttons already labeled 'Save' or 'Cancel' from previous scans."}],"resultDescription":"Returns a bounded set of button label strings from the page whose specified HTML attribute matches the given value, parsed statically without JavaScript rendering. The result reflects literal attribute equality matching, not fuzzy or semantic search.","failureModes":["URL is inaccessible or returns non-200 status — no buttons extracted","HTML exceeds 100,000 character limit — request rejected","Attribute name fails the pattern validation (must start with a letter, max 50 chars) — validation error","No buttons found matching the attribute/value pair — empty result set","Page requires JavaScript rendering for buttons to appear — static parser returns no matches","Term is empty or missing — minLength validation error"],"whenToPreferThis":"Choose this endpoint when you need to extract button labels from a static HTML page or snippet based on an exact HTML attribute match (e.g. id, class, data-*). It is ideal for lightweight, low-cost ($0.01) single-page button discovery without JavaScript rendering. Prefer it over full browser automation when the target page's buttons are present in raw HTML, and you only need literal attribute-value equality rather than fuzzy text or semantic search.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:52:24.667Z","isFirstParty":false,"canonicalSlug":"button-labels-literal-attribute-matches-13ffe8af"}