> 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/dataimpulse-documentation-es/proxies/parametros/geohash.md).

# Geohash

El tráfico encaminado a través de este parámetro se factura al doble de la tarifa estándar

`geohash` — dirige un área específica en el mapa por su código geohash (hasta 5 caracteres).

Por ejemplo, `geohash.dr5ru` significa que la solicitud se enviará desde una IP en Midtown Manhattan, Nueva York.

**Ejemplo de código**

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

#### País

Para mantener todas las IPs en un solo país, añade su código al geohash después de un guion:

`geohash.dr5ru-us`

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

Solo se puede añadir un país después del guion. Para usar varios países, configúralos con el `cr` parámetro en su lugar:

`cr.ca,us;geohash.9`

Si ambos están configurados, el `cr` parámetro tiene prioridad sobre el país después del guion. Se ignora un código de país desconocido y el geohash sigue aplicándose.

#### Mínimo de Geo Pool

`mingeopool` — el número mínimo de IPs que necesitas. De forma predeterminada, solo obtienes IPs del interior del cuadrado geohash y, si no hay ninguna disponible, la solicitud devuelve `503 NO_RAY`.

Con `mingeopool`, ampliamos la búsqueda paso a paso al área alrededor del cuadrado hasta que haya al menos esta cantidad de IPs — si es necesario, hasta todo el país.

`geohash.dr5ru-us;mingeopool.5000`

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

El valor debe ser un número entero. Cualquier otro valor se ignora, y solo se usan IPs del interior del cuadrado.

#### ASN

Puedes combinar un geohash con el `asn` parámetro. Se requiere un país para la segmentación por ASN:

`geohash.dr5ru-us;asn.7922`

Todos los parámetros juntos:

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

#### Geohash en un encabezado de solicitud

También puedes pasar el geohash en el `sec-ch-geohash` encabezado en lugar del login. Esto funciona para conexiones HTTP y HTTPS, pero no para SOCKS5. Para HTTPS, envíalo como un encabezado de proxy (`--proxy-header` en curl).

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

* El encabezado necesita un país: añádelo después de un guion (`dr5ru-us`) o configura el `cr` parámetro en tu login. Sin un país, el encabezado se ignora.
* Si el login también contiene un geohash, el login tiene prioridad.
* El encabezado se elimina antes de que la solicitud llegue al sitio web de destino.

#### Códigos geohash válidos

Un geohash usa los dígitos `0`–`9` y las letras `b`–`z`, excepto `i`, `l` y `o` (en mayúsculas o minúsculas).

* Si un geohash tiene más de 5 caracteres, solo se usan los primeros 5. Todos los caracteres deben seguir siendo válidos.
* Un geohash inválido, o uno de más de 12 caracteres, se ignora: la solicitud se envía sin segmentación por geohash y no se cobra al doble de la tarifa. El Dashboard comprueba el código por ti; un código introducido manualmente no se comprueba, así que revísalo bien.

{% hint style="info" %}
Un geohash reemplaza el state, city y ZIP code guardados en la configuración de tu Dashboard. Si añades los `state`, `city` o `zip` parámetros al mismo login, se combinan con el geohash, lo que normalmente no deja IPs coincidentes (`503 NO_RAY`). No los combines.
{% endhint %}

{% hint style="info" %}
El tráfico enrutado a través del `geohash` parámetro se cobra al doble de la tarifa estándar. Premium Residential Pool: sin cargos adicionales.
{% 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/dataimpulse-documentation-es/proxies/parametros/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.
