Overview
Control the geographic location of your proxy IPs by adding targeting parameters to your connection string. Target by country, state (US only), or city for precise location control.Targeting Levels
Country
Access IPs from any country worldwide
State
Target US states (US only)
City
Target specific cities
Country Targeting
Target a specific country by adding the country code to your connection string.Format
Country Codes
Use ISO 3166 alpha-2 country codes:US- United StatesGB- United KingdomDE- GermanyFR- FranceJP- JapanALL- Randomly select any country
Example
State Targeting (US Only)
For more precise targeting within the United States, specify a state code.Format
Example
State targeting is only available when the country is set to
US. Use standard two-letter US state codes (e.g., CA, NY, TX).City Targeting
Target a specific city for the most precise geolocation control.Format
Example
Combining with Other Parameters
You can combine geotargeting with session control for powerful targeting:Getting Available Locations
To retrieve a list of all supported countries, states, and cities:Using Admin API
Geo-Sessions (Advanced)
For applications requiring consistent geographic proximity across rotations, use geo-sessions.Key Features
- Proximity guarantee: New IPs stay within 15km of original location
- ASN consistency: Rotations use the same ISP
- High durability: Uses most stable residential IPs
Format
Requirements
- Session ID must be 16-32 alphanumeric characters (minimum 16)
- Request timeout of at least 40 seconds recommended
- Currently available in the US only
Example
Geo-sessions vs Regular Sessions: Geo-sessions provide stricter location consistency (15km radius) and ASN matching, while regular sessions simply maintain the same IP. Use geo-sessions when precise location consistency is critical.
Configuration via Dashboard
For IP allowlist authentication, configure default geotargeting through:- Nimble dashboard pipeline settings
- Admin API
/account/pipelinesendpoint
Response Codes
| Code | Meaning |
|---|---|
| 200 | Success - IP found for target location |
| 525 | No IP available for specified location |
View All Response Codes
See complete response code reference

