x402

URL to Markdown (x402)

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.

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

Query parameters

urlstring required

URL to convert

include_linksboolean
include_imagesboolean

Response

Success

titlestring
markdownstring
word_countinteger

Example response

{
  "url": "https://example.com?foo=bar&baz=qux",
  "title": "Example Domain",
  "markdown": "This domain is for use in documentation examples without needing permission. Avoid use in operations.\n\n[Learn more](https://iana.org/domains/example)",
  "word_count": 17
}

Changes

No recorded changes to this operation across all 1 revision of this API.