---
title: "Webpage to Markdown ($0.004/call)"
method: GET
path: "/markdown"
tags: ["webpage-to-markdown", "markdown", "html-to-markdown", "web-scraping", "content-extraction", "web", "llm"]
---

# Webpage to Markdown ($0.004/call)

`GET /markdown`

## Request

- Base URL: `https://x402.shizu.me`
- URL: `https://x402.shizu.me/markdown`
- Auth: none declared

Fetch any public web page and return its main content as clean Markdown, ready to feed to an LLM. Boilerplate (nav, ads, footers) stripped. Input: url (public http/https). Returns {url, markdown, word_count}.

Paid endpoint: $0.004 per call via the x402 protocol (USDC on Base). An unpaid request returns 402 with payment requirements in the PAYMENT-REQUIRED response header; attach payment and retry.

## Query parameters

- `url` string

## Response `200`

Paid result (JSON)

## Other responses

- `402`: Payment required — x402 requirements in the PAYMENT-REQUIRED response header

---

[API](https://skmtc.dev/shizu/apis/scrape402.md) · [All operations](https://skmtc.dev/shizu/apis/scrape402/llms.txt) · [OpenAPI document](https://skmtc.dev/shizu/apis/scrape402/revisions/0852d74798b8?raw)
