Skip to main content
POST

Overview

The Scraping & Screenshot API lets you extract content from any web page in multiple formats. Powered by Lightpanda + Chromium, it returns clean Markdown, rendered HTML, raw HTML, links, SEO metadata, and full-page screenshots — all in a single request. This endpoint accepts only POST requests with a JSON body.

Request Parameters

string
required
Your ProWebLook API key. See Authentication.
string
required
The full URL to scrape. Must start with http:// or https://.
string[]
List of output formats to return. Any combination of: markdown, html, rawHtml, links, metadata, screenshot.Defaults to ["markdown", "metadata"].
boolean
When true, strips navigation, footer, ads, and sidebars — keeping only the main article content.Defaults to true.
integer
Extra milliseconds to wait after page load before extracting content. Useful for animations or lazy-loaded content.Range: 0 – 10000. Defaults to 0.
integer
Maximum time in milliseconds for the entire scrape request.Range: 1000 – 120000. Defaults to 30000.
object
Custom HTTP headers to send to the target website (e.g., Accept-Language, Cookie).Defaults to {}.
object
Browser viewport size used for rendering.
  • width: 320 – 3840 (default 1920)
  • height: 240 – 2160 (default 1080)
array
Browser automation steps to run before extracting content. Useful for SPAs, cookie banners, infinite scroll, etc. See the Actions section below.Defaults to [].

Available Formats

screenshot uses a full Chromium engine and is slower (~5–15 s). All other formats use Lightpanda and are much faster (~1–5 s).

Actions (Browser Automation)

Use actions to interact with the page before content is extracted:

Response

boolean
true if the scrape succeeded, false otherwise.
object
Contains only the keys matching the formats you requested.
integer
Your remaining scraping_balance after this request.

Credit Cost

1 scraping credit is deducted from your scraping_balance per successful request — regardless of how many formats you request. All formats are processed in a single call.

Limits & Timeouts

When using screenshot or high timeout values, set your HTTP client timeout to at least timeout + 10000 ms to avoid cutting off the connection before the server responds.