{"uid":"cap_wmL4SoJ-MnUIgvPBhRdUu","slug":"list-items-literal-attribute-matches-fbc0f262","name":"List Items — Literal Attribute Matches","description":"List items — Literal attribute matches: Literal attribute matches for List items. 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-list-items-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><li id=\"sample\" data-kind=\"example\">Example product guide</li></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_SbEa1QqnbV8cenGAxGVwX","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":"Scrapes a public webpage or supplied HTML and returns list items whose specified HTML attribute exactly matches a given value and contains a specified term.","exampleAgentPrompt":"From the page at https://example-store.com/products, find all list items where the 'data-kind' attribute exactly equals 'featured' and that contain the word 'shoes'.","exampleUseCases":[{"title":"Extract tagged navigation menu items","prompt":"Go to https://mysite.com/nav and pull out all list items where the 'data-section' attribute equals 'primary' and that contain the word 'home'."},{"title":"Scrape product list by category attribute","prompt":"From this HTML I'm pasting, find all li elements where the 'data-category' attribute is exactly 'electronics' and the text includes 'laptop'."},{"title":"Filter FAQ entries by section attribute","prompt":"On https://help.acme.com/faq, grab all list items where the attribute 'id' equals 'billing' and the text contains 'payment'."}],"resultDescription":"A bounded set of list item text values from the parsed page or HTML where the specified attribute exactly matches the given value and the item text contains the search term. Results exclude previously seen texts if prior_texts are supplied.","failureModes":["URL is behind a login or paywall — only public static pages are supported","JavaScript-rendered content will not be visible since no JS execution occurs","Attribute name pattern mismatch causes validation error (must start with a letter, alphanumeric after)","No matching list items found returns an empty result set","HTML exceeds 100,000 character limit","URL exceeds 2,048 character limit","Malformed HTML may produce incomplete or no results"],"whenToPreferThis":"Choose this endpoint when you need to extract list items from a static, publicly accessible webpage or known HTML blob by matching a specific HTML attribute to an exact literal value. It is ideal for structured scraping tasks where you know the attribute name and value in advance (e.g. id='sidebar', data-type='product') and want only items containing a specific term. Prefer this over generic scrapers when you need deterministic, literal attribute filtering rather than CSS selectors, XPath, or fuzzy matching.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:46:34.538Z","isFirstParty":false,"canonicalSlug":"list-items-literal-attribute-matches-fbc0f262"}