Api Endpoint

geo-geohash

Encode a lat/lon point into a geohash string (precision 1-12 characters).

Open interactive test console

Offering

Provider
x402.agentindex.world
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Location And Travel
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402.agentindex.world/geo/geohash
MIME type
application/json
First seen
2026-10-16T01:50:38.788Z
Last seen
Tags
geospatial, geohash, encode, latitude longitude, gps, spatial index

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d"
  }
]

Observed health

Status
Unreachable
Latest latency
5002 ms
Average latency
2772 ms
HTTP status
Not provided
Last checked
Reachability
85.7% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "properties": {
        "lat": {
          "maximum": 90,
          "minimum": -90,
          "title": "Lat",
          "type": "number"
        },
        "lon": {
          "maximum": 180,
          "minimum": -180,
          "title": "Lon",
          "type": "number"
        },
        "precision": {
          "default": 9,
          "maximum": 12,
          "minimum": 1,
          "title": "Precision",
          "type": "integer"
        }
      },
      "required": [
        "lat",
        "lon"
      ],
      "title": "GeohashInput",
      "type": "object"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "lat": {
              "maximum": 90,
              "minimum": -90,
              "title": "Lat",
              "type": "number"
            },
            "lon": {
              "maximum": 180,
              "minimum": -180,
              "title": "Lon",
              "type": "number"
            },
            "precision": {
              "default": 9,
              "maximum": 12,
              "minimum": 1,
              "title": "Precision",
              "type": "integer"
            }
          },
          "required": [
            "lat",
            "lon"
          ],
          "title": "GeohashInput",
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "geohash": {
              "title": "Geohash",
              "type": "string"
            }
          },
          "required": [
            "geohash"
          ],
          "title": "GeohashOutput",
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}