# Forgemesh URL-to-Markdown Extractor

> Forgemesh URL-to-Markdown Extractor is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Converts any public webpage URL (or raw HTML) into clean, readable markdown by stripping navigation, ads, and boilerplate while preserving the article body and byline.

## Facts

- Endpoint: POST https://x402.forgemesh.io/url-to-markdown
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-url-to-markdown-extractor-c9e474be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qtTPJy5HFwE4nVE7ALgkr

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 forgemesh-url-to-markdown-extractor-c9e474be -d '<json body>'
```

Example prompt: Pull the article at https://www.theverge.com/2024/1/15/some-article and give me the clean text as markdown — strip out all the ads and navigation, just the body and byline.

## When to prefer this

Choose this endpoint when you need to feed a specific public webpage's readable content into an LLM, summarizer, or search index and want boilerplate automatically stripped. It respects robots.txt automatically, making it safer than raw HTTP fetches. Prefer it over generic HTTP fetch tools when clean, structured markdown output is needed rather than raw HTML.

## Known failure modes

- URL is behind a paywall or login wall — returns empty or partial content
- Site's robots.txt disallows crawling — request is rejected or returns an error
- URL is malformed or unreachable — returns an HTTP error or empty result
- Page has no identifiable article body — returns minimal or empty markdown
- Rate limiting or network timeout — returns a timeout error

## How this service works

Webpage-to-markdown extraction: submit any public URL and receive the article body as clean markdown, with navigation, ads, and boilerplate stripped and the byline preserved. Respects each site's crawl permissions automatically. Built for feeding readable page content into summarizers, search indexes, and language-model context windows.

## Output

Returns the article body of the submitted webpage as clean markdown text, with the byline preserved and all navigation menus, advertisements, headers, footers, and boilerplate removed. The content is ready to be fed into an LLM context window, summarizer, or search index.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Public web page URL"
  },
  "html": {
   "type": "string",
   "description": "Raw HTML alternative to url"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "title": "Micropayment",
  "markdown": "A **micropayment** is a financial transaction..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-url-to-markdown-extractor-c9e474be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
