This guide will walk you through Rotating Proxies of Geonode.


What are Rotating Proxies?

Rotating proxies are a powerful feature that allows you to automatically rotate your IP addresses with every request.

➡️ Follow this guide to learn Rotating Proxies in-depth: What is Rotating Proxies?


Geonode’s Rotating Proxies Range

Geonode provides rotating proxies via HTTP and SOCKS5 protocols, with the following ports:

  • HTTP: Ports 9000-9010
  • SOCKS5: Ports 11000-11010

Each time you make a request, the system will assign you a new IP address from a different location, making it difficult for websites to track or block your activity.


How to Use Rotating Proxies with Geonode API

To use rotating proxies with the Geonode API, follow these steps:

1. Configure Your Proxy Settings

In the Geonode interface, you will first need to configure your proxy settings. Select the desired location, protocol (HTTP/HTTPS or SOCKS5), and session type (Rotating). You can target specific countries, cities, or even ASN/ISP.

Here is an example of how your configuration might look:

  • IP Type: Residential
  • Gateway: France (or any location you need)
  • Port Range: HTTP ports 9000-9010 for rotating IPs

2. Generate Proxy Endpoints

Once you’ve configured your proxy settings, you will be able to generate proxy endpoints. The format of the endpoints typically looks like this:

92.204.164.15:9000:geonode_demouser-type-residential:demopass

Each endpoint will provide the IP address, port, and credentials (username and password) required for authentication.

3. Make API Calls Using Rotating Proxies

When you want to make API calls using rotating proxies, you simply use the generated proxy endpoints in your API requests. You will be assigned a new IP with every request, depending on your configuration.

Here is a sample code snippet using Python and the requests library to make an API request with rotating proxies:

 import requests

 username = "geonode_demouser-type-residential"
 password = "demopass"
 GEONODE_DNS = "92.204.164.15:9000"
 urlToGet = "http://ip-api.com"
 proxy = {"http":"http://{}:{}@{}".format(username, password, GEONODE_DNS)}
 r = requests.get(urlToGet , proxies=proxy)

 print("Response:\n{}".format(r.text))

In this example, each request will use a different IP address from the proxy pool.


Monitor Proxy Usage

Geonode also provides monitoring tools to track the usage of your proxies. You can check for errors, usage statistics, and ensure that the proxies are working as expected.

➡️ Follow this guide to learn in-depth: How to Check Proxy Usage


Verify Proxy Connection

To ensure the proxy is working, check your IP address using an online tool or follow this guide:


If you encounter any issues, refer to the troubleshooting section or Geonode support.


FAQs