{"openapi":"3.1.0","info":{"title":"Geohash API","version":"1.0.0","description":"Work with geohashes through a fast, fully-local API. Encode a latitude/longitude pair into a geohash at any precision (1–12), decode a geohash back to its centre coordinates with the exact bounding box and error margins, list the eight neighbouring geohash cells (north, north-east, east and so on), or get the bounding box, centre and dimensions of a cell. Geohashes turn coordinates into short sortable strings that are perfect for spatial indexing, proximity grouping and map tiling. Pure server-side computation with no third-party upstream, so responses are instant and the service is always available. Ideal for geospatial indexing and search, proximity and nearby queries, map tiles and clustering, IoT and fleet tracking, and location bucketing in databases.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/geohash-api","description":"oanor gateway"}],"tags":[{"name":"Geohash"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/bbox":{"get":{"operationId":"get_v1_bbox","tags":["Geohash"],"summary":"Bounding box of a cell","description":"","parameters":[{"name":"geohash","in":"query","required":true,"description":"A geohash string","schema":{"type":"string"},"example":"u33dc0"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/decode":{"get":{"operationId":"get_v1_decode","tags":["Geohash"],"summary":"Geohash to coordinates + bbox","description":"","parameters":[{"name":"geohash","in":"query","required":true,"description":"A geohash string","schema":{"type":"string"},"example":"u4pruydqqvj"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/encode":{"get":{"operationId":"get_v1_encode","tags":["Geohash"],"summary":"Coordinates to geohash","description":"","parameters":[{"name":"lat","in":"query","required":true,"description":"Latitude -90..90","schema":{"type":"string"},"example":"52.52"},{"name":"lon","in":"query","required":true,"description":"Longitude -180..180","schema":{"type":"string"},"example":"13.405"},{"name":"precision","in":"query","required":false,"description":"Length 1-12 (default 9)","schema":{"type":"string"},"example":"8"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/neighbors":{"get":{"operationId":"get_v1_neighbors","tags":["Geohash"],"summary":"The 8 neighbouring cells","description":"","parameters":[{"name":"geohash","in":"query","required":true,"description":"A geohash string","schema":{"type":"string"},"example":"u33dc0"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":8000,"rps_limit":3,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":200,"monthly_call_quota":150000,"rps_limit":12,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":600,"monthly_call_quota":1200000,"rps_limit":40,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":1600,"monthly_call_quota":9000000,"rps_limit":120,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/geohash-api"}