Disable Stealth

When scraping the web in headless mode, BrowserAPI implements evasion techniques by default, to prevent detection. Should you need, you can disable this feature at any time.

Websites take all sorts of measures to prevent scraping. By default, BrowserAPI tries to overcome those measures by implementing evasion techniques, making it harder for the targeted website to detect us.

However, certain websites may not require such technology. In this case, you can disable stealth by passing the disable_stealth=1 parameter to your request.

Your full GET request should then be sent to the following address:

https://api.webscrapingapi.com/v1?api_key=<YOUR_API_KEY>&url=<TARGETED_URL>&disable_stealth=1

Disable Stealth Integration Examples

curl --request GET --url "https://api.webscrapingapi.com/v1?api_key=<YOUR_API_KEY>&url=https://httpbin.org/get&disable_stealth=1&render_js=1"

Important! The url parameter has to be encoded. ( i.e. &url=https%3A%2F%2Fwww.webscrapingapi.com%2F )

Response Example
<html>

<head></head>

<body>
	<pre style="word-wrap: break-word; white-space: pre-wrap;">{
  "args": {}, 
  "headers": {
    "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 
    "Accept-Encoding": "gzip, deflate, br", 
    "Accept-Language": "en-US,en;q=0.9", 
    "Cookie": "MUIDB=09BEED778B5E6BBF0F38FCE58A816AF1", 
    "Host": "httpbin.org", 
    "Sec-Fetch-Dest": "document", 
    "Sec-Fetch-Mode": "navigate", 
    "Sec-Fetch-Site": "none", 
    "Sec-Fetch-User": "?1", 
    "Upgrade-Insecure-Requests": "1", 
    "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.0 Safari/537.36", 
    "X-Amzn-Trace-Id": "Root=1-6267e32d-2cb7e3a46d827e293918711c"
  }, 
  "origin": "196.243.24.17", 
  "url": "https://httpbin.org/get"
}
</pre>
</body>

</html>

Last updated