# List Items — Literal Attribute Matches

> List Items — Literal Attribute Matches is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

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.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-list-items-attribute-match?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/list-items-literal-attribute-matches-fbc0f262
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wmL4SoJ-MnUIgvPBhRdUu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability list-items-literal-attribute-matches-fbc0f262 -d '<json body>'
```

Example prompt: 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'.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/list-items-literal-attribute-matches-fbc0f262/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
