# Delx Strip HTML Lite

> Delx Strip HTML Lite is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Strips HTML tags from a caller-supplied markup string and returns the plain text along with its character length.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/strip-html-lite
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-strip-html-lite-be289cc1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vYwzMN_Co12AdNi-kZ7OF

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 delx-strip-html-lite-be289cc1 -d '<json body>'
```

Example prompt: Strip the HTML tags from this snippet and give me just the plain text: '<p>Hello <b>world</b>! Visit <a href="https://example.com">our site</a>.</p>'

## When to prefer this

Choose this endpoint when you already hold an HTML string in-memory and need plain text without spinning up a browser or headless renderer. It is ideal for lightweight, local, stateless tag stripping at $0.001 per call with no API keys, no data retention, and no external dependencies. Prefer it over heavier HTML parsers or browser-based extraction when you only need tag removal, not DOM traversal or JavaScript rendering.

## Known failure modes

- Malformed or truncated input may yield unexpected plain text if partial tags are present
- Very large HTML strings may exceed payload limits
- Empty input returns empty text with length 0
- Non-HTML input (already plain text) is returned as-is without error

## How this service works

Strip HTML tags from caller-held markup. Call when you need plain text from agent-held HTML snippets without a browser. Returns tag-stripped text and length for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns the tag-stripped plain text extracted from the input HTML string, along with the character length of the resulting plain text. No external network calls are made; processing is local and stateless.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Input field: text."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "Hello Delx",
  "length": 10,
  "schema": "delx/util-strip-html-lite/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-strip-html-lite-be289cc1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
