# AgentShelf CSS Input Type Extractor

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

Extracts all input[type] attribute values from a public web page or raw HTML string in an SSRF-safe manner

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/css-input-type?utm_source=zero.xyz
- Price: $0.002/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-input-type-extractor-bf1d0520
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9A6RmFF1ToUrMBc-1OTLG

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-input-type-extractor-bf1d0520 -d '<json body>'
```

Example prompt: Can you extract all the input[type] values from the forms on https://example.com/signup — I want to know what types of fields they use, like text, email, password, etc.

## When to prefer this

Use this endpoint when you need to programmatically extract input[type] values from a live public URL or raw HTML and want SSRF protection built in. Prefer the free POST /v1/sandbox/css-input-type endpoint first if available. Choose this over general-purpose HTML scrapers when you specifically need input element type enumeration without running your own browser or parser.

## Known failure modes

- URL is private/internal (SSRF-blocked) — returns error rejecting non-public addresses
- URL is unreachable or returns non-200 — fetch failure error
- HTML exceeds 200,000 character limit — payload too large error
- URL string shorter than 8 characters — validation error
- No input elements found — returns empty list
- Malformed HTML — parser may return partial or empty results

## How this service works

Call when an agent needs input types via input[type] from a public page or HTML (SSRF-safe). Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/css-input-type first.

## Output

A list of distinct or all input[type] attribute values found in the page or HTML, such as 'text', 'email', 'password', 'hidden', 'checkbox', 'radio', 'submit', etc., parsed from input elements via CSS selector matching.

## 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-input-type-extractor-bf1d0520/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)
