Zum Inhalt
HALOWERK

Screenshots

snapshot

Render one URL once in headless Chrome and return DOM, accessibility tree, links, forms, console, screenshot, timings and a request summary together.

POST https://shot.halowerk.com/snapshot

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
urlstringJaAbsolute http or https URL to render.
viewportobjectNeinViewport in CSS pixels. Default 1280x800.
wait_untilstringNeinWhen the page counts as ready. networkidle waits until at most two connections stay open for half a second, which is what most JavaScript pages need.
wait_msintegerNeinWait this long after the page is ready before reading it. Counts against the 20 second budget, it is not added on top.
includearrayNeinWhich parts to return. Omit for all of them. Leaving parts out makes the answer smaller, not cheaper: the page is loaded once either way.
screenshot_formatstringNeinImage format. webp is the smallest and keeps the answer under the size cap most often.
screenshot_qualityintegerNeinCompression quality for webp and jpeg. Ignored for png.
full_pagebooleanNeinCapture the whole document instead of the viewport. Same price on this endpoint.
check_linksbooleanNeinLook up the HTTP status of up to 50 links with HEAD, without following redirects. No extra charge. Without this, links carry no status field.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "url"
  ],
  "additionalProperties": false,
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Absolute http or https URL to render."
    },
    "viewport": {
      "type": "object",
      "additionalProperties": false,
      "description": "Viewport in CSS pixels. Default 1280x800.",
      "properties": {
        "width": {
          "type": "integer",
          "minimum": 360,
          "maximum": 2560,
          "default": 1280
        },
        "height": {
          "type": "integer",
          "minimum": 360,
          "maximum": 2000,
          "default": 800
        }
      }
    },
    "wait_until": {
      "type": "string",
      "enum": [
        "load",
        "domcontentloaded",
        "networkidle"
      ],
      "default": "networkidle",
      "description": "When the page counts as ready. networkidle waits until at most two connections stay open for half a second, which is what most JavaScript pages need."
    },
    "wait_ms": {
      "type": "integer",
      "minimum": 0,
      "maximum": 8000,
      "default": 0,
      "description": "Wait this long after the page is ready before reading it. Counts against the 20 second budget, it is not added on top."
    },
    "include": {
      "type": "array",
      "default": [
        "dom",
        "a11y",
        "links",
        "forms",
        "console",
        "screenshot"
      ],
      "items": {
        "type": "string",
        "enum": [
          "dom",
          "a11y",
          "links",
          "forms",
          "console",
          "screenshot"
        ]
      },
      "description": "Which parts to return. Omit for all of them. Leaving parts out makes the answer smaller, not cheaper: the page is loaded once either way."
    },
    "screenshot_format": {
      "type": "string",
      "enum": [
        "png",
        "webp",
        "jpeg"
      ],
      "default": "webp",
      "description": "Image format. webp is the smallest and keeps the answer under the size cap most often."
    },
    "screenshot_quality": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 80,
      "description": "Compression quality for webp and jpeg. Ignored for png."
    },
    "full_page": {
      "type": "boolean",
      "default": false,
      "description": "Capture the whole document instead of the viewport. Same price on this endpoint."
    },
    "check_links": {
      "type": "boolean",
      "default": false,
      "description": "Look up the HTTP status of up to 50 links with HEAD, without following redirects. No extra charge. Without this, links carry no status field."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "url": "https://example.com/",
  "wait_until": "networkidle",
  "wait_ms": 0,
  "include": [
    "dom",
    "a11y",
    "links",
    "forms",
    "console",
    "screenshot"
  ],
  "screenshot_format": "webp",
  "screenshot_quality": 80,
  "full_page": false,
  "check_links": 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

Alle Endpunkte dieses Hubs →