# AgentShelf CSS Button Text Extractor

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

Extracts button text from CSS-styled buttons on a public webpage or raw HTML fragment

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/css-button?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-css-button-text-extractor-1b206582
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AxOo5nbJ9N-hFFbLunCAt

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-button-text-extractor-1b206582 -d '<json body>'
```

Example prompt: Can you pull out all the button text from https://example.com/signup — I want to see what every button on that page says?

## When to prefer this

Use this endpoint when you need to specifically extract button text from a webpage or HTML snippet and want an SSRF-safe, paid extraction rather than parsing HTML yourself. Prefer the free POST /v1/sandbox/css-button first if available. Choose this over general page-scraping endpoints when you only care about button labels, not full page content or other elements.

## Known failure modes

- URL is private/internal (SSRF blocked) — rejected with error
- URL is unreachable or returns non-200 — fetch failure
- HTML too large (over 200,000 chars) — input validation error
- No buttons found on the page — empty result returned
- Malformed URL (under 8 chars or invalid format) — validation error

## How this service works

Call when an agent needs button text via button from a public page or HTML (SSRF-safe). Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/css-button first.

## Output

Returns the text content of all CSS-styled buttons found on the given page or HTML, as a list of button label strings extracted from the rendered or raw HTML.

## 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-button-text-extractor-1b206582/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)
