# Markdown Strip API

> Markdown Strip API is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.0022/call, status unknown (last checked 2026-09-14).

Strips all Markdown syntax from text or a URL-fetched document, returning clean plain text suitable for embeddings, TTS, or full-text search.

## Facts

- Endpoint: GET https://api.x402node.dev/md/strip
- Price: $0.0022/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-bece80ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_726V0oYI9K6USI03HioXa

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 api-x402node-dev-bece80ce
```

Example prompt: Strip all the Markdown formatting from this text and give me back clean plain text I can feed into my TTS engine: '## Hello World\n\nThis is **bold** and [a link](https://example.com).\n\n- item one\n- item two'

## When to prefer this

Choose this endpoint when you need to preprocess Markdown content before passing it to an embeddings model, text-to-speech engine, or full-text search index, and you want a simple paid API call rather than running a local Markdown parser. Especially useful in agentic pipelines where Markdown arrives from LLM outputs, documentation, or web pages and must be normalized to plain text without custom code.

## Known failure modes

- Missing both url and text parameters — returns error indicating at least one input is required
- URL fetch failure if ?url= points to an unreachable or non-markdown resource
- Malformed URL in ?url= parameter causing a fetch error
- Empty input resulting in empty plain text output
- Response schema is minimal/empty ({}) so callers must handle raw text body

## How this service works

Strip all Markdown syntax, returning plain text (no headings, links, code, emphasis, lists). Use url param or ?text=.... Built for AI agents feeding markdown to embeddings, TTS, or fulltext search.

## Output

Plain text string with all Markdown syntax removed — no headings, links, code blocks, emphasis markers, or list symbols. The response object contains the cleaned text ready for use in embeddings, TTS pipelines, or full-text search indexes.

## Example request

```json
{
 "text": "## Hello World\n\nThis is **bold** and [a link](https://example.com).\n\n- item one\n- item two"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-bece80ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
