Crawlbase Screenshot
crawlbase_screenshotCapture a screenshot of a rendered web page via Crawlbase (headless browser + rotating proxies, anti-bot bypass). Returns a stored screenshot_url (JPEG, link expires after about one hour) plus crawl metadata. Requires your Crawlbase JavaScript token as _apiKey — screenshots always render in a real browser. Captures the full page by default; pass mode:"viewport" with width/height to constrain. Example: crawlbase_screenshot({ url: "https://example.com", _apiKey: "your-js-token" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The absolute URL of the page to screenshot, e.g. "https://example.com" | |
| mode | No | Capture mode: full rendered page by default; "viewport" captures only the visible area (pair with width/height). | |
| width | No | Viewport width in pixels (only applies with mode:"viewport"). | |
| height | No | Viewport height in pixels (only applies with mode:"viewport"). | |
| scroll | No | Scroll the page before capture to trigger lazy-loaded content. | |
| _apiKey | Yes | Your Crawlbase JavaScript token (screenshots require browser rendering). Free tier at https://crawlbase.com | |
| country | No | Two-letter ISO country code to route through, e.g. "US", "GB". | |
| page_wait | No | Milliseconds to wait after page load before capturing — gives animations/JS time to settle. |