Premium Proxies (Residential IPs)
Websites with strict anti-scraping measures often block standard datacenter IP addresses, making data extraction challenging. Premium Proxies solve this problem by using residential IP addresses. These are real IP addresses assigned by Internet Service Providers (ISPs) to actual households, which are significantly harder for websites 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 measures.
Geolocation
Some content is region-restricted and only accessible from specific countries or regions. Geolocation allows you to choose the country from which your request originates, enabling access to geo-restricted content. ZenRows supports geolocation across 190+ countries.
Geolocation requires Premium Proxies to be enabled, as datacenter IP addresses cannot provide accurate geolocation. To use geolocation, add both premium_proxy=true
and the proxy_country
parameter with your desired country code (for example, proxy_country=es
for Spain).
When you use the proxy_country
parameter, ZenRows routes your request through a residential proxy in the specified country, enabling access to region-specific content.
When to Use Geolocation
Geolocation is particularly useful in these scenarios:
- Location-restricted content - Accessing content only available in certain countries
- Regional pricing - Viewing 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 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. |