# Scrape Do

Scrape.do is a web scraping API offering rotating residential, data-center, and mobile proxies with headless browser support and session management to bypass anti-bot protections (e.g., Cloudflare, Akamai) and extract data at scale in formats like JSON and HTML.

- **Category:** ai web scraping
- **Auth:** API_KEY
- **Tools:** 19
- **Triggers:** 0
- **Slug:** `SCRAPE_DO`
- **Version:** 20260211_00

## Tools

### Get Account Information

**Slug:** `SCRAPE_DO_GET_ACCOUNT_INFO`

Retrieves account information and usage statistics from Scrape.do. This action makes a GET request to the Scrape.do info endpoint to fetch: - Subscription status - Concurrent request limits and usage - Monthly request limits and remaining requests - Real-time usage statistics Rate limit: Maximum 10 requests per minute

### Scrape webpage using scrape.do

**Slug:** `SCRAPE_DO_GET_PAGE`

A tool to scrape web pages using scrape.do's API service. It makes a basic GET request to fetch the content of a target webpage while handling anti-bot protections and proxy rotation automatically.

### Get rendered page content

**Slug:** `SCRAPE_DO_GET_RENDER_PAGE`

This tool allows you to scrape web pages with JavaScript rendering enabled. It's particularly useful for scraping dynamic websites where content is loaded through JavaScript. The tool will wait for the JavaScript to execute and return the fully rendered HTML content.

### Use Scrape.do Proxy Mode

**Slug:** `SCRAPE_DO_PROXY_MODE`

This tool implements the Proxy Mode functionality of scrape.do, which allows routing requests through their proxy server. It provides an alternative way to access web scraping capabilities by handling complex JavaScript-rendered pages, geolocation-based routing, device simulation, and built-in anti-bot and retry mechanisms.

### Block specific URLs during scraping

**Slug:** `SCRAPE_DO_SET_BLOCK_URLS`

This tool allows users to block specific URLs during the scraping process. It's particularly useful for blocking unwanted resources like analytics scripts, advertisements, or any other URLs that might interfere with the scraping process or slow it down. It provides granular control by allowing users to specify URL patterns to block, thereby improving scraping performance and maintaining privacy.

### Set Cookies for Scraping

**Slug:** `SCRAPE_DO_SET_COOKIES`

This tool allows users to set specific cookies for their scraping requests to a target website. It is useful for maintaining session states or authentication through cookies.

### Set custom headers for scrape.do request

**Slug:** `SCRAPE_DO_SET_CUSTOM_HEADERS`

A tool to send custom headers with scrape.do requests. This allows simulating specific browser behaviors or adding authentication headers by controlling all headers sent to the target website.

### Set Custom Wait Time

**Slug:** `SCRAPE_DO_SET_CUSTOM_WAIT`

This tool sets the custom wait time in milliseconds after page load when using the render option in Scrape.do. It is particularly useful for dealing with dynamic content to ensure that it is fully loaded before scraping, especially on JavaScript-heavy websites or single-page applications. The action allows fine-tuned control over the rendering wait time and must be used with render=true.

### Set Device Type for Scraping

**Slug:** `SCRAPE_DO_SET_DEVICE_TYPE`

This tool allows users to set the device type (desktop, mobile, or tablet) for making scraping requests. It is used to emulate different devices, which helps in testing responsive designs or fetching device-specific content.

### Set Disable Redirection

**Slug:** `SCRAPE_DO_SET_DISABLE_REDIRECTION`

Controls the automatic redirection behavior of Scrape.do requests. When enabled (disable_redirection=True), prevents the automatic following of redirects during web scraping operations. This allows: - Inspection of the redirect chain - Capturing intermediate redirect responses - Manual control of redirection flow - Analysis of HTTP status codes of redirect responses The redirect URL will be available in the Scrape.do-Target-Redirected-Location response header.

### Set Pure Cookies Mode

**Slug:** `SCRAPE_DO_SET_PURE_COOKIES`

This tool enables getting the original Set-Cookie headers from target websites instead of the processed Scrape.do-Cookies format. When enabled, this parameter returns the original Set-Cookie headers from the target website rather than using the default Scrape.do-Cookies header format.

### Set Regional Geolocation for Scraping

**Slug:** `SCRAPE_DO_SET_REGIONAL_GEO_CODE`

This tool allows users to set a broader geographical targeting by specifying a region code instead of a specific country code. This is useful when you want to scrape content from an entire region rather than a specific country. Note that this feature requires super mode to be enabled and is only available for Business Plan or higher subscriptions.

### Set Retry Timeout

**Slug:** `SCRAPE_DO_SET_RETRY_TIMEOUT`

This tool allows users to set the maximum wait time (in milliseconds) before retrying a failed request in Scrape.do. It requires a parameter 'retry_timeout' (integer) which specifies the maximum time to wait before retrying, with a default of 15000 ms. It is designed to improve the reliability of web scraping operations, especially when dealing with unstable or slow-responding websites.

### Set Screenshot Capture for Scraping

**Slug:** `SCRAPE_DO_SET_SCREENSHOT`

This tool enables the screenshot functionality for the Scrape.do API, allowing users to capture a visual representation of the scraped webpage. When enabled, the API will return a screenshot of the rendered page along with the regular response. Features: - Basic screenshot capture - Full page screenshot capture - Capture specific area using CSS selector

### Set Session ID for Sticky Sessions

**Slug:** `SCRAPE_DO_SET_SESSION_ID`

This tool implements the session ID functionality for Scrape.do to maintain a sticky session with the same proxy IP across multiple requests. It achieves this by adding a sessionId parameter to the query parameters of any scraping request, which is crucial for ensuring session consistency when scraping websites with stringent session requirements.

### Set Scrape.do Super Mode

**Slug:** `SCRAPE_DO_SET_SUPER_MODE`

The SCRAPE_DO_SET_SUPER_MODE tool enables enhanced scraping by using residential and mobile proxies, bypassing blocks and restrictions associated with datacenter IPs. When the 'super' parameter is set to true, it activates a mode that leverages a network of residential IP addresses, which is particularly useful to bypass strict anti-bot measures and for accessing websites that block datacenter IPs.

### Set Wait For Selector

**Slug:** `SCRAPE_DO_SET_WAIT_FOR_SELECTOR`

This action allows setting a CSS selector to wait for before considering the page load complete. It is particularly useful when scraping JavaScript-heavy pages to ensure that certain elements have loaded dynamically.

### Set Wait Until Condition

**Slug:** `SCRAPE_DO_SET_WAIT_UNTIL`

This tool sets the waitUntil parameter for the scrape.do API, defining when the rendering should consider the page loaded during JavaScript execution. It is particularly useful for handling dynamic websites by specifying conditions such as 'domcontentloaded', 'networkidle0', or 'networkidle2'.

### Monitor WebSocket requests using scrape.do

**Slug:** `SCRAPE_DO_SHOW_WEBSOCKET_REQUESTS`

This tool provides the ability to view websocket requests made by a webpage. It requires using render=true and returnJSON=true parameters along with showWebsocketRequests=true to enable logging of websocket requests.
