{"slug":"saylorinnovations-com-api-geo-geohash-95f72d","title":"Encode a latitude and longitude into a geohash at any precision, or decode a geo","host":"saylorinnovations.com","method":"GET","resource":"https://saylorinnovations.com/api/geo/geohash","category":"other","description":"Encode a latitude and longitude into a geohash at any precision, or decode a geohash into its centre, bounding box, cell size and eight neighbouring cells","price_listed":0.01,"price_asked":null,"state":"no_terms","state_label":"Answers HTTP 404 without x402 payment terms","checks_7d":1,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"lat":"48.8584","lon":"2.2945","precision":"8"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"},"queryParams":{"properties":{"lat":{"description":"Latitude to encode","type":"string"},"lon":{"description":"Longitude to encode","type":"string"},"precision":{"description":"optional 1-12, default 9","type":"string"}},"required":["lat","lon"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"cell_size_approx_m":{"description":"Cell size approx m","type":"object"},"geohash":{"type":"string"},"lat":{"description":"Latitude in decimal degrees","type":["number","null"]},"lon":{"description":"Longitude in decimal degrees","type":["number","null"]},"mode":{"description":"Mode used","type":"string"},"note":{"description":"Caveat or context for reading the result","type":"string"},"precision":{"type":["number","null"]},"prefixes":{"type":["array","null"]},"source":{"description":"Data source the values come from","type":"string"}},"required":["mode","geohash"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":404,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":235,"error":null}],"description_full":"Encode a latitude and longitude into a geohash at any precision, or decode a geohash into its centre, bounding box, cell size and eight neighbouring cells","last_updated":"2026-10-17T10:22:04.873Z","schemes":["exact"]}