Extract raw HTML content from web pages with JavaScript rendering support
Parameter | Type | Required | Description |
---|---|---|---|
apiKey | string | Yes | The ScrapeGraph API Key. |
websiteUrl | string | Yes | The URL of the webpage to scrape. |
render_heavy_js | boolean | No | Set to true for heavy JavaScript rendering. Default: false |
Example Response
request_id
: Unique identifier for tracking your requeststatus
: Current status of the scraping operationhtml
: Raw HTML content of the webpageerror
: Error message (if any occurred during scraping)render_heavy_js
parameter controls whether JavaScript should be executed on the target page:
render_heavy_js=false
for static contentstatus
field