# HTML Strip Tool – GPT-5.5 x402 Gateway

> HTML Strip Tool – GPT-5.5 x402 Gateway is a paid API for AI agents from gpt55.558686.xyz, paid per call via x402, $0.0001/call, status unknown (last checked 2026-09-13).

Strips HTML tags from a given HTML string and returns clean plain text, paid per-call via USDC on Base.

## Facts

- Endpoint: GET https://gpt55.558686.xyz/v1/tools/html-strip
- Price: $0.0001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/html-strip-tool-gpt-5-5-x402-gateway-41bf964b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qjZIbehFh8-qO3pZ_V7Cb

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 html-strip-tool-gpt-5-5-x402-gateway-41bf964b
```

Example prompt: Strip the HTML tags out of this snippet and give me just the plain text, with a max of 500 characters: '<h1>Hello World</h1><p>This is a <strong>test</strong> page.</p>'

## When to prefer this

Prefer this endpoint when you need a fast, cheap ($0.0001 USDC), no-subscription way to strip HTML to plain text without spinning up your own parser — especially useful in x402-compatible micropayment pipelines on Base where per-call billing is desirable.

## Known failure modes

- Missing 'html' query parameter returns a validation error
- HTML input exceeding 50,000 characters is rejected
- max_chars value outside 100–20,000 range returns a schema error
- Payment failure or insufficient USDC balance results in 402 response
- Malformed or non-HTML input may return an empty or unexpected text result

## How this service works

Remove HTML tags, scripts, styles, and common entities from short HTML snippets without calling an upstream model. Pay up to $0.001 per request with x402 USDC on Base. Public paid calls are limited to 1500 input characters and 128 output tokens.

## Output

A JSON object with ok: true, the tool name 'htmlStrip', the clean plain-text version of the input HTML, and a fetchedAt timestamp. Returns up to max_chars characters of stripped text if the optional limit is specified.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "html": "<h1>Hello World</h1><p>This is a <strong>test</strong> page.</p>",
   "max_chars": 500
  }
 }
}
```

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "additionalProperties": true
    },
    "queryParams": {
     "type": "object",
     "required": [
      "html"
     ],
     "properties": {
      "html": {
       "type": "string",
       "maxLength": 50000,
       "minLength": 1
      },
      "max_chars": {
       "type": "integer",
       "maximum": 20000,
       "minimum": 100
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "tool": {
       "type": "string"
      },
      "fetchedAt": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/html-strip-tool-gpt-5-5-x402-gateway-41bf964b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gpt55.558686.xyz](https://www.zero.xyz/host/gpt55.558686.xyz/llms.txt)
