# Delx HTML Strip

> Delx HTML Strip 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-13).

Strips HTML tags from markup, returning clean plain text for $0.001 USDC per call.

## Facts

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

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-html-strip-18646e87 -d '<json body>'
```

Example prompt: Take this HTML snippet and strip out all the tags so I just have the plain readable text: '<h1>Hello World</h1><p>This is a <strong>test</strong> paragraph.</p>'

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call HTML-to-text conversion without managing a parsing library. It is ideal for agent pipelines that occasionally need to clean HTML snippets before feeding content to an LLM, storing to a database, or displaying to a user, and where spinning up a full headless browser or HTML parser is overkill.

## Known failure modes

- Empty or missing HTML input returns an error or empty string
- Malformed HTML may cause partial stripping or unexpected output
- Very large HTML payloads may be rejected or time out
- Non-HTML input (e.g. plain text already) is returned unchanged or with minimal transformation
- Payment failure or insufficient USDC balance results in HTTP 402

## How this service works

Strip HTML tags to plain text for $0.001 USDC. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.

## Output

Returns the input HTML with all tags removed, yielding clean plain text. Whitespace and visible content are preserved while all HTML elements, attributes, and markup syntax are stripped out.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-html-strip-18646e87/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)
