Screenshots
screenshot
Render one URL in headless Chrome and return the screenshot as PNG, WebP or JPEG.
POST https://shot.halowerk.com/screenshotEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| url | string | Ja | Absolute http or https URL to render. |
| width | integer | Nein | Viewport width in CSS pixels. |
| height | integer | Nein | Viewport height in CSS pixels. |
| full_page | boolean | Nein | Capture the whole document instead of the viewport. Costs 0.006 USDC instead of 0.004 USDC. |
| format | string | Nein | Image format of the returned screenshot. |
| quality | integer | Nein | Compression quality for webp and jpeg. Ignored for png. |
| delay_ms | integer | Nein | Wait this long after the document is ready before capturing. Counts against the 20 second budget. |
| selector | string | Nein | CSS selector. When set, only that element is captured and full_page must stay off. |
| dark_mode | boolean | Nein | Render with prefers-color-scheme: dark. |
| block_cookiebanner | boolean | Nein | Remove common consent layers before capturing. The banner is hidden, never accepted. |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"required": [
"url"
],
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Absolute http or https URL to render."
},
"width": {
"type": "integer",
"minimum": 320,
"maximum": 2560,
"default": 1280,
"description": "Viewport width in CSS pixels."
},
"height": {
"type": "integer",
"minimum": 320,
"maximum": 2000,
"default": 800,
"description": "Viewport height in CSS pixels."
},
"full_page": {
"type": "boolean",
"default": false,
"description": "Capture the whole document instead of the viewport. Costs 0.006 USDC instead of 0.004 USDC."
},
"format": {
"type": "string",
"enum": [
"png",
"webp",
"jpeg"
],
"default": "png",
"description": "Image format of the returned screenshot."
},
"quality": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 80,
"description": "Compression quality for webp and jpeg. Ignored for png."
},
"delay_ms": {
"type": "integer",
"minimum": 0,
"maximum": 10000,
"default": 0,
"description": "Wait this long after the document is ready before capturing. Counts against the 20 second budget."
},
"selector": {
"type": "string",
"maxLength": 300,
"description": "CSS selector. When set, only that element is captured and full_page must stay off."
},
"dark_mode": {
"type": "boolean",
"default": false,
"description": "Render with prefers-color-scheme: dark."
},
"block_cookiebanner": {
"type": "boolean",
"default": false,
"description": "Remove common consent layers before capturing. The banner is hidden, never accepted."
}
}
}Veröffentlichtes Eingabebeispiel
{
"url": "https://example.com/",
"width": 1280,
"height": 800,
"full_page": false,
"format": "png",
"quality": 80,
"delay_ms": 0,
"dark_mode": false,
"block_cookiebanner": false
}Ergebnis & Dokumentation
Maschinenlesbare Dokumentation dieses Hubs
Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.
Weitere Endpunkte dieses Hubs
- Screenshots0,006 USDC
snapshot
POSThttps://shot.halowerk.com/snapshotRender one URL once in headless Chrome and return DOM, accessibility tree, links, forms, console, screenshot, timings and a request summary together.