---
title: "Encode Geohash"
method: GET
path: "/geo/geohash/encode"
tags: ["Geo"]
---

# Encode Geohash

`GET /geo/geohash/encode`

## Request

- Base URL: `https://abundanceapis.com`
- URL: `https://abundanceapis.com/geo/geohash/encode`
- Auth: none declared

Encode latitude and longitude to a geohash.

## Query parameters

- `lat` string, required
- `lng` string, required
- `precision` integer

## Other responses

- `400`: Bad request

---

[API](https://skmtc.dev/abundanceapis/apis/web-toolbox.md) · [All operations](https://skmtc.dev/abundanceapis/apis/web-toolbox/llms.txt) · [OpenAPI document](https://skmtc.dev/abundanceapis/apis/web-toolbox/revisions/ada2893fef43?raw)
