# OpenVerbs HTML Strip

> OpenVerbs HTML Strip is a paid API for AI agents from html.openverbs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Strips all HTML tags from markup, returning plain text with HTML entities decoded to real characters by default

## Facts

- Endpoint: POST https://html.openverbs.com/v1/strip
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openverbs-html-strip-17a322d5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9ifTkRhAk7ulxxRNniuoW

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 openverbs-html-strip-17a322d5 -d '<json body>'
```

Example prompt: Strip all the HTML tags from this markup and give me back just the plain readable text with entities decoded: '<p>Hello &amp; welcome to <b>OpenVerbs</b>!</p>'

## When to prefer this

Choose this endpoint when you need to convert HTML markup to plain text and want entity decoding handled automatically. It is ideal for preprocessing scraped web content, cleaning HTML emails before NLP analysis, or indexing CMS content. Prefer this over the sibling sanitize endpoint when you want no HTML at all in the output, and over the decode-entities-only endpoint when your input contains full HTML markup with tags.

## Known failure modes

- Missing required 'html' field returns a 400 validation error
- Input HTML exceeding 200,000 characters is rejected
- Malformed JSON body results in a parse error
- Invalid method or bodyType enum value causes a 422 error
- Network or service unavailability returns a 5xx error

## How this service works

Remove all HTML tags, returning the plain text content. Entities are decoded to real characters by default (set decodeEntities=false to keep them encoded).

## Output

The endpoint returns the plain text content of the submitted HTML, with all tags removed and HTML entities decoded to their real characters (e.g. &amp; becomes &, &#39; becomes '). If decodeEntities is set to false, entities remain in their encoded form.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "html"
     ],
     "properties": {
      "html": {
       "type": "string",
       "maxLength": 200000,
       "description": "HTML markup to strip."
      },
      "decodeEntities": {
       "type": "boolean",
       "description": "Decode entities to characters. Default true."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openverbs-html-strip-17a322d5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from html.openverbs.com](https://www.zero.xyz/host/html.openverbs.com/llms.txt)
