POST
/
v1
/
web
/
scrape

If the elements parameter is not set, we default to:

"elements":[ {"selector": "*"} ]

For more information on selectors click here

Body

url
string
required

The URL of the page to retrieve the contents from.

elements
array<object>

The list of selectors you are interested in.

advance_config
object

Advance configurations

http_headers
object

This parameter allows you set header properties. e.g Authentication header

reject_request_pattern
array<string>

Intercepting requests

  • jpg
  • png
goto_options
object

This parameter allows you to specify custom page-load behavior.

wait_for
object

Wait for.

cookies
array<object>

Set cookie(s)

size_preset
string

The screen size preset to use. Supported values are:

  • QVGA
  • VGA
  • SVGA
  • HD
  • HD+
  • SXGA
  • FHD
  • 2K
  • 2K QHD
  • 5K
  • 4K UHD

See the full list of screen size presets here

is_mobile
boolean

Sets whether the meta viewport tag is taken into account.

scale
number
default: "1"

The device scale factor. The default value is 1.

width
number
default: "1920"

The width of the viewport.

height
number
default: "1080"

The height of the viewport

x-api-key
string
required

Your JigsawStack API key

Response

success
boolean

Indicates whether the call was successful.