# AgentShelf CSS data-value Extractor

> AgentShelf CSS data-value Extractor is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-03).

Extracts data attribute values (e.g. data-* attributes) from HTML elements matching the CSS selector data[value], from a given URL or raw HTML string.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/css-data-value?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-css-data-value-extractor-3f0536d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9eWVcuUM2BJ7QR5MCajKT

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 agentshelf-css-data-value-extractor-3f0536d6 -d '<json body>'
```

Example prompt: Can you extract all the data[value] attribute values from this page — https://example.com/products — and give me the list?

## When to prefer this

Use this endpoint when you specifically need to extract data[value] CSS attribute values from a public webpage or raw HTML without setting up your own scraper. Prefer the free /v1/sandbox/css-data-value endpoint first; fall back to this paid endpoint when sandbox access is unavailable or rate-limited. Choose this over generic CSS extraction endpoints when your target is specifically the data[value] attribute pattern.

## Known failure modes

- URL is unreachable or returns non-200 status — extraction fails with an error
- HTML exceeds 200,000 character limit — request rejected
- No elements matching data[value] selector found — empty result returned
- SSRF-blocked URL (private IP range, localhost) — request rejected for safety
- Malformed URL (under 8 or over 2048 characters) — validation error

## How this service works

Call when an agent needs data value attributes via data[value] from a public page or HTML (SSRF-safe). Exact $0.006 USDC. Prefer unpaid POST /v1/sandbox/css-data-value first.

## Output

Returns an array or list of extracted string values found in data[value] attributes across elements on the specified page or within the provided HTML, parsed using an SSRF-safe server-side CSS selector engine.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 8,
   "description": "Public page to fetch. The selector or profile is fixed by the SKU. Provide url or html."
  },
  "html": {
   "type": "string",
   "examples": [
    "<!doctype html><html lang=\"en\"><head><title>Hello</title>\n<meta charset=\"utf-8\"><meta name=\"description\" content=\"Desc\">\n<link rel=\"canonical\" href=\"https://example.com/\"><link rel=\"icon\" href=\"/favicon.ico\">\n</head><body><h1>Hello</h1><a href=\"https://example.com/a\">A</a></body></html>"
   ],
   "maxLength": 200000,
   "minLength": 1,
   "description": "HTML to extract from locally. Provide html or url. When both are set, html is used."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-css-data-value-extractor-3f0536d6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
