# ipv4.fr Web Page to Markdown Converter

> ipv4.fr Web Page to Markdown Converter is a paid API for AI agents from ipv4.fr, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-29).

Fetches a public URL and converts its HTML or plain text content into clean Markdown, with an optional AI-generated summary and key points.

## Facts

- Endpoint: GET https://ipv4.fr/x402/v1/markdown?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ipv4-fr-web-page-to-markdown-converter-5617d2c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JEshR42ss1Z6dGsZuHq5P

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 ipv4-fr-web-page-to-markdown-converter-5617d2c5
```

Example prompt: Can you fetch https://en.wikipedia.org/wiki/IPv4 and give me the content as markdown, including an AI summary with key points?

## When to prefer this

Choose this endpoint when you need to convert a single public web page into clean, readable Markdown for downstream processing, indexing, or LLM context injection. It is especially well-suited when you also want an AI-generated summary without building your own summarization pipeline. Prefer it over raw HTML fetching when readability-extracted text is needed, or over generic scraping tools when you need structured Markdown output with metadata like title, language, and word count.

## Known failure modes

- URL is not publicly accessible or returns a non-200 status — endpoint may error or return empty content
- Page exceeds 5 MB limit — content will be truncated (truncated: true in response)
- URL points to a binary file (PDF, image) rather than HTML/text — extraction quality may be poor
- AI summary requested (summary=1) but the page content is too short or ambiguous — summary may be low quality
- Network timeout or DNS resolution failure for the target URL — results in an error response
- Rate limiting or payment failure at $0.005/call (or $0.01 with summary) via x402 protocol

## How this service works

Fast, reliable network tools API. IP geolocation, DNS lookup, SSL check, WHOIS, email validation, port scan. Free tier available.

## Output

Returns a JSON object containing the page title, the full content converted to Markdown (up to 5 MB, truncation flag if exceeded), the detected language, word count, final URL after redirects, a cached flag, and optionally an AI-generated summary with key points when summary=1 is requested.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public http(s) URL of an HTML or plain text page (max 5 MB)"
      },
      "summary": {
       "enum": [
        "0",
        "1"
       ],
       "type": "string",
       "description": "1 adds an AI summary and key points (price $0.01)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://en.wikipedia.org/wiki/IPv4",
  "title": "IPv4",
  "cached": false,
  "language": "en",
  "markdown": "# IPv4\n\n**Internet Protocol version 4** is ...",
  "final_url": "https://en.wikipedia.org/wiki/IPv4",
  "truncated": false,
  "ai_summary": {
   "notice": "AI-generated summary of third-party content.",
   "summary": "IPv4 is the fourth version of the Internet Protocol ...",
   "language": "en",
   "key_points": [
    "32-bit addresses"
   ]
  },
  "extraction": "readability",
  "word_count": 9800
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ipv4-fr-web-page-to-markdown-converter-5617d2c5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ipv4.fr](https://www.zero.xyz/host/ipv4.fr/llms.txt)
