# Geo Calc – Geohash Decode

> Geo Calc – Geohash Decode is a paid API for AI agents from geo-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Decodes a geohash string into its center latitude/longitude, bounding box (N/S/E/W), and latitude/longitude error in degrees.

## Facts

- Endpoint: GET https://geo-calc.x402tookit.com/geohash-decode?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/geo-calc-geohash-decode-14236b61
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dY3UweKXwgDg3kwwumXXn

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability geo-calc-geohash-decode-14236b61
```

Example prompt: Can you decode the geohash 'u4pruydq' and tell me the center coordinates, bounding box, and how many degrees of error it has?

## When to prefer this

Choose this endpoint when you have a geohash string and need to recover its geographic coordinates, bounding box, or understand its spatial precision. Prefer this over manual lookup tables or encoding endpoints when the input is already a geohash and you need the decoded WGS84 center and error bounds. It complements the sibling geohash-encode endpoint for round-trip workflows.

## Known failure modes

- Invalid geohash characters (e.g. contains 'a', 'i', 'l', or 'o') returns valid=false with reasons
- Geohash string shorter than 1 or longer than 12 characters returns an error or valid=false
- Empty geohash parameter returns a missing-required-parameter error
- Network/payment failure returns a 402 or connectivity error

## How this service works

Decode a geohash to its center latitude/longitude, bounding box and the plus-or-minus error in degrees.

## Output

Returns the decoded center latitude and longitude, a bounding box with north/south/east/west extents, latitude and longitude error in degrees, the precision level, the original geohash, and a validity flag with optional reasons if the geohash is invalid.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "geohash"
     ],
     "properties": {
      "geohash": {
       "type": "string",
       "description": "Geohash, 1 to 12 characters of 0-9 b-z (no a, i, l, o)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "lat": {
       "type": [
        "null",
        "number"
       ]
      },
      "lon": {
       "type": [
        "null",
        "number"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "valid": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "bounds": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "east": {
         "type": [
          "null",
          "number"
         ]
        },
        "west": {
         "type": [
          "null",
          "number"
         ]
        },
        "north": {
         "type": [
          "null",
          "number"
         ]
        },
        "south": {
         "type": [
          "null",
          "number"
         ]
        }
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "geohash": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "precision": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
      
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/geo-calc-geohash-decode-14236b61/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from geo-calc.x402tookit.com](https://www.zero.xyz/host/geo-calc.x402tookit.com/llms.txt)
