MarkUDown

Screenshot API — MarkUDown website screenshot API docs

POST/api/screenshot

Screenshot

Capture a full-page screenshot of any URL as a base64-encoded PNG. When the capture shows a block page or an empty page instead of the content, the response says so in blocked.

ParameterTypeRequiredDefaultDescription
urlarray<string>required—URL to screenshot, as a one-item array.
timeoutintegeroptional60Page load timeout in seconds.

Request

{
  "url": ["https://example.com"],
  "timeout": 60
}

Response

{
  "url": "https://example.com",
  "screenshot": "iVBORw0KGgo...",
  "type": "image/png",
  "engine": "playwright",
  "blocked": false
}

// When the capture is a block page or an empty page:
// "blocked": true, "block_reason": "challenge" | "empty_page"