Here is a list of different parameters
you can use with ScrapeAutomate. This overview will help you get started with ScrapeAutomate while ensuring secure usage of your credentials.
Parameter | Type | Description | Required | Default |
---|---|---|---|---|
api_key | string | Your unique API key to authenticate every request. | true | Get your API key |
url | string | The URL of the web page you want to scrape. | true | |
render | boolean | Whether to render JavaScript while scraping. | false | false |
window_width | number | The width of the browser window. | false | 1920 |
window_height | number | The height of the browser window. | false | 1080 |
markdown | boolean | Returns the scraped data in markdown. | false | false |
screenshot | boolean | Returns screenshot of the web page. | false | false |
webhook_url | string | Used for setting a webhook where the response will be sent to. | false | |
instructions | object[] | This Allows you to interact with the web page. | false | |
proxy_type | string | The type of proxy to use while scraping for better anonymity, performance and speed | false | |
proxy_country | string | The location of the proxy server. | false | |
workflow_id | string | Reuse configurations from a saved workflow. | false | |
block_resources | boolean | Blocks specific web resources (stylesheets, images, media, etc.) during automation using block_resources. Separate multiple resources with ”,” . Useful for faster scraping and preventing unnecessary loading. | false | false |
block_ads | boolean | Whether to block ads while scraping. | false | false |
block_chat_widgets | boolean | Automatically block chat widgets from appearing in the ui.scraping. | false | false |
block_cookie_banners | boolean | Automatically block cookie banners from appearing in the ui.scraping. | false | false |
api_key
Encoded URL
of the web page you want to scrape.encoded-URL
to use ScrapeAutomate API. Encoding ensures that the URL is processed correctly by the API and that special characters (like spaces, question marks, and ampersands) do not cause issues.
You can use websites like urlencoder to easily encode your URLs.
url
as shown below:
url
parameter and api_key
are both required. If any of these
parameters are missing, your request won’t be processed.true
enables features like taking screenshots, blocking specific resources, form-filling, and clicking elements.
false
. Note that launching a
browser consumes more ten times more credits.