Targeting A City

Users can now set a city on the Private and Premium services

Purpose

For users who want to set up their geolocation in a specific city 🌎. With this option you can narrow down your targeting, and zero in on the country and the city of your choice.

How to set the city for a session?

This option is only available for the Private and Premium services. To set your desired city, this can only be done via API by adding the parameter '-country-US-city-NewYork (city to your desire)' when authenticating.

Example: username-country-US-city-NewYork

All spaces in the name must be removed for it to match 👌

Example (run this code in your terminal):
curl -x rotating-residential.geonode.com:10000 -U username-country-US-city-NewYork:password http://ip-api.com/json

Notes

  • Need an activated Premium or Private plan

  • Can only set city with curl command in the example above 👆

  • You can generate a list of cities in your terminal by running the command: 'curl -x rotating-residential.geonode.com:10000 -U username:password http://api.geonode.com/countries/us/cities