---
title: "URL to Markdown (x402)"
method: GET
path: "/x402/v2/url-to-markdown"
tags: ["x402"]
---

# URL to Markdown (x402)

`GET /x402/v2/url-to-markdown`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/url-to-markdown`
- Auth: none required

Convert any URL to clean, article-quality markdown. Extracts main content and strips navigation, ads, and boilerplate. Handles static sites instantly and JavaScript-rendered pages via fallback rendering. Supports blogs, documentation, news articles, and most public web pages.

## Query parameters

- `url` string, required: URL to convert
- `include_links` boolean
- `include_images` boolean

## Response `200`

Success

- object
  - `title` string
  - `markdown` string
  - `word_count` integer

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
