This is a reminder that this page is for you if you already purchased Geonode’s services and want to know how to use them. If you want a guide on how to purchase our services, you can check it out here.
How to do Geo-targeting?
There are two ways geo-targeting can be applied.
By using dashboard
- First, make sure you are logged in to your Geonode account. If you don't have an account, you can sign up to create a new one.
- From the side navigation bar, click on the "Click on Unlimited Proxies or Pay as you go Residential, depending on which service you bought." link.
- Scroll down until you see the "Proxy Configuration" section.
- In this section, you can choose the session type (either Sticky or Rotating) and the protocol (either HTTP or SOCKS5) that you want to use.
- Next, select the geo-location that you want to target and the port you want this geo-location to be assigned. Then, click the "+ Add" button to add this configuration to your account.
By making cURL request
Request
GET
curl -x <username>-country-<country-code>:<password>@<service-name>.geonode.com:<port> http://ip-api.com/json
Parameters
- Name
service-name
- Type
- pay-as-you-go-residential
- Description
The service name. Currently the only option is pay-as-you-go-residential.
- Name
country-code
- Type
- ISO 3166-1 alpha-2
- Description
The target countries code.
- Name
port
- Type
- integer
- Description
The target port number. 9***'s for rotating and 10***'s for sticky proxies.
Authentication (Basic Auth)
- Name
username
- Type
- string
- Description
(Required) Your API username.
- Name
password
- Type
- string
- Description
(Required) Your API password.
Expected Response
{
"status": "success",
"country": "Italy",
"countryCode": "IT",
"region": "82",
"regionName": "Sicily",
"city": "Palermo",
"zip": "90127",
"lat": 38.1302,
"lon": 13.329,
"timezone": "Europe/Rome",
"isp": "Vodafone",
"org": "",
"as": "AS30722 Vodafone Italia S.p.A.",
"query": "5.91.229.21"
}