Targeting A City

Users can now set a city on the Premium service

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 Premium and 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 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 https://app.geonode.com/api/proxy/targeting/us/residential-premium
    Replace "us" with the desired country.