# Tarnak x402 Toolkit — URL to Markdown Converter

> Tarnak x402 Toolkit — URL to Markdown Converter is a paid API for AI agents from api.capousd-student-tools.me, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-31).

Fetches a URL or raw HTML and returns cleaned Markdown with title and metadata, paid per-call via x402/USDC on Base

## Facts

- Endpoint: GET https://api.capousd-student-tools.me/v1/markdown?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tarnak-x402-toolkit-url-to-markdown-converter-e73fba24
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3WV1tybohVjW-KfPsCWRz

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 tarnak-x402-toolkit-url-to-markdown-converter-e73fba24
```

Example prompt: Can you fetch https://techcrunch.com/2024/01/15/openai-latest-update/ and give me the clean article text in markdown format?

## When to prefer this

Choose this endpoint when an AI agent needs to ingest the readable text of a webpage without API keys or signup overhead, paying only $0.004 USDC per call via x402 on Base. It is especially useful for agents that need to read articles, documentation, or blog posts on-the-fly and require clean, LLM-ready markdown rather than raw HTML. Prefer it over browser-based scrapers when cost per call matters and the content is publicly accessible.

## Known failure modes

- URL is unreachable or returns non-200 status — API may return an error or empty markdown
- Paywalled or JavaScript-rendered pages may return incomplete or no content
- Invalid URL format in query parameter causes a 400-level error
- Rate limit: only 10 free verdicts per IP per day; beyond that, x402 micropayment required
- HTML that is too large or complex may be truncated or time out

## How this service works

Keyless pay-per-call APIs for AI agents on Base: token risk verdict, rug/honeypot report, gas estimate, URL-to-markdown and more. x402 v2, USDC, no API key or signup. 10 free verdicts per IP per day.

## Output

A JSON object containing the original URL, extracted page title, metadata (author, description, etc.), and the full body content rendered as clean Markdown text.

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "description": "URL to fetch and convert."
      },
      "html": {
       "type": "string",
       "description": "Raw HTML instead of a URL."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/article",
  "meta": {
   "author": "Example",
   "description": "Example description"
  },
  "title": "Example article",
  "markdown": "# Example article\n\nCleaned body text."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tarnak-x402-toolkit-url-to-markdown-converter-e73fba24/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.capousd-student-tools.me](https://www.zero.xyz/host/api.capousd-student-tools.me/llms.txt)
