ToolAssay

Capture a PNG screenshot of a single CSS-selected element on an http(s) URL; ret

Capture a PNG screenshot of a single CSS-selected element on an http(s) URL; returns a JSON envelope with the PNG base64-encoded under image_base64, plus selector, final_url, title, viewport, and size.

Answeringour last check, 2026-09-24
1 of 1checks answered this week
1536 msmedian answer time
$0.002listed price per call
$0.002price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://screenshot-api-production-fe7e.up.railway.app/capture/element

CategoryEverything else
Provider hostscreenshot-api-production-fe7e.up.railway.app
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days2 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-24 valid payment request 402$0.002 1536 ms

Example input (from the provider)

{
  "body": {
    "height": 800,
    "selector": "#main",
    "url": "https://example.com",
    "wait_until": "networkidle",
    "width": 1280
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "height": {
              "description": "Viewport height in pixels (240-3840). Defaults to 800.",
              "type": "integer"
            },
            "selector": {
              "description": "CSS selector of the single element to capture, e.g. '#main' or '.hero'.",
              "type": "string"
            },
            "url": {
              "description": "The http(s) URL to capture, e.g. 'https://example.com'. Internal/loopback hosts are rejected.",
              "type": "string"
            },
            "wait_until": {
              "description": "Playwright load state to wait for before capture: 'load', 'domcontentloaded', 'networkidle', or 'commit'. Defaults to 'networkidle'.",
              "type": "string"
            },
            "width": {
              "description": "Viewport width in pixels (320-3840). Defaults to 1280.",
              "type": "integer"
            }
          },
          "required": [
            "url",
            "selector"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "final_url": {
              "type": "string"
            },
            "format": {
              "type": "string"
            },
            "image_base64": {
              "description": "Base64-encoded PNG bytes of the selected element.",
              "type": "string"
            },
            "selector": {
              "type": "string"
            },
            "size_bytes": {
              "type": "integer"
            },
            "title": {
              "type": "string"
            },
            "url": {
              "type": "string"
            },
            "viewport": {
              "description": "The clamped viewport used, as {width, height} in pixels.",
              "type": "object"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON