> For the complete documentation index, see [llms.txt](https://docs.dataimpulse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dataimpulse.com/proxies/parameters/geohash.md).

# Geohash

Traffic routed through this parameter is billed at double the standard rate

`geohash` — target a specific area on the map by its geohash code (up to 5 characters).

For example, `geohash.dr5ru` means that the request will be sent from an IP in Midtown Manhattan, New York.

**Code example**

```
curl -x "http://login__geohash.dr5ru:password@gw.dataimpulse.com:823" https://api.ipify.org/
```

#### Country

To keep all IPs in one country, add its code to the geohash after a hyphen:

`geohash.dr5ru-us`

```
curl -x "http://login__geohash.dr5ru-us:password@gw.dataimpulse.com:823" https://api.ipify.org/
```

Only one country can be added after the hyphen. To use several countries, set them with the `cr` parameter instead:

`cr.ca,us;geohash.9`

If both are set, the `cr` parameter takes priority over the country after the hyphen. An unknown country code is ignored, and the geohash is still applied.

#### Minimum Geo Pool

`mingeopool` — the minimum number of IPs you need. By default, you only get IPs from inside the geohash square, and if none are available, the request returns `503 NO_RAY`.

With `mingeopool`, we expand the search step by step to the area around the square until there are at least this many IPs — if needed, up to the whole country.

`geohash.dr5ru-us;mingeopool.5000`

```
curl -x "http://login__geohash.dr5ru-us;mingeopool.5000:password@gw.dataimpulse.com:823" https://api.ipify.org/
```

The value must be a whole number. Any other value is ignored, and only IPs from inside the square are used.

#### ASN

You can combine a geohash with the `asn` parameter. A country is required for ASN targeting:

`geohash.dr5ru-us;asn.7922`

All parameters together:

`cr.ca,us;geohash.9;asn.7922,11492;mingeopool.7`

#### Geohash in a request header

You can also pass the geohash in the `sec-ch-geohash` header instead of the login. This works for HTTP and HTTPS connections, but not for SOCKS5. For HTTPS, send it as a proxy header (`--proxy-header` in curl).

```
curl -x "http://login:password@gw.dataimpulse.com:823" \
  --proxy-header "sec-ch-geohash: dr5ru-us" https://api.ipify.org/
```

* The header needs a country: add it after a hyphen (`dr5ru-us`) or set the `cr` parameter in your login. Without a country, the header is ignored.
* If the login also contains a geohash, the login takes priority.
* The header is removed before the request reaches the target website.

#### Valid geohash codes

A geohash uses the digits `0`–`9` and the letters `b`–`z`, except `i`, `l` and `o` (upper or lower case).

* If a geohash is longer than 5 characters, only the first 5 are used. All characters must still be valid.
* An invalid geohash, or one longer than 12 characters, is ignored: the request is sent without geohash targeting and is not billed at double the rate. The Dashboard checks the code for you; a code entered manually is not checked, so double-check it.

{% hint style="info" %}
A geohash replaces the state, city and ZIP code saved in your Dashboard settings. If you add the `state`, `city` or `zip` parameters to the same login, they are combined with the geohash, which usually leaves no matching IPs (`503 NO_RAY`). Don't combine them.
{% endhint %}

{% hint style="info" %}
Traffic routed through the `geohash` parameter is billed at double the standard rate. Premium Residential Pool: no additional charges.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.dataimpulse.com/proxies/parameters/geohash.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
