MarkUDown
Screenshot API — MarkUDown website screenshot API docs
POST
/api/screenshotScreenshot
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.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| url | array<string> | required | — | URL to screenshot, as a one-item array. |
| timeout | integer | optional | 60 | Page 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"