Web Unblocker
Bypass anti-scraping measures and reach geo-restricted content with Web Unblocker, combining browser rendering, proxy routing, and smart retries.
MrScraper's Web Unblocker is a powerful feature that helps you bypass anti-scraping measures, render JavaScript-heavy websites, and access geo-restricted content. It combines selectable non-browser or browser loading, proxy routing, optional real-device Super Mode, and intelligent retry mechanisms for reliable data extraction from protected websites.
Key Features
Browser Rendering
Execute JavaScript and render dynamic content just like a real browser.
Use Cases:
- Single Page Applications (SPAs) built with React, Vue, or Angular
- Websites that load content via AJAX
- Pages with lazy-loaded images or infinite scroll
- Dynamic pricing or availability information
- Client-side rendered content
Super Mode
Route requests through real devices when a website needs a different routing path. Super Mode is independent of browser rendering: it can use either the non-browser loader or browser loading with JavaScript.
Use Cases:
- Websites that continue blocking standard routing
- Pages protected by advanced fingerprinting or device checks
- Difficult targets that return different content through real-device routing
Independent Loading Paths
Browser rendering and Super Mode are two independent switches. Every combination is supported, and the same URL can return different results in each:
| Browser rendering | Super Mode | Loading path |
|---|---|---|
| Off | Off | Standard routing with the non-browser loader. |
| On | Off | Standard routing with browser loading and JavaScript. |
| Off | On | Real-device routing with the non-browser loader. |
| On | On | Real-device routing with browser loading and JavaScript. |
Start with both off and change one switch at a time after inspecting the response. Browser rendering is not a strictly stronger option. Some websites fail, become blocked, or return worse content with browser rendering enabled but load correctly through the non-browser path. If that happens, retry with browser rendering off while preserving the current Super Mode value. Stop after a usable response unless you need to compare loading paths.
Geo-Targeting with Proxies
Access geo-restricted content by routing requests through residential proxies in specific countries.
Use Cases:
- Scraping region-specific pricing
- Accessing country-locked content
- Testing localized versions of websites
- Bypassing IP-based restrictions
- Market research across different regions
Supported Regions
View the full list of supported countries on the Country Codes page.
Smart Waiting
Wait for specific elements to appear in the DOM before extracting content.
Use Cases:
- Waiting for lazy-loaded product information
- Ensuring dynamic filters have applied
- Waiting for search results to populate
- Synchronizing with page animations
- Handling delayed content rendering
Homepage Navigation
Navigate through a website's home page before visiting the target URL to better simulate normal user behavior.
Use Cases:
- Websites that expect visitors to arrive from the homepage
- Reducing bot detection on protected websites
- Improving access to sites with navigation-based validation
Intelligent Retry Control
Automatically retry failed scrapes while limiting retry costs with configurable retry settings.
Use Cases:
- Recovering from temporary network failures
- Handling intermittent anti-bot challenges
- Preventing excessive token usage with retry limits
- Balancing reliability and scraping cost
Resource Blocking
Block non-essential resources such as images, fonts, and media to improve scraping speed and reduce bandwidth usage.
Use Cases:
- Faster page rendering
- Lower bandwidth consumption
- Scraping text-heavy pages
- Large-scale scraping jobs
Configurable Timeout
Control how long to wait for page loading and rendering.
Use Cases:
- Slow-loading websites
- Complex pages with many resources
- Sites with large media files
- Pages with extensive JavaScript execution
- Unreliable network conditions
Recommended Settings
- Simple pages: 30 seconds (default)
- Standard e-commerce: 60 seconds
- Heavy SPAs: 90-120 seconds
- Very complex pages: Up to 180 seconds
How It Works
The Web Unblocker follows this process:
Your request is routed through residential proxies in the specified region (if geo-targeting is enabled)
If Super Mode is enabled, the request is routed through a real device for stronger anti-bot protection
The selected loader runs: a browser when browser rendering is enabled, or the non-browser loader when it is disabled
When browser rendering is enabled, the browser navigates to the target URL and begins rendering
When browser rendering is enabled, page JavaScript executes, including AJAX calls and dynamic content loading
If specified, the scraper waits for the target CSS selector to appear in the DOM
The process completes when the selector appears or the timeout is reached
The loaded HTML is extracted and returned
Loader resources are released
Example Request
Example request for scraping using the web unblocker endpoint:
curl -X GET "https://api.mrscraper.com/?url=https%3A%2F%2Fwww.amazon.com%2Fstores%2Fluxurystores%2Fpage%2FB6BC6264-7221-424B-9191-DAE2BCF963A2&token=atk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&timeout=120&geoCode=pt&browserRendering=true&super=true&waitForSelector=div%5Bdata-testid%3D%22grid-item-info%22%5D&homePage=false&blockResources=true&maxRetries=3&tokenCap=10" \
-H "x-api-token: MRSCRAPER_API_KEY"Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
url | Yes | - | Target website URL to scrape. |
token | Yes | - | Your API authentication token. |
browserRendering | No | false | Render the page in a headless browser. |
super | No | false | Route the request through a real device for stronger anti-bot protection. |
geoCode | No | - | ISO 3166-1 alpha-2 country code used for proxy routing. |
timeout | No | 30 | Maximum number of seconds to wait for page loading. |
waitForSelector | No | - | CSS selector to wait for before returning the page content. Requires browserRendering=true. |
homePage | No | false | Visit the website's home page before navigating to the target URL. |
blockResources | No | - | Block non-essential resources to improve performance. Supported only by compatible proxies. |
maxRetries | No | 3 | Maximum number of retry attempts if the scrape fails. |
tokenCap | No | - | Maximum number of tokens that can be consumed across retry attempts. If the first scrape exceeds the cap, it still runs once but no retries are performed. |
Parameter Dependencies
waitForSelectoronly works whenbrowserRendering=true.- Start without
superand enable it when a target requires stronger anti-bot protection. blockResourcesis only supported by proxies that support resource blocking.tokenCaponly affects retry attempts. The initial scrape always runs, even if it exceeds the configured token cap.