MarkUDown

Scrape API — MarkUDown web scraping API docs

POST/api/scrape

Scrape

Convert any webpage to clean Markdown. Uses a 3-layer extraction strategy: fast HTTP fetch → stealth browser (Patchright) → human-behavior simulation (Abrasio), automatically escalating on failure.

ParameterTypeRequiredDefaultDescription
urlarray<string>required—URL to scrape, as a one-item array (only the first item is used — use Batch Scrape for several URLs).
main_contentbooleanoptionaltrueExtract only the main content (drops navigation, header and footer).
include_linkbooleanoptionalfalseInclude the links found on the page.
include_htmlbooleanoptionalfalseAlso return the page HTML alongside the Markdown.
exclude_tagsarray<string>optional["header","nav","footer"]CSS selectors or tag names to strip, e.g. ["nav",".ads","footer"].
timeoutintegeroptional60Page load timeout in seconds.

Request

{
  "url": ["https://blog.example.com/post"],
  "main_content": true,
  "include_link": true,
  "timeout": 30
}

Response

{
  "url": "https://blog.example.com/post",
  "markdown": "# Post Title\n\nContent...",
  "links": [
    "https://blog.example.com/other",
    "https://example.org/"
  ],
  "metadata": {
    "title": "Post Title",
    "description": "...",
    "source": "cheerio",
    "statusCode": 200
  }
}