Premium Proxies (Proxy IP)
Premium Proxies
Some websites implement strict anti-scraping measures that block standard datacenter IPs, making it difficult to extract content. Premium Proxies provide a reliable solution by using residential IPs sourced directly from Internet Service Providers (ISPs), which are much harder for sites to detect and block.
To use Premium Proxies with ZenRows®, simply add the parameter premium_proxy=true
to your request. This will ensure that a residential IP is used, significantly increasing the chances of successful scraping, especially on websites with robust security.
Geolocation
Sometimes, the content you’re trying to scrape is region-restricted, meaning it’s only available in specific countries or regions. Geolocation allows you to choose the country from which the request is made, giving you access to geo-restricted content. ZenRows supports over 190+ countries, providing broad global coverage.
To enable geolocation, add the parameter proxy_country
with the country code of your choice (e.g., proxy_country=es
for Spain) along with premium_proxy=true
. Geolocation requires Premium Proxies to be enabled, as datacenter IPs cannot be geolocated with accuracy.
By using the proxy_country parameter, ZenRows® will route your request through a residential proxy in the specified country, helping you access region-specific content seamlessly.
When to Use Geolocation
Geolocation is particularly useful in these scenarios:
- Location-restricted content - Viewing content only available in certain countries
- Regional pricing - Accessing country-specific pricing for products or services
- Local search results - Getting search engine results as they appear in specific regions
- Compliance testing - Testing how your own website appears to users in different countries
Troubleshooting
Common Issues and Solutions
Issue | Solution |
---|---|
Blocked despite Premium Proxy | 1. Try a different country 2. Add JS Render 3. Add a longer wait time 4. Use custom headers with a valid referer like Google or Bing |
Request taking too long | 1. Try to use geolocation or, if using it, a different country. 2. If using a wait_for parameter, review that the element is present in the page - even in less common cases like Not Found pages. |
Inconsistent results by region | Some sites serve different layouts by region. You may need different CSS selectors for each country. |
Content still geo-blocked | Try several different countries as some sites block entire regions, not just single countries. |