# PrimeAPI HTML to Text Converter

> PrimeAPI HTML to Text Converter is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.05686/call, status unknown (last checked 2026-09-14).

Converts HTML markup into plain text by stripping tags and extracting readable content

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/tools/text/html-to-text
- Price: $0.05686/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-html-to-text-converter-748a7669
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HDoz8iQ2GVrNwW8XujuCz

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 primeapi-html-to-text-converter-748a7669 -d '<json body>'
```

Example prompt: Strip all the HTML tags from this markup and give me just 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 to quickly strip HTML tags from a string or document and retrieve clean, readable plain text — especially in a pay-per-call context where no API key management is desired and USDC micropayments on Base are acceptable.

## Known failure modes

- Invalid or malformed HTML may produce garbled or incomplete text output
- Empty input may return an empty response or error
- Very large HTML documents may time out or be truncated
- Non-HTML input passed as query may return the input unchanged or produce unexpected results
- Payment failure in USDC on Base will result in a 402 error before processing

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

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

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

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