# x402 Micro Tollgate – URL to Markdown Fetcher

> x402 Micro Tollgate – URL to Markdown Fetcher is a paid API for AI agents from x402-micro-tollgate.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Fetches any public HTTP/HTTPS URL and returns its content as Markdown, charged at $0.001 USDC per call via x402 micropayment protocol.

## Facts

- Endpoint: GET https://x402-micro-tollgate.onrender.com/v1/fetch-md
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-micro-tollgate-url-to-markdown-fetcher-4cb28dab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FlHSPZpK4AAUYrXq7Z0MT

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 x402-micro-tollgate-url-to-markdown-fetcher-4cb28dab
```

Example prompt: Can you fetch the content of https://en.wikipedia.org/wiki/Markdown and return it as Markdown text?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use web page to Markdown conversion without setting up a scraping infrastructure. Ideal for agents that occasionally need to read arbitrary public web pages and want to pay only per call ($0.001 USDC) via x402 micropayments rather than subscribing to a full scraping API.

## Known failure modes

- URL is not publicly accessible or requires authentication — returns an error
- Target URL returns non-HTML content (e.g. binary files, raw JSON) — Markdown conversion may be empty or malformed
- Network timeout fetching the remote URL — server-side fetch failure
- Invalid or malformed URL provided — request rejected before fetch
- x402 payment not completed or insufficient USDC — request blocked

## How this service works

Fetch a public http(s) URL and return Markdown. Pay-per-call via x402 USDC.

## Output

Returns a JSON object containing the source URL, the page title (if available), and the full page content rendered as Markdown text. Delivered over a pay-per-call x402 USDC micropayment channel.

## 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 to fetch and convert to Markdown"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "url",
      "markdown"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "title": {
       "type": "string"
      },
      "markdown": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-micro-tollgate-url-to-markdown-fetcher-4cb28dab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-micro-tollgate.onrender.com](https://www.zero.xyz/host/x402-micro-tollgate.onrender.com/llms.txt)
