# PrimeAPI Text-to-Markdown Converter

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

Converts plain text or structured content into formatted Markdown via a pay-per-call API on Base using USDC.

## Facts

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

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-text-to-markdown-converter-12f9d97e -d '<json body>'
```

Example prompt: Can you convert this plain text into nicely formatted Markdown for me: 'Introduction: This guide covers setup, usage, and troubleshooting. Section 1: Installation requires Node 18 or higher. Section 2: Run npm install to get started.'

## When to prefer this

Use this endpoint when you need a quick, no-API-key-required conversion of plain text or content into Markdown format, billed per call in USDC on Base. Ideal for agents that need to produce Markdown documents dynamically without managing API credentials or subscriptions.

## Known failure modes

- Empty or missing query string returns an error or empty response
- Malformed JSON input body results in a 400 error
- Payment failure or insufficient USDC balance results in 402 Payment Required
- Network timeout or Vercel cold start may cause latency spikes
- Very long input text may be truncated or rejected
- Output quality may vary for highly unstructured or ambiguous input

## 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 a JSON object containing the Markdown-formatted version of the input text, with appropriate headings, lists, code blocks, or other Markdown elements applied to the content.

## 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-text-to-markdown-converter-12f9d97e/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)
