Geohash Targeting
Target a specific area on the map by geohash. Set it up in the Dashboard or with the geohash parameter in your proxy login.
Geohash Targeting lets you get IPs from a specific area on the map, such as a single neighborhood of a city, instead of a whole country or city.
What is a geohash
A geohash is a short code for a square area on the map: the longer the code, the smaller the area. DataImpulse supports geohashes of up to 5 characters.
d
A large part of North and South America
dr
The northeastern US
dr5
New York and its surroundings
dr5ru
Midtown Manhattan, New York
A geohash uses the digits 0–9 and the letters b–z, except i, l and o. The letter a is not used.
To find the code for your area, use any geohash map: zoom in to the area you need and copy the code of its square.
How to set up Geohash Targeting in the Dashboard
Open your plan and scroll down to Proxy Configuration.
Select Geohash Targeting.
Enter the code in the Geohash field, for example
dr5ru.Optionally, set Country, ASN and Minimum Geo Pool (see below).
Click Save configuration, then Confirm and save changes.
The geohash is added to your proxy login in the Basic URL example and in the Proxy List:
Fields
Geohash
Yes
The area to target, up to 5 characters.
Country
No
The list shows only the countries inside your geohash, with the number of available IPs. Use it when your area crosses a border: a geohash square can cover more than one country, and this keeps every IP in the country you need.
ASN
No
Target a specific provider inside your area. A Country must be selected to use ASN.
Minimum Geo Pool
No
Unlocks after you enter a geohash. By default, you only get IPs from inside the square. Enter the number of IPs you need, and we'll expand the search step by step to the area around the square until there are at least that many — if needed, up to the whole country. Whole numbers only.
Example: the dr5ru square has about 1,500 IPs. If your task needs to rotate through at least 5,000 different IPs, set Minimum Geo Pool to 5000. Some of the IPs will then come from neighboring areas, for example Brooklyn (dr5qv).
Rotation interval, Anonymous filter and Exclude ASN work with Geohash Targeting the same way as with other targeting options.
How to check where your IP is
Add the Accept-X-Proxy-Headers proxy header to your request. The proxy response will include the exit IP, its country, city and geohash:
Response:
You can also check the IP with any IP geolocation service.
Errors
407 COUNTRY_REQUERIED
ASN is set without a country. Select a Country or add it to the geohash, for example geohash.dr5ru-us;asn.7922.
503 NO_RAY
No IPs are available for these settings. Use a shorter geohash, set Minimum Geo Pool, or remove other filters.
An invalid geohash doesn't return an error: it is ignored, and the request is sent without geohash targeting.
To set Geohash Targeting manually in your code, see the Geohash parameter.
Last updated