# OmniAPI HTML-to-Text Converter

> OmniAPI HTML-to-Text Converter is a paid API for AI agents from omni-api-cyan.vercel.app, paid per call via x402, $0.046385/call, status unknown (last checked 2026-09-15).

Converts HTML markup into clean plain text by stripping tags and formatting

## Facts

- Endpoint: POST https://omni-api-cyan.vercel.app/api/tools/text/html-to-text
- Price: $0.046385/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omniapi-html-to-text-converter-eae0b267
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kMuBw3_5-lT0RlTOegvgm

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 omniapi-html-to-text-converter-eae0b267 -d '<json body>'
```

Example prompt: Can you strip all the HTML tags from this markup and give me just the readable plain 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 quick, paid-per-call HTML stripping operation within the OmniAPI ecosystem, especially if you are already using OmniAPI for other tools and want consolidated USDC billing via x402. Prefer dedicated open-source libraries (e.g. BeautifulSoup, html2text) if you need free, high-volume, or customizable conversion with fine-grained control over whitespace and formatting.

## Known failure modes

- Malformed or incomplete HTML may produce garbled or incomplete text output
- Empty or null input returns an error or empty response
- Very large HTML documents may time out or be truncated
- Non-HTML input passed as query may return unexpected results
- Generic input schema means parameter mapping is ambiguous — unclear whether HTML goes in 'query' or 'input' field

## How this service works

444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.

## Output

Returns the extracted plain text content from the provided HTML input, with all tags, attributes, and markup removed, leaving only the human-readable text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Input data for the endpoint"
  },
  "query": {
   "type": "string",
   "description": "Search query or input text"
  },
  "params": {
   "type": "object",
   "description": "Additional parameters"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/omniapi-html-to-text-converter-eae0b267/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from omni-api-cyan.vercel.app](https://www.zero.xyz/host/omni-api-cyan.vercel.app/llms.txt)
